feat(tahesab): PDF invoice export for asnad cards

Add per-document PDF print from account details, plus org invoice settings for logo and texts separate from CRM invoices.
This commit is contained in:
2026-10-24 12:34:02 +03:30
parent 7d9fc8447f
commit f50246dc46
11 changed files with 871 additions and 11 deletions
+24
View File
@@ -4165,6 +4165,30 @@ export interface TahesabAsnadSummaryDto {
lastSyncedAt: string | null;
}
/** تنظیمات ظاهر فاکتور PDF اسناد ته‌حساب (جدا از فاکتور CRM) */
export interface TahesabInvoiceSettingsDto {
id: string;
organizationId: string;
logoDataUrl: string | null;
companyName: string;
companySubtitle: string;
address: string;
phone: string;
headerText: string;
footerText: string;
updatedAt: string;
}
export interface UpdateTahesabInvoiceSettingsRequest {
logoDataUrl?: string | null;
companyName?: string;
companySubtitle?: string;
address?: string;
phone?: string;
headerText?: string;
footerText?: string;
}
export interface MandehValueDto {
amount: string | number;
unit: string;