diff --git a/app.js b/app.js index e2d1ad6..c5a41fd 100644 --- a/app.js +++ b/app.js @@ -1,5 +1,5 @@ import { load, save, remove, KEY_DATA, KEY_SETTINGS, KEY_CLIENTS } from './storage.js'; -import { renderTicketAndPrint } from './print.js?v=101.0'; +import { renderTicketAndPrint } from './print.js?v=1757039367'; // --- UTILITIES --- function escapeHTML(str) { @@ -528,7 +528,7 @@ function formatDate(dateString) { return `${day}/${month}/${year}`; } -const APP_VERSION = '1.3.7'; +const APP_VERSION = '1.4.0'; // --- ESTADO Y DATOS --- const DEFAULT_SETTINGS = { @@ -1841,7 +1841,7 @@ async function initializeApp() { console.log('Activating initial tab...'); // Usuario regular va a ventas, admin va a dashboard - const initialTab = currentUser.role === 'admin' ? 'tab-dashboard' : 'tab-ventas'; + const initialTab = currentUser.role === 'admin' ? 'tab-dashboard' : 'tab-movements'; activateTab(initialTab); console.log('Activating client sub-tab...'); diff --git a/docker-compose.yml b/docker-compose.yml index ab97a3f..5d8f9b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: ap-pos: - image: marcogll/ap_pos:1.3.7 + image: marcogll/ap_pos:1.4.0 container_name: ap-pos restart: unless-stopped ports: diff --git a/index.html b/index.html index 5f63e71..60c539d 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - +
@@ -629,6 +629,6 @@ - +