providers create form added

This commit is contained in:
2025-11-27 16:42:20 +01:00
parent cbf01acb99
commit 6235df5482
7 changed files with 17 additions and 10 deletions

View File

@@ -2,13 +2,14 @@ import { Component } from '@angular/core';
import {NzModalComponent, NzModalModule} from "ng-zorro-antd/modal";
import {NzButtonComponent, NzButtonModule} from "ng-zorro-antd/button";
import {NzMessageService} from "ng-zorro-antd/message";
import {ProvidersAddForm} from "../providers-add-form/providers-add-form";
@Component({
selector: 'app-providers-card-form',
imports: [NzButtonModule, NzModalModule],
imports: [NzButtonModule, NzModalModule, ProvidersAddForm],
template: `
<button nz-button nzType="primary" (click)="showModal()">
<span>+</span>
<span style="font-weight: bold">+</span>
</button>
<nz-modal
[(nzVisible)]="isVisible"
@@ -17,10 +18,10 @@ import {NzMessageService} from "ng-zorro-antd/message";
[nzFooter]="modalFooter"
(nzOnCancel)="handleCancel()"
>
<ng-template #modalTitle style="text-align: center">Création de prestataires</ng-template>
<ng-template #modalTitle>Création de prestataires</ng-template>
<ng-template #modalContent>
<app-providers-add-form></app-providers-add-form>
<app-providers-add-form/>
</ng-template>
<ng-template #modalFooter>