@extends('admin.layouts.app') @section('title', 'إدارة أجور التطبيق') @section('page-title', 'إدارة أجور التطبيق') @section('page-icon', 'fas fa-money-bill-wave') @section('content') {{-- إحصائيات --}}
{{ number_format($totalFees, 0) }}
إجمالي الأجور (دينار)
{{ number_format($dailyFees, 0) }}
أجور اليوم
{{ number_format($monthlyFees, 0) }}
أجور الشهر
{{ number_format($yearlyFees, 0) }}
أجور السنة
{{-- فلاتر --}}
البحث والفلترة
@if($type == 'all' || $type == 'restaurants')
المطاعم
@if($restaurants->count() > 0)
@foreach($restaurants as $restaurant) @endforeach
الاسم الهاتف عدد الطلبيات أجور اليوم أجور الشهر أجور السنة إجمالي الأجور الإجراءات
{{ $restaurant->name }} {{ $restaurant->phone ?? 'غير متوفر' }} {{ $restaurant->orders_count ?? 0 }} {{ number_format($restaurant->daily_fees ?? 0, 2) }} دينار {{ number_format($restaurant->monthly_fees ?? 0, 2) }} دينار {{ number_format($restaurant->yearly_fees ?? 0, 2) }} دينار {{ number_format($restaurant->total_fees ?? 0, 2) }} دينار التفاصيل
@if($type == 'restaurants')
{{ $restaurants->links() }}
@endif @else

لا توجد مطاعم

@endif
@endif @if($type == 'all' || $type == 'gas_offices')
مكاتب الغاز
@if($gasOffices->count() > 0)
@foreach($gasOffices as $office) @endforeach
الاسم الهاتف عدد الطلبيات أجور اليوم أجور الشهر أجور السنة إجمالي الأجور الإجراءات
{{ $office->name }} {{ $office->phone ?? 'غير متوفر' }} {{ $office->orders_count ?? 0 }} {{ number_format($office->daily_fees ?? 0, 2) }} دينار {{ number_format($office->monthly_fees ?? 0, 2) }} دينار {{ number_format($office->yearly_fees ?? 0, 2) }} دينار {{ number_format($office->total_fees ?? 0, 2) }} دينار التفاصيل
@if($type == 'gas_offices')
{{ $gasOffices->links() }}
@endif @else

لا توجد مكاتب غاز

@endif
@endif @endsection