port-nimara-client-portal/server/api/expenses
Matt 438312c469 fix: Resolve PDF generation error and improve button spacing
 **Fixed PDF Generation Error:**
- Changed createError to use 'message' instead of 'statusMessage' for long error messages
- Resolves h3 warning about preferring 'message' for longer error messages
- PDF generation now properly calculates totals and provides helpful user feedback

 **Improved Export Button Spacing:**
- Added proper spacing between 'Export Options:' label and buttons (mr-6)
- Increased gap between CSV and PDF buttons (gap-4)
- Changed button size from 'small' to 'default' for better appearance
- Added horizontal padding to buttons (px-6) for consistent sizing
- Wrapped buttons in separate div for better layout control

� **User Experience Improvements:**
- More professional button layout with consistent spacing
- Better visual separation between label and action buttons
- Improved readability and click targets for export actions
- PDF generation provides detailed feedback with calculated totals
2025-07-09 14:55:21 -04:00
..
export-csv.ts Add role-based authorization system with admin functionality 2025-07-09 10:40:27 -04:00
generate-pdf.ts fix: Resolve PDF generation error and improve button spacing 2025-07-09 14:55:21 -04:00