{{ __('Emb Document Edit') }}

@include('bill.header')
@csrf

Documents

   UPLOAD BILL DOCUMENTS ( PDF / Exel / Zip )
@if (!empty($documents)) @foreach ($documents as $doc_row) @endforeach
Sr. No. Name Action
{{ $loop->iteration }} {{ $doc_row->DocumentName }}   
@endif
   UPLOAD BILL IMAGES
@if (!empty($images)) @foreach ($images as $img_row) @endforeach
Sr. No. Image Direction Name Action
{{ $loop->iteration }} {{ $img_row->ImageDirection }} {{ $img_row->DocumentName }}   
@endif

Project Work Activities



{{-- Before Work Section --}}
    Before Work
@if(!empty($before_work)) @foreach($before_work as $key => $doc_row) @endforeach
Sr. No. Name Action
{{ $key + 1 }} {{ $doc_row['type_of_image'] }} @if($doc_row['upload_type'] == 'before_work')    @else -- @endif
@else @for ($i = 1; $i <= 4; $i++) @endfor
Sr. No. Name Action
{{ $i }} {{ ['North', 'South', 'East', 'West'][$i-1] }} Image not uploaded
@endif
@php $before =""; if(!empty($emp_image_check_by)){ $before = json_decode($emp_image_check_by->before_work); } @endphp acknowledgement) ? 'checked' : '' }}>

Remark @if(!empty($role_activity_document)) * @endif


{{-- Other Sections (During Work) will follow the same structure --}}
    During Work
@if (!empty($during_work)) @foreach ($during_work as $key => $doc_row) @endforeach
Sr. No. Name Action
{{ $key + 1 }} {{ $doc_row['type_of_image'] }} @if ($doc_row['upload_type'] == 'during_work')    @else -- @endif
@else
Sr. No. Name Action
1 North Image not uploaded
2 South Image not uploaded
3 East Image not uploaded
4 West Image not uploaded
@endif
@php $during =""; if(!empty($emp_image_check_by)){ $during = json_decode($emp_image_check_by->during_work); } @endphp acknowledgement)) checked @endif>

Remark @if(!empty($role_activity_document)) * @endif


{{-- Other Sections (After Work) will follow the same structure --}}
    After Work
@if (!empty($after_work)) @foreach ($after_work as $key => $doc_row) @endforeach
Sr. No. Name Action
{{ $key + 1 }} {{ $doc_row['type_of_image'] }} @if ($doc_row['upload_type'] == 'after_work')    @else -- @endif
@else
Sr. No. Name Action
1 North Image not uploaded
2 South Image not uploaded
3 East Image not uploaded
4 West Image not uploaded
@endif
@php $after =''; if(!empty($emp_image_check_by)){ $after = json_decode($emp_image_check_by->after_work); } @endphp acknowledgement) ? 'checked' : '' }}>

Remark @if (!empty($role_activity_document)) * @endif