@include('layouts.header')
Broadcast Files
Add File
Title
Broadcast Type
Description
Action
@foreach($currentUserCompanyBroadcastFiles as $currentUserCompanyBroadcastFile)
{{@$currentUserCompanyBroadcastFile->title}}
{{@$currentUserCompanyBroadcastFile->broadcastType->type}}
{{@$currentUserCompanyBroadcastFile->description}}
Edit
Delete
File View
@if(@$currentUserCompanyBroadcastFile->attachment_path)
@else
No file Found
@endif
@endforeach
@csrf
×
Add File
Title
*
@error('title')
{{ $message }}
@enderror
Broadcast Type
*
Select Type
@foreach($broadcastTypes as $broadcastType)
id)?'selected':''}}>{{$broadcastType->type}}
@endforeach
@error('broadcastTypeId')
{{ $message }}
@enderror
Description
*
{{old('description')}}
@error('description')
{{ $message }}
@enderror
Upload File
*
@if($errors->has('attachment'))
{{ $errors->first('attachment') }}
@endif
@csrf
Edit File
×
Title
*
@error('title')
{{ $message }}
@enderror
Broadcast Type
*
Select Type
@foreach($broadcastTypes as $broadcastType) @php($broadcastTypeId = old('broadcastTypeId')?old('broadcastTypeId'):@$editedBroadcastFile->broadcast_type_id)
id)?'selected':''}}>{{$broadcastType->type}}
@endforeach
@error('broadcastTypeId')
{{ $message }}
@enderror
Description
*
{{old('description')?old('description'):@$editedBroadcastFile->description}}
@error('description')
{{ $message }}
@enderror
Upload File
*
@if($errors->has('attachment'))
{{ $errors->first('attachment') }}
@endif
@if(@$editedBroadcastFile->attachment_path)
View Uploaded File
@endif
Delete Broadcast File
Are you sure want to delete?
Delete
Cancel
@include('layouts.footer')