3bc1202c77
- Added ProductCategoriesService for handling product category API interactions. - Created components for listing and viewing product categories. - Implemented UI for managing product categories with a data list component. - Developed StoresService for managing store-related API calls. - Created components for listing and viewing stores with appropriate UI. - Added SuppliersService for handling supplier API interactions. - Implemented components for managing suppliers with a data list component. - Developed UsersService for managing user-related API calls. - Created components for listing and viewing users with appropriate UI. - Enhanced not found page with improved layout and navigation options.
15 lines
1.1 KiB
HTML
15 lines
1.1 KiB
HTML
<p-dialog header="فرم تامینکننده" [(visible)]="visible" [modal]="true" [style]="{ width: '600px' }" [closable]="true">
|
|
<form [formGroup]="form" (submit)="submit()" class="flex flex-col gap-4">
|
|
<app-input label="نام" [control]="form.controls.firstName" name="firstName" />
|
|
<app-input label="نام خانوادگی" [control]="form.controls.lastName" name="lastName" />
|
|
<app-input label="ایمیل" [control]="form.controls.email" name="email" type="email" />
|
|
<app-input label="شماره موبایل" [control]="form.controls.mobileNumber" name="mobileNumber" type="mobile" />
|
|
<app-input label="آدرس" [control]="form.controls.address" name="address" />
|
|
<app-input label="شهر" [control]="form.controls.city" name="city" />
|
|
<app-input label="استان" [control]="form.controls.state" name="state" />
|
|
<app-input label="کشور" [control]="form.controls.country" name="country" />
|
|
<app-input label="فعال" [control]="form.controls.isActive" name="isActive" type="switch" />
|
|
<app-form-footer-actions [submitLabel]="'ذخیره'" [loading]="form.disabled" (onCancel)="close()" />
|
|
</form>
|
|
</p-dialog>
|