diff --git a/scripts/ralph/prd.json b/scripts/ralph/prd.json index 76e89d1..40bc923 100644 --- a/scripts/ralph/prd.json +++ b/scripts/ralph/prd.json @@ -96,8 +96,8 @@ "MobileBottomNav activ", "npm run build passes" ], - "passes": false, - "notes": "" + "passes": true, + "notes": "Completed in iteration 2" }, { "id": "US-301", diff --git a/scripts/ralph/progress.txt b/scripts/ralph/progress.txt index eae3488..d6f7e36 100644 --- a/scripts/ralph/progress.txt +++ b/scripts/ralph/progress.txt @@ -1026,3 +1026,9 @@ User Stories: 11 (US-301 to US-311) [2026-01-12 16:34:08] Working on story: US-304 [2026-01-12 16:34:08] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_1_US-304.log) [2026-01-12 16:36:25] SUCCESS: Story US-304 passed! +[2026-01-12 16:36:26] Changes committed +[2026-01-12 16:36:26] Progress: 3/11 stories completed +[2026-01-12 16:36:28] === Iteration 2/100 === +[2026-01-12 16:36:28] Working on story: US-305 +[2026-01-12 16:36:28] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_2_US-305.log) +[2026-01-12 16:39:00] SUCCESS: Story US-305 passed! diff --git a/src/modules/reports/components/dashboard/cards/MaturityAndDetailsCard.vue b/src/modules/reports/components/dashboard/cards/MaturityAndDetailsCard.vue index 875554c..45644fe 100644 --- a/src/modules/reports/components/dashboard/cards/MaturityAndDetailsCard.vue +++ b/src/modules/reports/components/dashboard/cards/MaturityAndDetailsCard.vue @@ -45,9 +45,10 @@
-
- -
+ +
+ +
Clienți - De încasat {{ formatCurrency(clientsTotal) }} @@ -86,11 +87,11 @@
- -
+ +
- -
+ +
Furnizori - De plătit {{ formatCurrency(suppliersTotal) }} @@ -512,6 +513,17 @@ const props = defineProps({ type: [Number, String], required: true, }, + // US-305: Active tab for mobile view (clients/suppliers) + activeTab: { + type: String, + default: 'clients', + validator: (value) => ['clients', 'suppliers'].includes(value), + }, + // US-305: Is mobile view + isMobile: { + type: Boolean, + default: false, + }, }); // Emits @@ -1689,14 +1701,24 @@ onMounted(() => { display: table; } +/* US-305: Mobile single view - show only active tab */ +.comparison-section.mobile-single-view { + grid-template-columns: 1fr; + gap: 0; +} + +.comparison-section.mobile-single-view .comparison-side { + width: 100%; +} + /* Responsive - Tablet */ @media (max-width: 1024px) { - .comparison-section { + .comparison-section:not(.mobile-single-view) { grid-template-columns: 1fr; gap: 1.5rem; } - .comparison-divider { + .comparison-section:not(.mobile-single-view) .comparison-divider { display: none; } } diff --git a/src/modules/reports/views/MaturityAnalysisView.vue b/src/modules/reports/views/MaturityAnalysisView.vue index b989042..e21f1a6 100644 --- a/src/modules/reports/views/MaturityAnalysisView.vue +++ b/src/modules/reports/views/MaturityAnalysisView.vue @@ -2,12 +2,32 @@ -
+ +
+
+ + +
+
+ +