feat(unified-mobile-desktop-ui): Complete US-519 - Separare Casă și Bancă în Pagini Distincte

Implemented by Ralph autonomous loop.
Iteration: 21

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-01-12 23:46:11 +00:00
parent 8e74b3291f
commit dce2140f65
7 changed files with 2340 additions and 9 deletions

View File

@@ -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' }
]
},

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -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',

View File

@@ -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