{{ $sale->customer->name }}
{{ $sale->sale_date->format('Y-m-d') }}
{{ $sale->invoice_number }}
{{ $sale->status ? 'Completed' : 'Pending' }}
{{ number_format($sale->grand_total, 2) }}
{{ number_format($sale->discount, 2) }}
{{ number_format($sale->net_total, 2) }}
{{ number_format($sale->other_expense, 2) }}
{{ number_format($sale->trasport_expense, 2) }}
| Product | Quantity | Unit Price | Unit Cost | Line Total | Line Total Cost | Line Total Profit |
|---|---|---|---|---|---|---|
| {{ $line->product->name }} | {{ $line->qty }} | {{ number_format($line->unit_price, 2) }} | {{ number_format($line->unit_cost, 2) }} | {{ number_format($line->line_total, 2) }} | {{ number_format($line->line_total_cost, 2) }} | {{ number_format($line->line_total_profit, 2) }} |
| No sale lines found. | ||||||
| Vehicle | Trip Date | Trip Cost | Trip Other Cost | Trip Rent | Qty Loaded | Qty Delivered | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $transport->vehicle->name }} | {{ $transport->trip_date->format('Y-m-d') }} | {{ number_format($transport->trip_cost, 2) }} | {{ number_format($transport->trip_other_cost, 2) }} | {{ number_format($transport->trip_rent, 2) }} | {{ number_format($transport->qty_loaded, 2) }} | {{ number_format($transport->qty_delivered, 2) }} | {{ $transport->status_text }} | |
| No transport details found. | ||||||||
| Vehicle | Status | Date | Updated By | Remarks |
|---|---|---|---|---|
| {{ $transport->vehicle->name }} | {{ $history->status_text }} | {{ $history->status_date->format('Y-m-d H:i:s') }} | {{ $history->status_by }} | {{ $history->status_remarks }} |
| No status history found. | ||||