@extends('pdf.layouts.app') @section('title', 'Quick Service Sales Report') @section('styles') @endsection @section('content')
| {{ $isRtl ? 'رقم الفاتورة' : 'Invoice No.' }} | {{ $isRtl ? 'المورد' : 'Supplier' }} | {{ $isRtl ? 'القسم' : 'Section' }} | {{ $isRtl ? 'الخدمة' : 'Service' }} | {{ $isRtl ? 'المرجع' : 'Reference' }} | {{ $isRtl ? 'التاريخ' : 'Date' }} | {{ $isRtl ? 'سعر الشراء' : 'Purchase Price' }} | {{ $isRtl ? 'ضريبة الشراء' : 'Purchase Tax' }} | {{ $isRtl ? 'سعر الصرف' : 'Exchange Rate' }} | {{ $isRtl ? 'سعر البيع' : 'Selling Price' }} | {{ $isRtl ? 'ضريبة البيع' : 'Selling Tax' }} | {{ $isRtl ? 'سعر الصرف' : 'Exchange Rate' }} | {{ $isRtl ? 'الضريبة المطلوبة' : 'Required Tax' }} | {{ $isRtl ? 'الربح النهائي' : 'Final Profit' }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item['invoice_num'] ?? '-' }} | {{ $item['supplier_name'] ?? '-' }} | {{ $sectionName }} | {{ $serviceName }} | {{ $item['reference'] ?? '-' }} | {{ $item['date'] ?? '-' }} | {{ number_format($purchasePrice, 2) }} | {{ number_format($purchaseTax, 2) }} | {{ number_format($purchaseRate, 2) }} | {{ number_format($sellingPrice, 2) }} | {{ number_format($sellingTax, 2) }} | {{ number_format($sellingRate, 2) }} | {{ number_format($requiredTax, 2) }} | {{ number_format($finalProfit, 2) }} |
| {{ $isRtl ? 'الإجمالي:' : 'Total:' }} | {{ number_format($totalPurchase, 2) }} | {{ number_format($totalPurchaseTax, 2) }} | -- | {{ number_format($totalSelling, 2) }} | {{ number_format($totalSellingTax, 2) }} | -- | {{ number_format($totalRequiredTax, 2) }} | {{ number_format($totalProfit, 2) }} | |||||
| {{ $isRtl ? 'إجمالي الشراء' : 'Total Purchase' }} | {{ $isRtl ? 'إجمالي البيع' : 'Total Selling' }} | {{ $isRtl ? 'إجمالي الضريبة المطلوبة' : 'Total Required Tax' }} | {{ $isRtl ? 'إجمالي الربح' : 'Total Profit' }} |
|---|---|---|---|
| {{ number_format($totalPurchase, 2) }} | {{ number_format($totalSelling, 2) }} | {{ number_format($totalRequiredTax, 2) }} | {{ number_format($totalProfit, 2) }} |
{{ $isRtl ? 'لا توجد بيانات متاحة لهذا التقرير.' : 'No data available for this report.' }}
@endif