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