{{-- @php $copies = ['Customer Copy', 'Office Copy','Bank Copy',] @endphp --}} @php $copies = ['Delivery Chalan'] @endphp
{{-- Close Button --}} {{-- Print Button --}}
@foreach ($copies as $index => $copy) {{-- Logo aligned to the right --}}
{{-- --}} @php $area = DB::table('gnr_area')->whereJsonContains('branchId', json_encode($data->branch_id))->first(); $areaId = optional($area)->id ?? 'N/A'; $areaName = optional($area)->name ?? 'N/A'; $zone = DB::table('gnr_zone')->whereJsonContains('areaId', json_encode($areaId))->first(); $zoneName = optional($zone)->name ?? 'N/A'; @endphp @if($data->inv_employee) @else @endif
{{ $company->name }}
{{ $company->address }}
Cell:{{ $company->phone }}
{{ $copy }}
Delivery Date:
Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 252

Warning: Attempt to read property "use_date" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 252

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 252
January 1, 1970

Warning: Undefined variable $data in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 253

Warning: Attempt to read property "use_date" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 253

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/inventory_me/transaction/use/viewUseDetails.blade.php on line 253
01-01-1970
Branch Name: {{($data->inv_branch) ? $data->inv_branch->name : 'N/A'}}
Area Name: {{ $areaName }}
Zone Name: {{ $zoneName }}
Branch Address: {{($data->inv_branch) ? $data->inv_branch->address : 'N/A'}}
Cell Number: {{($data->inv_branch) ? $data->inv_branch->phone : 'N/A'}}
Delivery To: {{$data->inv_employee->emp_name_english}}
Department: {{$data->inv_department->name}}
Room: {{$data->inv_room->name}}

{{--
@if($data->delivery_type == 'person') Employee Name @elseif($data->delivery_type == 'courier_service') Courier Service Name @else Vehicle Name @endif: @if($data->delivery_type == 'person') {{ $data->inv_delivery_by_person_employee->emp_name_english }} @elseif($data->delivery_type == 'courier_service') {{ $data->inv_delivery_by->name }} @else {{ $data->inv_delivery_by->vehicle_name }} @endif
@if($data->delivery_type == 'person') Employee ID @elseif($data->delivery_type == 'courier_service') Pick Point @else Driver Name @endif: @if($data->delivery_type == 'person') {{ $data->inv_delivery_by_person_employee->emp_id }} @elseif($data->delivery_type == 'courier_service') {{ $data->inv_delivery_by->pickup_point }} @else {{ $data->inv_delivery_by->name }} @endif
@if($data->delivery_type == 'person') Employee Cell Number @elseif($data->delivery_type == 'courier_service') Delivery Point @else Driver's Cell Number @endif: @if($data->delivery_type == 'person') {{ $data->inv_delivery_by_person_employee->phone }} @elseif($data->delivery_type == 'courier_service') {{ $data->inv_delivery_by->delivery_point }} @else {{ $data->inv_delivery_by->phone }} @endif
--}}
@php $no=0; $t_qty = $t_r_qty = 0; @endphp @foreach($data->inv_use_details as $details) @php $purchaseBarcodeQuantity = 0; $purchaseBarcodeQuantity = $details->quantity; $emoloyeeRequisitionBarcodeQuantity = ($details->inv_employee_requisition_for_use) ? $details->inv_employee_requisition_for_use->quantity : 0; @endphp @php $t_qty += $purchaseBarcodeQuantity; $t_r_qty += $emoloyeeRequisitionBarcodeQuantity; @endphp @endforeach
SL. Item Name Uom Requested Qty Used Qty
{{++$no}} {{$details->inv_product->name}} {{$details->inv_product->inv_uom->name}} {{$emoloyeeRequisitionBarcodeQuantity}} {{$purchaseBarcodeQuantity}}
Total Item: {{ $t_r_qty }} {{ $t_qty }}

Used by
Signature with seal
{{--

Sales By
Signature
--}}

Received By
Signature with seal
{{--
--}}
@endforeach