From 5f8d3b1aed202dbb447590498c995be60f436636 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 4 Mar 2026 03:47:39 +0000 Subject: [PATCH] update reciept --- includes/lang.php | 2 ++ receipt.php | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/includes/lang.php b/includes/lang.php index b670c1a..8a5b019 100644 --- a/includes/lang.php +++ b/includes/lang.php @@ -129,6 +129,7 @@ $translations = [ 'error_update' => 'Error updating!', 'print' => 'Print', 'print_invoice' => 'Print Invoice', + 'print_receipt' => 'Print Receipt', 'thermal_receipt' => 'Thermal Receipt', 'order' => 'Order', 'customer' => 'Customer', @@ -362,6 +363,7 @@ $translations = [ 'error_update' => 'خطأ في التحديث!', 'print' => 'طباعة', 'print_invoice' => 'طباعة الفاتورة', + 'print_receipt' => 'طباعة الإيصال', 'thermal_receipt' => 'إيصال حراري', 'order' => 'الطلب', 'customer' => 'العميل', diff --git a/receipt.php b/receipt.php index e760f4f..61b89c5 100644 --- a/receipt.php +++ b/receipt.php @@ -49,7 +49,7 @@ function format_currency($amount) { - Receipt #<?= $order['id'] ?> + <?= __('thermal_receipt') ?> #<?= $order['order_number'] ?? $order['id'] ?>