providers create form added
This commit is contained in:
@@ -1 +1 @@
|
||||
<p>customers works!</p>
|
||||
<app-customers-card-form/>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {CustomersCardForm} from "./customers-card-form/customers-card-form";
|
||||
|
||||
@Component({
|
||||
selector: 'app-customers',
|
||||
imports: [],
|
||||
imports: [
|
||||
CustomersCardForm
|
||||
],
|
||||
templateUrl: './customers.html',
|
||||
styleUrl: './customers.css',
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<app-providers-card-form></app-providers-card-form>
|
||||
<app-providers-card-form/>
|
||||
@@ -1 +1 @@
|
||||
<p>staff works!</p>
|
||||
<app-staff-card-form/>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {StaffCardForm} from "./staff-card-form/staff-card-form";
|
||||
|
||||
@Component({
|
||||
selector: 'app-staff',
|
||||
imports: [],
|
||||
imports: [
|
||||
StaffCardForm
|
||||
],
|
||||
templateUrl: './staff.html',
|
||||
styleUrl: './staff.css',
|
||||
})
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
// Override less variables to here
|
||||
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
|
||||
|
||||
// @primary-color: #1890ff;
|
||||
@primary-color: #1c1c1c;
|
||||
|
||||
Reference in New Issue
Block a user