@extends('layouts.master') @push('css') @endpush @section('content')
| تاریخ Date |
بلٹی نمبر Bilty No |
سپلار Supplier |
مال Item |
مارکیٹ Marka |
بوری Bori |
وزن Weight |
قیمت Rate |
کرایہ Rent |
مزدوری محصول Labour |
مارکیٹ فیس Mkt Fees |
ڈاک خرچ Post Exp |
نقد Cash |
کمیشن Commission |
کل خرچہ Total Exp |
بختہ بکری Save Amt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| گاڑی نمبر : {{ $vehicle['pb_no'] }} | |||||||||||||||
| {{ \Carbon\Carbon::parse($bilty['date'])->format('d/m/y') }} | {{ $bilty['bilty_no'] }} | {{ $bilty['supplier_name'] }} | @endif{{ $item->item ?? '-' }} | {{ $item->marka ?? '-' }} | {{ number_format($item->bori ?? 0) }} | {{ number_format($item->weight ?? 0) }} | {{ $fmt($item->rate ?? 0) }} | {{-- Expense columns are vehicle-level: print only once, on the very first row of the vehicle, spanning every row that belongs to it. --}} @if(!$vehicleFirstRowPrinted){{ $fmt($vehicle['vehicleTotals']['rent_recieve_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['labour_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['market_fees_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['post_expense_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['cash_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['commission_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['total_expanse_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['save_amount']) }} | @php $vehicleFirstRowPrinted = true; @endphp @endif
| {{ \Carbon\Carbon::parse($bilty['date'])->format('d/m/y') }} | {{ $bilty['bilty_no'] }} | {{ $bilty['supplier_name'] }} | — | @if(!$vehicleFirstRowPrinted){{ $fmt($vehicle['vehicleTotals']['rent_recieve_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['labour_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['market_fees_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['post_expense_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['cash_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['commission_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['total_expanse_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['save_amount']) }} | @php $vehicleFirstRowPrinted = true; @endphp @endif||||
| گاڑی نمبر {{ $vehicle['pb_no'] }} — کل | {{ number_format($vehicle['vehicleTotals']['total_bori']) }} | {{ number_format($vehicle['vehicleTotals']['total_weight']) }} | {{ $fmt($vehicle['vehicleTotals']['rent_recieve_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['labour_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['market_fees_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['post_expense_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['cash_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['commission_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['total_expanse_amount']) }} | {{ $fmt($vehicle['vehicleTotals']['save_amount']) }} | |||||
| کل مجموعہ — Grand Total | {{ number_format($grandTotal['total_bori']) }} | {{ number_format($grandTotal['total_weight']) }} | {{ $fmt($grandTotal['rent_recieve_amount']) }} | {{ $fmt($grandTotal['labour_amount']) }} | {{ $fmt($grandTotal['market_fees_amount']) }} | {{ $fmt($grandTotal['post_expense_amount']) }} | {{ $fmt($grandTotal['cash_amount']) }} | {{ $fmt($grandTotal['commission_amount']) }} | {{ $fmt($grandTotal['total_expanse_amount']) }} | {{ $fmt($grandTotal['save_amount']) }} | |||||