Skip to content

Add gray fill and grid borders to invoice Excel export - #864

Merged
rzueger merged 1 commit into
developfrom
claude/invoice-xlsx-export-colors-0uawv6
Aug 25, 2026
Merged

Add gray fill and grid borders to invoice Excel export#864
rzueger merged 1 commit into
developfrom
claude/invoice-xlsx-export-colors-0uawv6

Conversation

@rzueger

@rzueger rzueger commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Give the title, subheader and header rows of the invoice recipients Excel export a light gray background, matching the reference report.
  • Draw thin black borders around the subheader, header, data and totals rows to form the same table grid as the reference.
  • Fill the title row's banner across the widest table's full column count (rather than sizing it to the title text), since Excel's column-width units don't reliably predict how far the title's larger, bold font actually overflows.

Test plan

  • npm run typecheck
  • npx jest src/util/InvoicesExcelReport.spec.ts (48 tests, including new coverage for the fill/border styling)

Generated by Claude Code

Give the title, subheader and header rows a light gray background
and draw thin black borders around the subheader, header, data and
totals rows, so the exported workbook has the same table styling as
the reference invoice recipients report.

The title row's banner fill spans the widest table's full column
count rather than being sized to the title text, since Excel's
column-width units don't reliably predict how far the title's
larger, bold font actually overflows.
@rzueger
rzueger merged commit ef4820f into develop Aug 25, 2026
3 of 4 checks passed
@rzueger
rzueger deleted the claude/invoice-xlsx-export-colors-0uawv6 branch August 25, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants