{{-- @if(count($bookings) > 0)--}}
رقم الحجز |
العقار |
العربون |
المتبقي |
نسبة العمولة |
ضريبة العمولة |
صافي الأرباح |
تاريخ الانشاء |
{{-- @php--}}
{{-- $bookings = \App\Models\Bookings::where('unit_id', 11)->allowed()->orderBy('id', 'desc')->get();--}}
{{-- @endphp--}}
@foreach($bookings['bookings'] as $booking)
{{-- @foreach($bookings as $booking)--}}
{{$booking?->fake_id}} |
{{$booking?->unit?->name_ar}} |
{{$booking?->down_payment}} |
{{$booking?->total - $booking?->down_payment}} |
{{$booking?->profit_percentage}} |
{{$booking?->profit_taxes}} |
{{$booking?->total - $booking?->profit - $booking->profit_taxes}} |
{{$booking?->created_at->format('Y/m/d H:i:s')}} |
@endforeach
{{-- @else--}}
{{-- @include('Admin.Layouts.Empty')--}}
{{-- @endif--}}