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

@include('bill.header')

EMB BILL

{{ $row->ProjectName }}
{{ $bill['BillNo'] }}
{{ $contractor->UserFirm ?? '' }}, {{ $contractor->UserFirmAddress ?? '' }}
@csrf
Download Excel file and upload your EMB using downloaded Excel-Sheet
@if (!empty($emb_items)) @php $BillType = $bill['BillType']; @endphp @foreach ($emb_items as $bill) @php $tendQuantity = DB::table('tbl_projects_schedule_b') ->where('DSRItemCodeRef', $bill->DSRItemCodeRef) ->where('ProjectIDRef', $bill->ProjectIDRef) ->first(); $prevQuantity = DB::table('tbl_emb_bills') ->select(DB::raw('sum(ItemQuanitity) as PrevQuantity')) ->where('DSRItemCodeRef', $bill->DSRItemCodeRef) ->where('ProjectIDRef', $bill->ProjectIDRef) ->where('BillNo', '<', $bill->BillNo) ->first(); $prevQuantity->PrevQuantity = $prevQuantity->PrevQuantity ?? 0.00; @endphp @php $bills = DB::table('tbl_emb_bills_billing_entry')->where('EmbBillIDRef', $bill->EmbBillID)->get(); $non_bills = DB::table('tbl_emb_bills_non_billing_entry')->where('EmbBillIDRef', $bill->EmbBillID)->get(); @endphp @if (!empty($bills[0])) @foreach ($bills as $r) @endforeach @else @endif @if (!empty($non_bills[0])) @foreach ($non_bills as $r) @endforeach @else @endif @endforeach
No Date Particular Number Length Breadth Depth Item Qty Quantity Unit
{{ $bill->EmbBillSequenceNo }} {{ $bill->DSRItemCodeRef }}: {{ $bill->ItemOfWork }} {{ $bill->ItemQuanitity }} {{ $bill->ItemUnit }}
@if ($bill->IsTaxable == "yes" && $BillType == "RA Bill")
@endif
@endif

@php $start_date = date('d-m-Y', strtotime($row->ProjectWorkStartDate)); $end_date = date('d-m-Y', strtotime($row->ProjectWorkEndDate)); @endphp