@extends('layouts.master') @section('css') @include('transport_reports._style') @endsection @section('title') الأحمال غير المفوترة @stop @section('page-header') @endsection @section('content') @php $lp = Mcamara\LaravelLocalization\Facades\LaravelLocalization::getCurrentLocale(); $m = function ($v) { return number_format((float) $v, 2); }; @endphp @include('transport_reports._tabs')

{{ defined('Namear') ? Namear : '' }}

الأحمال غير المفوترة
أحمال غير مفوترة{{ $summary['count'] }}
قيمتها (قبل الضريبة){{ $m($summary['value']) }} ر.س
عملاء{{ $summary['customers'] }}
من غير سعر{{ $summary['zero'] }}
@forelse ($groups as $g)
{{ $g['name'] }} {{ $g['count'] }} حمولة {{ $m($g['value']) }} ر.س @if ($g['zero']){{ $g['zero'] }} بدون سعر@endif @if ($g['oldest'])أقدمها {{ \Carbon\Carbon::parse($g['oldest'])->diffForHumans() }}@endif @if ($g['id']) اعمل فاتورة @else اربط الأحمال دي بعميل من «تعديل الشحنة» عشان تتفوتر @endif
@foreach ($g['trips'] as $t) @endforeach
التاريخاللوحةالسائقمنإلىنوع التحميلالحالةالسعر
{{ optional($t->loading_at)->format('Y/m/d') }} {{ optional($t->truck)->plate_number }} {{ $t->driver_name ?: '—' }} {{ $t->from_region }}{{ $t->from_city ? ' - ' . $t->from_city : '' }} {{ $t->to_region }}{{ $t->to_city ? ' - ' . $t->to_city : '' }} {{ $t->load_type }} @if ($t->status == 2)تم التفريغ@elseمحمّلة@endif {{ (float) $t->price ? $m($t->price) : '—' }}
@empty
مفيش أحمال غير مفوترة
@endforelse @endsection