diff --git a/plugins/tps/birzha/components/balance/default.htm b/plugins/tps/birzha/components/balance/default.htm index ac3495932..107519b13 100644 --- a/plugins/tps/birzha/components/balance/default.htm +++ b/plugins/tps/birzha/components/balance/default.htm @@ -59,7 +59,7 @@ {{ 'account.bank_tax_code'|_ }}:
- 101161000041 + {{ tax_code }}
@@ -67,7 +67,7 @@ {{ 'account.bank_manat_account'|_}}:
- 23201934160147100066000 + {{ manat_account }}
@@ -83,7 +83,7 @@ {{ 'account.bank_bab'|_ }}:
- 390101601 + {{ bab }}
@@ -91,7 +91,7 @@ {{ 'account.bank_correspondent_account'|_ }}:
- 21101934110100700005000 + {{ correspondent_account }}
diff --git a/plugins/tps/birzha/models/Settings.php b/plugins/tps/birzha/models/Settings.php index f4be88def..fcd1ac740 100644 --- a/plugins/tps/birzha/models/Settings.php +++ b/plugins/tps/birzha/models/Settings.php @@ -15,7 +15,7 @@ class Settings extends Model public $settingsCode = 'birzha_settings'; - public $translatable = ['address','site_name', 'short_name']; + public $translatable = ['address','site_name', 'short_name', 'bank_address']; /** * Get setting value diff --git a/plugins/tps/birzha/models/settings/fields.yaml b/plugins/tps/birzha/models/settings/fields.yaml index 481bf87fe..2404678a6 100644 --- a/plugins/tps/birzha/models/settings/fields.yaml +++ b/plugins/tps/birzha/models/settings/fields.yaml @@ -54,3 +54,24 @@ tabs: label: Product display duration comment: In days span: right + tax_code: + tab: Bank Info + label: Salgyt kody (Налоговый код) + span: left + bab: + tab: Bank Info + label: BAB (МФО) + span: right + manat_account: + tab: Bank Info + label: Manat hasaby (Манатный счёт) + span: left + correspondent_account: + tab: Bank Info + label: Korrespondent hasaby (Корреспондент счет) + span: right + bank_address: + tab: Bank Info + label: Bank address + span: left + diff --git a/themes/birzha/layouts/default.htm b/themes/birzha/layouts/default.htm index 9c4b03f15..c07a7e568 100644 --- a/themes/birzha/layouts/default.htm +++ b/themes/birzha/layouts/default.htm @@ -25,6 +25,10 @@ function onStart(){ $this['email'] = TPS\Birzha\Models\Settings::getValue('email'); $this['address'] = TPS\Birzha\Models\Settings::getValue('address'); $this['short_name'] = TPS\Birzha\Models\Settings::getValue('short_name'); + $this['tax_code'] = TPS\Birzha\Models\Settings::getValue('tax_code'); + $this['bab'] = TPS\Birzha\Models\Settings::getValue('bab'); + $this['manat_account'] = TPS\Birzha\Models\Settings::getValue('manat_account'); + $this['correspondent_account'] = TPS\Birzha\Models\Settings::getValue('correspondent_account'); } ?> ==