added deliverery note page with deliverery-note-form and deliverert-note-table

This commit is contained in:
2025-11-15 16:25:22 +01:00
parent d43f46b906
commit 5ab1ce4d5b
14 changed files with 431 additions and 27 deletions

View File

@@ -1,12 +1,12 @@
<nz-table #basicTable [nzData]="listOfDeliverers" class="mr-7">
<nz-table #basicTable [nzData]="listOfDeliverers">
<thead>
<tr>
<tr class="text-center">
<th>Transporteur</th>
<th>Bon de livraison</th>
<th style="text-align: center;">Action</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tbody class="text-center">
@for (data of basicTable.data; track data) {
<tr>
<td>{{data.transporter}}</td>
@@ -15,14 +15,14 @@
<div style="max-height: 400px; overflow-y: auto;">
<nz-table [nzData]="data.deliveryNote">
<thead>
<tr>
<tr class="text-center">
<th>Numéro de livraison</th>
<th>Date d'expédition</th>
<th>Date de livraison estimée</th>
<th>Date de livraison finale</th>
<th>Date de livraison réelle</th>
</tr>
</thead>
<tbody>
<tbody class="text-center">
@for (deliveryInfo of data.deliveryNote; track deliveryInfo) {
<tr>
<td>{{deliveryInfo.trackingNumber}}</td>
@@ -38,7 +38,7 @@
</td>
<td>
<div style="justify-content: center; display: flex">
<app-modal-nav nameIcon="edit" name="Modification de l'utilisateur" class="cursor-pointer">
<app-modal-nav nameIcon="edit" name="Modification du transporteur" class="cursor-pointer">
<app-deliverer-form></app-deliverer-form>
</app-modal-nav>
<nz-divider nzType="vertical"></nz-divider>