ea458c7b72
Production CI / validate-and-build (push) Failing after 1m6s
- Updated column headers and labels in various components and constants to reflect the new terminology. - Changed the titles and placeholders in forms and dialogs to use "مودی" and "PSP". - Adjusted routing titles and menu items to align with the new naming conventions. - Refactored related constants and configurations to ensure consistency throughout the application.
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
<div class="flex flex-col gap-4">
|
|
<app-card-data cardTitle="اطلاعات مودی" [(editMode)]="editMode">
|
|
<ng-template #moreActions> </ng-template>
|
|
<div class="flex flex-col gap-4">
|
|
<div class="listKeyValue">
|
|
<app-key-value label="نام" [value]="consumer()?.name" />
|
|
<app-key-value label="نوع" [value]="consumer()?.type?.translate" />
|
|
@if (consumer()?.type?.value === 'LEGAL') {
|
|
<app-key-value label="شناسه ملی" [value]="consumer()?.legal?.registration_code" />
|
|
} @else {
|
|
<app-key-value label="شماره موبایل" [value]="consumer()?.individual?.mobile_number" />
|
|
<app-key-value label="کد ملی" [value]="consumer()?.individual?.national_code" />
|
|
}
|
|
<app-key-value label="وضعیت" [value]="consumer()?.status?.value === 'ACTIVE'" type="active" />
|
|
</div>
|
|
</div>
|
|
</app-card-data>
|
|
|
|
<div class="summaryList">
|
|
<superAdmin-consumer-businessActivities-list [consumerId]="consumerId()" />
|
|
</div>
|
|
<div class="summaryList">
|
|
<superAdmin-consumer-account-list [consumerId]="consumerId()" />
|
|
</div>
|
|
|
|
<superAdmin-consumer-form
|
|
[(visible)]="editMode"
|
|
[editMode]="true"
|
|
[consumerId]="consumerId()"
|
|
[initialValues]="consumer() || undefined"
|
|
(onSubmit)="getData()" />
|
|
</div>
|