feat: replace national_id with economic_code in customer forms and models
Production CI / validate-and-build (push) Failing after 1m1s
Production CI / validate-and-build (push) Failing after 1m1s
This commit is contained in:
@@ -150,5 +150,5 @@ interface ConsumerAccount {
|
||||
|
||||
interface UnknownCustomer {
|
||||
name?: string;
|
||||
national_code?: string;
|
||||
economic_code?: string;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<app-key-value label="نوع مشتری" value="حقوقی" />
|
||||
<app-key-value label="نام شرکت" [value]="invoice.customer.legal?.company_name" />
|
||||
<app-key-value label="کد اقتصادی" [value]="invoice.customer.legal?.economic_code" />
|
||||
<app-key-value label="کد ثبتی" [value]="invoice.customer.legal?.registration_number" />
|
||||
<app-key-value label="شماره ثبت" [value]="invoice.customer.legal?.registration_number" />
|
||||
<app-key-value label="کد پستی" [value]="invoice.customer.legal?.postal_code" />
|
||||
}
|
||||
</div>
|
||||
@@ -69,7 +69,7 @@
|
||||
<div class="listKeyValue">
|
||||
<app-key-value label="نوع مشتری" value="نوع دوم" />
|
||||
<app-key-value label="عنوان" [value]="invoice.unknown_customer.name" />
|
||||
<app-key-value label="کد ثبتی" [value]="invoice.unknown_customer.national_code" />
|
||||
<app-key-value label="کد اقتصادی" [value]="invoice.unknown_customer.economic_code" />
|
||||
</div>
|
||||
} @else {
|
||||
<p class="text-text-color pt-3 pb-5 text-center">اطلاعات مشتری ثبت نشده است.</p>
|
||||
|
||||
Reference in New Issue
Block a user