@extends('admin.layouts.master') @section('title', 'تقرير المبيعات بالفترة') @section('page_title', 'تقرير المبيعات بالفترة') @section('breadcrumbs') @endsection @section('content') @include('admin.reports._filter', ['title' => 'تقرير المبيعات', 'showGranularity' => true])
عدد الفواتير {{ number_format($report['totals']['invoice_count']) }}
إجمالي المبيعات {{ number_format($report['totals']['total'], 2) }}
الضريبة {{ number_format($report['totals']['tax'], 2) }}
المحصّل {{ number_format($report['totals']['paid'], 2) }}

المبيعات لكل فترة

@foreach($report['rows'] as $r) @endforeach
الفترةعدد الفواتيرإجمالي قبل الخصم الخصمالضريبةالشحنالصافيالمحصّل
{{ $r->period }} {{ $r->invoice_count }} {{ number_format((float) $r->subtotal, 2) }} {{ number_format((float) $r->discount, 2) }} {{ number_format((float) $r->tax, 2) }} {{ number_format((float) $r->shipping, 2) }} {{ number_format((float) $r->total, 2) }} {{ number_format((float) $r->paid, 2) }}
المجموع {{ $report['totals']['invoice_count'] }} {{ number_format($report['totals']['subtotal'], 2) }} {{ number_format($report['totals']['discount'], 2) }} {{ number_format($report['totals']['tax'], 2) }} {{ number_format($report['totals']['shipping'], 2) }} {{ number_format($report['totals']['total'], 2) }} {{ number_format($report['totals']['paid'], 2) }}
@endsection @push('scripts') @endpush