From 81b5dd76fcef6ba55b4b43aba989137d90b07f3c Mon Sep 17 00:00:00 2001 From: amit sharma Date: Tue, 18 Aug 2026 11:36:14 +0530 Subject: [PATCH] Fixed: fix feedback issue --- .../template/controllers/orders/form.tpl | 21 ++ .../sources/helpers/list/list_header.tpl | 4 +- .../sources/modals/_merge_source_form.tpl | 2 +- classes/BusinessSource.php | 36 ++-- classes/Source.php | 51 +++-- classes/webservice/WebserviceOrder.php | 1 + controllers/admin/AdminOrdersController.php | 15 +- controllers/admin/AdminSourcesController.php | 197 ++++++++++++------ install/data/db_structure.sql | 20 +- install/data/xml/business_source.xml | 14 +- install/data/xml/source.xml | 40 ++-- install/langs/bg/data/business_source.xml | 21 ++ install/langs/bg/data/source.xml | 57 +++++ install/langs/bn/data/business_source.xml | 21 ++ install/langs/bn/data/source.xml | 57 +++++ install/langs/br/data/business_source.xml | 21 ++ install/langs/br/data/source.xml | 57 +++++ install/langs/cs/data/business_source.xml | 21 ++ install/langs/cs/data/source.xml | 57 +++++ install/langs/de/data/business_source.xml | 21 ++ install/langs/de/data/source.xml | 57 +++++ install/langs/en/data/business_source.xml | 3 + install/langs/en/data/source.xml | 21 ++ install/langs/es/data/business_source.xml | 21 ++ install/langs/es/data/source.xml | 57 +++++ install/langs/fa/data/business_source.xml | 21 ++ install/langs/fa/data/source.xml | 57 +++++ install/langs/fr/data/business_source.xml | 21 ++ install/langs/fr/data/source.xml | 57 +++++ install/langs/he/data/business_source.xml | 21 ++ install/langs/he/data/source.xml | 57 +++++ install/langs/hr/data/business_source.xml | 21 ++ install/langs/hr/data/source.xml | 57 +++++ install/langs/hu/data/business_source.xml | 21 ++ install/langs/hu/data/source.xml | 57 +++++ install/langs/id/data/business_source.xml | 21 ++ install/langs/id/data/source.xml | 57 +++++ install/langs/it/data/business_source.xml | 21 ++ install/langs/it/data/source.xml | 57 +++++ install/langs/lt/data/business_source.xml | 21 ++ install/langs/lt/data/source.xml | 57 +++++ install/langs/mk/data/business_source.xml | 21 ++ install/langs/mk/data/source.xml | 57 +++++ install/langs/nl/data/business_source.xml | 21 ++ install/langs/nl/data/source.xml | 57 +++++ install/langs/no/data/business_source.xml | 21 ++ install/langs/no/data/source.xml | 57 +++++ install/langs/pl/data/business_source.xml | 21 ++ install/langs/pl/data/source.xml | 57 +++++ install/langs/pt/data/business_source.xml | 21 ++ install/langs/pt/data/source.xml | 57 +++++ install/langs/qc/data/business_source.xml | 21 ++ install/langs/qc/data/source.xml | 57 +++++ install/langs/ro/data/business_source.xml | 21 ++ install/langs/ro/data/source.xml | 57 +++++ install/langs/ru/data/business_source.xml | 21 ++ install/langs/ru/data/source.xml | 57 +++++ install/langs/si/data/business_source.xml | 21 ++ install/langs/si/data/source.xml | 57 +++++ install/langs/sr/data/business_source.xml | 21 ++ install/langs/sr/data/source.xml | 57 +++++ install/langs/sv/data/business_source.xml | 21 ++ install/langs/sv/data/source.xml | 57 +++++ install/langs/tw/data/business_source.xml | 21 ++ install/langs/tw/data/source.xml | 57 +++++ install/langs/vn/data/business_source.xml | 21 ++ install/langs/vn/data/source.xml | 57 +++++ install/langs/zh/data/business_source.xml | 21 ++ install/langs/zh/data/source.xml | 57 +++++ install/models/install.php | 2 +- js/admin/sources.js | 2 +- 71 files changed, 2477 insertions(+), 136 deletions(-) create mode 100644 install/langs/bg/data/business_source.xml create mode 100644 install/langs/bg/data/source.xml create mode 100644 install/langs/bn/data/business_source.xml create mode 100644 install/langs/bn/data/source.xml create mode 100644 install/langs/br/data/business_source.xml create mode 100644 install/langs/br/data/source.xml create mode 100644 install/langs/cs/data/business_source.xml create mode 100644 install/langs/cs/data/source.xml create mode 100644 install/langs/de/data/business_source.xml create mode 100644 install/langs/de/data/source.xml create mode 100644 install/langs/es/data/business_source.xml create mode 100644 install/langs/es/data/source.xml create mode 100644 install/langs/fa/data/business_source.xml create mode 100644 install/langs/fa/data/source.xml create mode 100644 install/langs/fr/data/business_source.xml create mode 100644 install/langs/fr/data/source.xml create mode 100644 install/langs/he/data/business_source.xml create mode 100644 install/langs/he/data/source.xml create mode 100644 install/langs/hr/data/business_source.xml create mode 100644 install/langs/hr/data/source.xml create mode 100644 install/langs/hu/data/business_source.xml create mode 100644 install/langs/hu/data/source.xml create mode 100644 install/langs/id/data/business_source.xml create mode 100644 install/langs/id/data/source.xml create mode 100644 install/langs/it/data/business_source.xml create mode 100644 install/langs/it/data/source.xml create mode 100644 install/langs/lt/data/business_source.xml create mode 100644 install/langs/lt/data/source.xml create mode 100644 install/langs/mk/data/business_source.xml create mode 100644 install/langs/mk/data/source.xml create mode 100644 install/langs/nl/data/business_source.xml create mode 100644 install/langs/nl/data/source.xml create mode 100644 install/langs/no/data/business_source.xml create mode 100644 install/langs/no/data/source.xml create mode 100644 install/langs/pl/data/business_source.xml create mode 100644 install/langs/pl/data/source.xml create mode 100644 install/langs/pt/data/business_source.xml create mode 100644 install/langs/pt/data/source.xml create mode 100644 install/langs/qc/data/business_source.xml create mode 100644 install/langs/qc/data/source.xml create mode 100644 install/langs/ro/data/business_source.xml create mode 100644 install/langs/ro/data/source.xml create mode 100644 install/langs/ru/data/business_source.xml create mode 100644 install/langs/ru/data/source.xml create mode 100644 install/langs/si/data/business_source.xml create mode 100644 install/langs/si/data/source.xml create mode 100644 install/langs/sr/data/business_source.xml create mode 100644 install/langs/sr/data/source.xml create mode 100644 install/langs/sv/data/business_source.xml create mode 100644 install/langs/sv/data/source.xml create mode 100644 install/langs/tw/data/business_source.xml create mode 100644 install/langs/tw/data/source.xml create mode 100644 install/langs/vn/data/business_source.xml create mode 100644 install/langs/vn/data/source.xml create mode 100644 install/langs/zh/data/business_source.xml create mode 100644 install/langs/zh/data/source.xml diff --git a/admin/themes/default/template/controllers/orders/form.tpl b/admin/themes/default/template/controllers/orders/form.tpl index 1482462e9..caa744b35 100644 --- a/admin/themes/default/template/controllers/orders/form.tpl +++ b/admin/themes/default/template/controllers/orders/form.tpl @@ -2403,6 +2403,27 @@

+
+ +
+ +

{l s='Leave unselected to use the default Walk-in source.'}

+
+
diff --git a/admin/themes/default/template/controllers/sources/helpers/list/list_header.tpl b/admin/themes/default/template/controllers/sources/helpers/list/list_header.tpl index 13245ca07..41dd3b0a3 100644 --- a/admin/themes/default/template/controllers/sources/helpers/list/list_header.tpl +++ b/admin/themes/default/template/controllers/sources/helpers/list/list_header.tpl @@ -12,7 +12,7 @@ *} {extends file="helpers/list/list_header.tpl"} {block name="override_form_extra"} - {if isset($smarty.get.id_source_type)} - + {if isset($smarty.get.id_business_source)} + {/if} {/block} diff --git a/admin/themes/default/template/controllers/sources/modals/_merge_source_form.tpl b/admin/themes/default/template/controllers/sources/modals/_merge_source_form.tpl index 410185759..00a139193 100644 --- a/admin/themes/default/template/controllers/sources/modals/_merge_source_form.tpl +++ b/admin/themes/default/template/controllers/sources/modals/_merge_source_form.tpl @@ -23,7 +23,7 @@

{l s='Every order currently attributed to Current Source will be reattributed to Target Source. Current Source itself is left as-is.'}

- +