diff --git a/POS/src/components/settings/POSSettings.vue b/POS/src/components/settings/POSSettings.vue index 89ca3e85..f4e7c4a3 100644 --- a/POS/src/components/settings/POSSettings.vue +++ b/POS/src/components/settings/POSSettings.vue @@ -8,21 +8,52 @@ >
-
+
-
+
- - - + + +
-

{{ __('POS Settings') }}

+

+ {{ __("POS Settings") }} +

- - + + {{ settings.pos_profile || posProfile }}

@@ -36,11 +67,21 @@ size="sm" > - {{ __('Refresh') }} + {{ __("Refresh") }}
@@ -69,49 +130,102 @@
-
-
-

{{ __('Loading settings...') }}

+
+
+

+ {{ __("Loading settings...") }} +

-
+
-
+
- - + +
-

{{ __('Stock Management') }}

-

{{ __('Configure warehouse and inventory settings') }}

+

+ {{ __("Stock Management") }} +

+

+ {{ + __( + "Configure warehouse and inventory settings" + ) + }} +

- - + + - {{ __('Stock Controls') }} + {{ + __("Stock Controls") + }}
@@ -119,49 +233,110 @@
- - + + -

{{ __('Warehouse Selection') }}

+

+ {{ __("Warehouse Selection") }} +

-
- - +
+ + -

{{ __('Loading warehouses...') }}

+

+ {{ __("Loading warehouses...") }} +

- - + + -

{{ __('Stock Validation Policy') }}

+

+ {{ __("Stock Validation Policy") }} +

- - + + -
@@ -171,17 +346,43 @@
- - + + -

{{ __('Background Stock Sync') }}

-
-
- {{ __('Active') }} +

+ {{ __("Background Stock Sync") }} +

+
+
+ {{ + __("Active") + }}
-
-
- {{ __('Inactive') }} +
+
+ {{ + __("Inactive") + }}
@@ -190,63 +391,147 @@ -
+
-
+
- - + + -
- + - -
-
+
- - + +
-

{{ __('Network Usage:') }}

-

{{ __('~15 KB per sync cycle') }}

-

{{ __('~{0} MB per hour', [Math.round((3600 / stockSyncIntervalSeconds) * 15 / 1024)]) }}

+

+ {{ __("Network Usage:") }} +

+

+ {{ __("~15 KB per sync cycle") }} +

+

+ {{ + __("~{0} MB per hour", [ + Math.round( + ((3600 / + stockSyncIntervalSeconds) * + 15) / + 1024 + ), + ]) + }} +

@@ -257,25 +542,58 @@
-
+
- - + +
-

{{ __('Sales Management') }}

-

{{ __('Configure pricing, discounts, and sales operations') }}

+

+ {{ __("Sales Management") }} +

+

+ {{ + __( + "Configure pricing, discounts, and sales operations" + ) + }} +

- - + + - {{ __('Sales Controls') }} + {{ + __("Sales Controls") + }}
@@ -283,16 +601,32 @@
- - + + -

{{ __('Pricing & Discounts') }}

+

+ {{ __("Pricing & Discounts") }} +

@@ -332,10 +676,22 @@
- - + + -

{{ __('Sales Operations') }}

+

+ {{ __("Sales Operations") }} +

-
+
- {{ qzConnecting ? __('Connecting to QZ Tray...') : qzConnected ? __('QZ Tray Connected') : __('QZ Tray Not Connected') }} + {{ + qzConnecting + ? __("Connecting to QZ Tray...") + : qzConnected + ? __("QZ Tray Connected") + : __("QZ Tray Not Connected") + }}
@@ -394,7 +777,14 @@ v-model="selectedPrinter" :label="__('Printer')" :options="printerOptions" - :description="qzPrinters.length === 0 && !loadingPrinters ? __('No printers found. Is QZ Tray running?') : ''" + :description=" + qzPrinters.length === 0 && + !loadingPrinters + ? __( + 'No printers found. Is QZ Tray running?' + ) + : '' + " />
@@ -420,49 +821,108 @@ qzCertStatus === 'trusted' ? 'bg-green-50 border-green-200' : qzCertStatus === 'untrusted' - ? 'bg-red-50 border-red-200' - : 'bg-amber-50 border-amber-200' + ? 'bg-red-50 border-red-200' + : 'bg-amber-50 border-amber-200', ]" >
- - + +
-
+

- {{ __('Silent Print Certificate') }} + {{ + __( + "Silent Print Certificate" + ) + }}

- - {{ __('Installed') }} + + {{ + __("Installed") + }} - - {{ __('Not Installed') }} + + {{ + __("Not Installed") + }} - - {{ __('Checking...') }} + + {{ + __("Checking...") + }}
@@ -471,70 +931,173 @@ v-if="qzCertStatus === 'trusted'" class="text-xs text-green-800 leading-relaxed mb-2" > - {{ __('Certificate is installed and signing is active. Print jobs will be sent silently without confirmation dialogs.') }} + {{ + __( + "Certificate is installed and signing is active. Print jobs will be sent silently without confirmation dialogs." + ) + }}

- {{ __('Certificate is not installed on this machine. Generate a certificate, download it, and import it into QZ Tray.') }} + {{ + __( + "Certificate is not installed on this machine. Generate a certificate, download it, and import it into QZ Tray." + ) + }}

- {{ __('To print without confirmation dialogs, generate a signing certificate and install it on each POS machine.') }} + {{ + __( + "To print without confirmation dialogs, generate a signing certificate and install it on each POS machine." + ) + }}

-
+
-

- {{ __('Download the certificate and import it into QZ Tray, then restart QZ Tray.') }} + {{ + __( + "Download the certificate and import it into QZ Tray, then restart QZ Tray." + ) + }}

-
+
- - + + -

- {{ __('QZ Tray must be installed and running on this computer. Download from') }} - qz.io. - {{ __('If QZ Tray is unavailable, printing will fall back to the browser dialog.') }} +

+ {{ + __( + "QZ Tray must be installed and running on this computer. Download from" + ) + }} + qz.io. + {{ + __( + "If QZ Tray is unavailable, printing will fall back to the browser dialog." + ) + }}

@@ -543,17 +1106,38 @@
-
-
- - - +
+ + + -

{{ __('No POS Profile Selected') }}

-

{{ __('Please select a POS Profile to configure settings') }}

+

+ {{ __("No POS Profile Selected") }} +

+

+ {{ __("Please select a POS Profile to configure settings") }} +

@@ -563,43 +1147,39 @@