removed some unnecessary data

This commit is contained in:
2025-11-20 16:41:38 +01:00
parent e269848f82
commit 49dea174c3
5 changed files with 45 additions and 199 deletions

View File

@@ -1,12 +1,11 @@
<nz-table #basicTable [nzData]="quotations" class="mr-7">
<thead>
<tr class="text-center">
<th>ID Devis</th>
<th>Nom du produit</th>
<th>Quantité</th>
<th>Numéro de Devis</th>
<th>Message</th>
<th>Conditions de vente</th>
<th>Détails produit</th>
<th>Fournisseur</th>
<th>Produit</th>
<th>Action</th>
</tr>
</thead >
@@ -14,27 +13,31 @@
@for (data of basicTable.data; track data) {
<tr>
<td>{{data.quotationId}}</td>
<td>{{data.productName}}</td>
<td>{{data.quantity}}</td>
<td>{{data.quotationMessage}}</td>
<td>{{data.quotationConditionsSale}}</td>
<td>{{data.Supplier}}</td>
<td>
<app-modal-button type="link" name="Voir détails">
<app-modal-button type="link" name="Voir les produits">
<div style="max-height: 400px; overflow-y: auto;">
<table style="width: 100%; text-align: left;">
<tbody>
<tr><th style="padding: 8px; font-weight: 600;">ID Produit:</th><td style="padding: 8px;">{{data.productId}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Référence:</th><td style="padding: 8px;">{{data.productReferences}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Durée:</th><td style="padding: 8px;">{{data.productDuration}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Calibre:</th><td style="padding: 8px;">{{data.productCaliber}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Numéro d'approbation:</th><td style="padding: 8px;">{{data.productApprovalNumber}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Poids:</th><td style="padding: 8px;">{{data.productWeight}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">NEC:</th><td style="padding: 8px;">{{data.productNec}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Quantité min:</th><td style="padding: 8px;">{{data.productMinimalQuantity}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Image:</th><td style="padding: 8px;">{{data.productImage}}</td></tr>
<tr><th style="padding: 8px; font-weight: 600;">Lien:</th><td style="padding: 8px;">{{data.productLink}}</td></tr>
<nz-table>
<thead>
<tr class="text-center">
<th>ference</th>
<th>Nom</th>
<th>Quantité</th>
</tr>
</thead>
<tbody class="text-center">
<tr>
<td>{{data.quotationProductReference}}</td>
<td>{{data.quotationProductName}}</td>
<td>{{data.quotationProductQuantity}}</td>
</tr>
</tbody>
</table>
</nz-table>
</div>
</app-modal-button>
</td>