4d64fda227
- Translate persisted English invoice line labels/descriptions/reasons to Persian at display time (new lib/invoice-labels.ts), covering both new and historical invoices without a data migration. - Generate a styled, RTL Persian invoice PDF on the client (lib/invoice-pdf.ts) with the Abrban logo, line-item table and totals, via html2canvas + jsPDF. - Wire both the user and admin invoice pages to the translator and new download. - Add invoices.pdf dictionary keys (fa/en). - Remove the now-dead ASCII-only backend PDF endpoints and generateInvoicePdf. - Add frontend/.npmrc (npmmirror registry + high timeouts) for Iran-network installs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 lines
136 B
Plaintext
6 lines
136 B
Plaintext
registry=https://registry.npmmirror.com
|
|
fetch-timeout=600000
|
|
fetch-retries=8
|
|
fetch-retry-mintimeout=20000
|
|
fetch-retry-maxtimeout=600000
|