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:
@@ -713,6 +713,7 @@ const en: Dictionary = {
|
||||
colDesc: 'Description',
|
||||
colAmount: 'Amount',
|
||||
customer: 'Customer',
|
||||
phone: 'Phone',
|
||||
application: 'Application',
|
||||
createdAt: 'Issued on',
|
||||
paidAt: 'Paid on',
|
||||
|
||||
@@ -712,6 +712,7 @@ const fa = {
|
||||
colDesc: 'شرح اقلام',
|
||||
colAmount: 'مبلغ',
|
||||
customer: 'مشتری',
|
||||
phone: 'تلفن تماس',
|
||||
application: 'اپلیکیشن',
|
||||
createdAt: 'تاریخ صدور',
|
||||
paidAt: 'تاریخ پرداخت',
|
||||
|
||||
Reference in New Issue
Block a user