From dce2140f65349b105627fb1dab3cb8aa0ce23507 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Mon, 12 Jan 2026 23:46:11 +0000 Subject: [PATCH] =?UTF-8?q?feat(unified-mobile-desktop-ui):=20Complete=20U?= =?UTF-8?q?S-519=20-=20Separare=20Cas=C4=83=20=C8=99i=20Banc=C4=83=20?= =?UTF-8?q?=C3=AEn=20Pagini=20Distincte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implemented by Ralph autonomous loop. Iteration: 21 Co-Authored-By: Claude --- scripts/ralph/prd.json | 4 +- scripts/ralph/progress.txt | 6 + src/config/menu.js | 3 +- src/modules/reports/views/BankView.vue | 1155 +++++++++++++++++ src/modules/reports/views/CashView.vue | 1155 +++++++++++++++++ src/router/index.js | 19 +- .../components/mobile/MobileDrawerMenu.vue | 7 +- 7 files changed, 2340 insertions(+), 9 deletions(-) create mode 100644 src/modules/reports/views/BankView.vue create mode 100644 src/modules/reports/views/CashView.vue diff --git a/scripts/ralph/prd.json b/scripts/ralph/prd.json index d2d02b4..e00ec03 100644 --- a/scripts/ralph/prd.json +++ b/scripts/ralph/prd.json @@ -403,8 +403,8 @@ "Verify in browser desktop: Casă și Bancă sunt pagini separate accesibile din meniu", "Verify in browser mobil: Casă și Bancă sunt pagini separate în MobileDrawerMenu" ], - "passes": false, - "notes": "" + "passes": true, + "notes": "Completed in iteration 21" } ] } diff --git a/scripts/ralph/progress.txt b/scripts/ralph/progress.txt index a954336..c110477 100644 --- a/scripts/ralph/progress.txt +++ b/scripts/ralph/progress.txt @@ -188,3 +188,9 @@ Design Reference: src/modules/reports/views/InvoicesView.vue [2026-01-12 23:36:01] Working on story: US-518 [2026-01-12 23:36:01] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_20_US-518.log) [2026-01-12 23:39:17] SUCCESS: Story US-518 passed! +[2026-01-12 23:39:17] Changes committed +[2026-01-12 23:39:17] Progress: 18/19 stories completed +[2026-01-12 23:39:19] === Iteration 21/100 === +[2026-01-12 23:39:19] Working on story: US-519 +[2026-01-12 23:39:19] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_21_US-519.log) +[2026-01-12 23:46:11] SUCCESS: Story US-519 passed! diff --git a/src/config/menu.js b/src/config/menu.js index d237ca5..304977f 100644 --- a/src/config/menu.js +++ b/src/config/menu.js @@ -4,7 +4,8 @@ export const menuSections = [ items: [ { to: '/reports/dashboard', icon: 'pi pi-home', label: 'Dashboard' }, { to: '/reports/invoices', icon: 'pi pi-file', label: 'Facturi' }, - { to: '/reports/bank-cash', icon: 'pi pi-money-bill', label: 'Casa și Banca' }, + { to: '/reports/cash', icon: 'pi pi-wallet', label: 'Casă' }, + { to: '/reports/bank', icon: 'pi pi-building', label: 'Bancă' }, { to: '/reports/trial-balance', icon: 'pi pi-calculator', label: 'Balanță de Verificare' } ] }, diff --git a/src/modules/reports/views/BankView.vue b/src/modules/reports/views/BankView.vue new file mode 100644 index 0000000..67215d8 --- /dev/null +++ b/src/modules/reports/views/BankView.vue @@ -0,0 +1,1155 @@ + + + + + diff --git a/src/modules/reports/views/CashView.vue b/src/modules/reports/views/CashView.vue new file mode 100644 index 0000000..60286ab --- /dev/null +++ b/src/modules/reports/views/CashView.vue @@ -0,0 +1,1155 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 337f796..583a192 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -25,10 +25,23 @@ const routes = [ meta: { requiresAuth: true, title: 'Facturi - ROA2WEB' } }, { + // US-519: Redirect old bank-cash route to /reports/cash path: 'bank-cash', - name: 'BankCash', - component: () => import('@reports/views/BankCashRegisterView.vue'), - meta: { requiresAuth: true, title: 'Casa și Banca - ROA2WEB' } + redirect: '/reports/cash' + }, + { + // US-519: Separate Cash page + path: 'cash', + name: 'Cash', + component: () => import('@reports/views/CashView.vue'), + meta: { requiresAuth: true, title: 'Casă - ROA2WEB' } + }, + { + // US-519: Separate Bank page + path: 'bank', + name: 'Bank', + component: () => import('@reports/views/BankView.vue'), + meta: { requiresAuth: true, title: 'Bancă - ROA2WEB' } }, { path: 'trial-balance', diff --git a/src/shared/components/mobile/MobileDrawerMenu.vue b/src/shared/components/mobile/MobileDrawerMenu.vue index 30013ba..b0f8284 100644 --- a/src/shared/components/mobile/MobileDrawerMenu.vue +++ b/src/shared/components/mobile/MobileDrawerMenu.vue @@ -262,7 +262,7 @@ import { useRoute, useRouter } from 'vue-router' * - Company & Period selectors (below header, like desktop) * - Navigation organized into 4 category sections: * - PRINCIPALE: Dashboard, Bonuri - * - RAPOARTE: Facturi, Balanță, Casa și Banca + * - RAPOARTE: Facturi, Balanță, Casă, Bancă (US-519: separate pages) * - ANALIZE: Scadențe, Facturi Detaliate * - ADMINISTRARE: Setări * - Visual separators between sections @@ -421,11 +421,12 @@ const principaleItems = [ { to: '/data-entry', icon: 'pi pi-receipt', label: 'Bonuri', exactMatch: false } ] -// RAPOARTE: Facturi, Balanță, Casa și Banca +// RAPOARTE: Facturi, Balanță, Casă, Bancă (US-519: separate pages) const rapoarteItems = [ { to: '/reports/invoices', icon: 'pi pi-file', label: 'Facturi', exactMatch: true }, { to: '/reports/trial-balance', icon: 'pi pi-calculator', label: 'Balanță', exactMatch: true }, - { to: '/reports/bank-cash', icon: 'pi pi-money-bill', label: 'Casa și Banca', exactMatch: true } + { to: '/reports/cash', icon: 'pi pi-wallet', label: 'Casă', exactMatch: true }, + { to: '/reports/bank', icon: 'pi pi-building', label: 'Bancă', exactMatch: true } ] // ANALIZE: Scadențe, Facturi Detaliate