redone 12.5

This commit is contained in:
Naser Mansour
2026-01-04 02:26:22 +02:00
parent e557fb1104
commit 45f029a1db
8 changed files with 169 additions and 145 deletions
@@ -152,13 +152,13 @@ $chartColors = [
## Dev Checklist
- [ ] Update `users-export.blade.php` colors
- [ ] Update `consultations-export.blade.php` colors
- [ ] Update `timelines-export.blade.php` colors
- [ ] Update `monthly-report.blade.php` colors
- [ ] Update `MonthlyReportService.php` chart colors
- [ ] Review `monthly-report.blade.php` Livewire component
- [ ] Update `PdfBrandColorsTest.php` color assertions
- [x] Update `users-export.blade.php` colors
- [x] Update `consultations-export.blade.php` colors
- [x] Update `timelines-export.blade.php` colors
- [x] Update `monthly-report.blade.php` colors
- [x] Update `MonthlyReportService.php` chart colors
- [x] Review `monthly-report.blade.php` Livewire component
- [x] Update `PdfBrandColorsTest.php` color assertions
- [ ] Test Users PDF export
- [ ] Test Consultations PDF export
- [ ] Test Timelines PDF export
@@ -182,27 +182,38 @@ $chartColors = [
## Dev Agent Record
### Status
Not Started - Ready for Implementation
Ready for Review
### Agent Model Used
(To be filled during implementation)
Claude Opus 4.5 (claude-opus-4-5-20251101)
### File List
**To be modified:**
- `resources/views/pdf/users-export.blade.php`
- `resources/views/pdf/consultations-export.blade.php`
- `resources/views/pdf/timelines-export.blade.php`
- `resources/views/pdf/monthly-report.blade.php`
- `app/Services/MonthlyReportService.php`
- `resources/views/livewire/admin/reports/monthly-report.blade.php`
- `tests/Feature/Admin/PdfBrandColorsTest.php`
**Modified:**
- `resources/views/pdf/users-export.blade.php` - Updated colors to new palette
- `resources/views/pdf/consultations-export.blade.php` - Updated colors to new palette
- `resources/views/pdf/timelines-export.blade.php` - Updated colors to new palette
- `resources/views/pdf/monthly-report.blade.php` - Updated colors to new palette
- `app/Services/MonthlyReportService.php` - Updated chart colors
- `resources/views/livewire/admin/reports/monthly-report.blade.php` - Updated TOC number badge colors
- `tests/Feature/Admin/PdfBrandColorsTest.php` - Updated color assertions
### Change Log
| Date | Change |
|------|--------|
| 2026-01-04 | Story updated with new Dark Charcoal & Warm Gold palette |
| 2026-01-04 | Implementation complete: All PDF templates and service updated |
### Completion Notes
(To be filled during implementation)
- All 4 PDF templates updated with new color palette:
- Dark Forest Green (#2D3624) for headers and table header backgrounds
- Warm Gold (#A68966) for accent text and highlights
- Gold Light (#C4A882) for borders
- Warm Cream (#F4F1EA) for backgrounds
- Forest Green (#2D322A) for body text
- White (#FFFFFF) for table header text
- MonthlyReportService chart colors updated (pie chart and trend line)
- Livewire monthly-report component TOC badges updated
- Test file updated with new color assertions - all 6 tests pass (44 assertions)
- Manual testing of PDF exports and print preview still required