feat(invoices): show customer name/phone, align meta column, totals left, JPEG

- Invoice PDF now shows the customer's full name and a phone row (sourced from
  the auth store for the user page, invoice.user for admin) instead of just email.
- Left-align all meta values into a single clean column (unicode-bidi:plaintext
  so Persian names stay RTL while phone/dates read LTR).
- Move the totals box to the left side of the page.
- Rasterize as JPEG (q0.9) instead of PNG to keep the file small (~130KB).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
keyhan
2026-06-20 00:41:17 +03:30
parent bc224a2291
commit 7438b44120
4 changed files with 41 additions and 16 deletions
+1
View File
@@ -712,6 +712,7 @@ const fa = {
colDesc: 'شرح اقلام',
colAmount: 'مبلغ',
customer: 'مشتری',
phone: 'تلفن تماس',
application: 'اپلیکیشن',
createdAt: 'تاریخ صدور',
paidAt: 'تاریخ پرداخت',