822bf96966
- Implemented CompanyNameComponent, DescriptionComponent, DeviceIdComponent, EconomicCodeComponent, EmailComponent, FirstNameComponent, FiscalCodeComponent, GuildIdComponent, LastNameComponent, LegalNameComponent, LicenseStartsAtComponent, MobileComponent, MobileNumberComponent, ModelComponent, NameComponent, NationalCodeComponent, NationalIdComponent, PartnerTokenComponent, PosTypeComponent, PostalCodeComponent, ProviderIdComponent, QuantityComponent, RegistrationCodeComponent, RegistrationNumberComponent, SerialNumberComponent, SetOffComponent, SkuComponent, TerminalComponent, UnitPriceComponent, UsernameComponent. - Added field control configurations for new fields in the form. - Updated routing and branding configurations for TIS tenant. - Created consumer type models for handling individual and legal consumer data.
24 lines
879 B
HTML
24 lines
879 B
HTML
<div class="flex flex-col gap-6">
|
|
<app-card-data cardTitle="اطلاعات مشتری" [editable]="true" [(editMode)]="editMode">
|
|
<ng-template #moreActions> </ng-template>
|
|
<div class="flex flex-col gap-4">
|
|
<div class="grid grid-cols-3 gap-4 items-center">
|
|
<app-key-value label="نام مشتری" [value]="consumer()?.name" />
|
|
<app-key-value label="نوع مشتری" [value]="consumer()?.type" />
|
|
<app-key-value label="وضعیت" [value]="consumer()?.status" />
|
|
</div>
|
|
</div>
|
|
</app-card-data>
|
|
|
|
<partner-consumer-account-list [consumerId]="consumerId()" />
|
|
<partner-consumer-businessActivities-list [consumerId]="consumerId()" />
|
|
|
|
<partner-consumer-form
|
|
[(visible)]="editMode"
|
|
[editMode]="true"
|
|
[consumerId]="consumerId()"
|
|
[initialValues]="consumer() || undefined"
|
|
(onSubmit)="getData()"
|
|
/>
|
|
</div>
|