@extends('layouts.fleet') @section('title', $collection->collection_number.' — تحصيل') @section('content')
{{ $collection->agent?->name }} @if($collection->customer) · {{ $collection->customer->name }} @endif · {{ $collection->collected_on->format('Y-m-d') }} · {{ $statusLabels[$collection->status] ?? $collection->status }}
{{ $paymentLabels[$collection->payment_method] ?? $collection->payment_method }}
{{ erp_money($collection->subtotal) }}
{{ $collection->routeStop->customer?->name ?? '—' }}
| SKU | الإجمالي | |||
|---|---|---|---|---|
| {{ $line->product?->name ?? '—' }} | {{ $line->product?->sku ?? '—' }} | {{ number_format($line->quantity, 2) }} | {{ erp_money($line->unit_price) }} | {{ erp_money($line->line_total) }} |
| الإجمالي | {{ number_format($totalQty, 2) }} | {{ erp_money($collection->subtotal) }} | ||
تم خصم البضاعة من عهدة {{ $collection->agent?->name }} — عرض الرصيد
@endif