This commit is contained in:
2026-05-12 20:03:12 +03:30
parent 561aca32d3
commit 219d2c201e
@@ -132,11 +132,12 @@ export class SharedSaleInvoiceSingleViewComponent {
}, },
{ {
label: 'شماره اقتصادی', label: 'شماره اقتصادی',
value: this.invoice.customer value:
? this.invoice.customer.type === 'LEGAL' (this.invoice.customer
? this.invoice.customer.legal?.economic_code ? this.invoice.customer.type === 'LEGAL'
: this.invoice.customer.individual?.economic_code || '-' ? this.invoice.customer.legal?.economic_code
: '-', : this.invoice.customer.individual?.economic_code || '-'
: '-') || '-',
}, },
], ],
}, },