fix modal size
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<tr>
|
||||
<td>{{deliverer.transporter}}</td>
|
||||
<td>
|
||||
<app-modal-button type="link" name="Voir tout les bons de livraison">
|
||||
<app-modal-button type="link" name="Voir tout les bons de livraison" size="50%">
|
||||
<div style="max-height: 400px; overflow-y: auto;">
|
||||
<nz-table [nzData]="deliverers()"
|
||||
[nzFrontPagination]="false">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Transporteur
|
||||
</nz-form-label>
|
||||
|
||||
<nz-form-control nzSpan="12" nzErrorTip="Ce champ est requis">
|
||||
<nz-form-control nzSpan="9" nzErrorTip="Ce champ est requis">
|
||||
<nz-select formControlName="deliverer" [nzPlaceHolder]="'Choisir un transporteur'" nzShowSearch [nzFilterOption]="filter">
|
||||
@for (deliverer of deliverers(); track deliverer.id) {
|
||||
<nz-option [nzValue]="deliverer.id" [nzLabel]="deliverer.transporter"></nz-option>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<td>{{deliveryNote.estimateDeliveryDate | date: 'dd/MM/yyyy'}}</td>
|
||||
<td>{{deliveryNote.realDeliveryDate | date: 'dd/MM/yyyy'}}</td>
|
||||
<td>
|
||||
<app-modal-button type="link" name="Voir les produits">
|
||||
<app-modal-button type="link" name="Voir les produits" size="40%">
|
||||
<div style="max-height: 400px; overflow-y: auto;">
|
||||
<nz-table [nzData]="deliveryNotes()"
|
||||
[nzFrontPagination]="false">
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
(nzOnOk)="handleOk()"
|
||||
[nzOkLoading]="isOkLoading"
|
||||
[nzContent]="modalContent"
|
||||
[nzWidth]="size()"
|
||||
>
|
||||
</nz-modal>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
})
|
||||
|
||||
export class ModalButton {
|
||||
size = input<string>();
|
||||
name = input.required<string>()
|
||||
type = input<"primary" | "default" | "dashed" | "link" | "text">()
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<td>{{purchaseOrder.purchaseConditions}}</td>
|
||||
<td>Fournisseur ???</td>
|
||||
<td>
|
||||
<app-modal-button type="link" name="Voir les produits">
|
||||
<app-modal-button type="link" name="Voir les produits" size="45%">
|
||||
<div style="max-height: 400px; overflow-y: auto;">
|
||||
<nz-table [nzData]="purchaseOrders()"
|
||||
[nzFrontPagination]="false">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<td>{{quotation.message}}</td>
|
||||
<td>{{quotation.conditionsSale}}</td>
|
||||
<td>
|
||||
<app-modal-button type="link" name="Voir les produits">
|
||||
<app-modal-button type="link" name="Voir les produits" size="45%">
|
||||
<div style="max-height: 400px; overflow-y: auto;">
|
||||
<nz-table>
|
||||
<thead>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<td>{{ supplier.city }}</td>
|
||||
<td>{{ supplier.deliveryDelay }} jours</td>
|
||||
<td>
|
||||
<app-modal-button type="link" [name]="'Voir les produits'">
|
||||
<app-modal-button type="link" [name]="'Voir les produits'" size="40%">
|
||||
<nz-table [nzData]="suppliers()"
|
||||
[nzFrontPagination]="false">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user