= h(tr('جرّب إنشاء فاتورة جديدة من صفحة البيع.', 'Try creating a new invoice from the sale page.')) ?>
| = h(tr('الإيصال', 'Receipt')) ?> | = h(tr('الفرع', 'Branch')) ?> | = h(tr('النوع', 'Type')) ?> | = h(tr('الكاشير', 'Cashier')) ?> | = h(tr('العميل', 'Customer')) ?> | = h(tr('الهاتف', 'Phone')) ?> | = h(tr('المجموع', 'Subtotal')) ?> | = h(tr('الضريبة', 'VAT')) ?> | = h(tr('الإجمالي', 'Total')) ?> | = h(tr('المدفوع', 'Paid')) ?> | = h(tr('المتبقي', 'Due')) ?> | = h(tr('الحالة', 'Status')) ?> | = h(tr('التاريخ', 'Date')) ?> | = h(tr('إجراءات', 'Actions')) ?> |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
= h($sale['receipt_no']) ?>
= h((string) $sale['item_count']) ?> = h(tr('قطعة', 'items')) ?>
|
= h(branch_label((string) $sale['branch_code'])) ?> | = h(sale_mode_label((string) $sale['sale_mode'])) ?> | = h((string) $sale['cashier_name']) ?> | 8) { $displayPhone = substr($displayPhone, 3); } } ?>= h($rawCustomerName) ?> | = h($displayPhone ?: '-') ?> | = h(currency((float) $sale['total_amount'] - (float) ($sale['vat_amount'] ?? 0))) ?> | = h(currency((float) $sale['vat_amount'])) ?> | = h(currency((float) $sale['total_amount'])) ?> | = h(currency((float) $paymentSummary['paid_amount'])) ?> | = h(currency((float) $paymentSummary['due_amount'])) ?> | = h(payment_status_label($paymentSummary['payment_status'])) ?> = h(tr('طلب حجز', 'Order')) ?> = h(tr('دفع آجل', 'Pay Later')) ?> | = h(date('Y-m-d H:i', strtotime((string) $sale['sale_date']))) ?> |