Destructured API data and updated date formatting for issue and due dates. Added back payments and notes components, updated styling, and date format with comma-separated values.
Properly destructured the API data to extract relevant fields for the invoice.
Added comma-separated formatting for dates.
The due date is calculated by adding 7 days to the issue date.
Improved the truncating styling for better visual consistency.
Destructured API data and updated date formatting for issue and due dates. Added back payments and notes components, updated styling, and date format with comma-separated values.