From fb37ed9905fe4eee36bba1df166b6bd60ecb5edd Mon Sep 17 00:00:00 2001 From: opencode Date: Fri, 3 Apr 2026 10:42:31 +0000 Subject: [PATCH] Fix remaining CodeRabbit review comments - Add translation key for 'Add Table' in dinner_tables.php - Cast dinner_table_id to int in label and span for consistency - Remove debug
tags from register.php - Fix duplicate cart_contents ID in register.php (use cart_contents_card for card section) - Fix textarea value attribute in message_config.php --- app/Language/en/Config.php | 1 + app/Views/partial/dinner_tables.php | 6 +++--- app/Views/sales/register.php | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Language/en/Config.php b/app/Language/en/Config.php index 94a4c877e..a229c28ef 100644 --- a/app/Language/en/Config.php +++ b/app/Language/en/Config.php @@ -103,6 +103,7 @@ return [ "derive_sale_quantity" => "Allow Derived Sale Quantity", "derive_sale_quantity_tooltip" => "If checked then a new item type will be provided for items ordered by extended amount", "dinner_table" => "Table", + "dinner_table_add" => "Add Table", "dinner_table_duplicate" => "Table must be unique.", "dinner_table_enable" => "Enable Dinner Tables", "dinner_table_invalid_chars" => "Table Name can not contain '_'.", diff --git a/app/Views/partial/dinner_tables.php b/app/Views/partial/dinner_tables.php index 364e295ed..10cfc01c6 100644 --- a/app/Views/partial/dinner_tables.php +++ b/app/Views/partial/dinner_tables.php @@ -5,7 +5,7 @@ ?> - + $table) { ?>
- +
- . + . >
diff --git a/app/Views/sales/register.php b/app/Views/sales/register.php index 5ff6c56e0..dd5245c0d 100644 --- a/app/Views/sales/register.php +++ b/app/Views/sales/register.php @@ -140,7 +140,7 @@ helper('url'); - + @@ -201,7 +201,6 @@ helper('url');
-