64 lines
2.5 KiB
HTML
64 lines
2.5 KiB
HTML
<nz-table #basicTable [nzData]="quotations" class="mr-7">
|
|
<thead>
|
|
<tr class="text-center">
|
|
<th>Numéro de Devis</th>
|
|
<th>Message</th>
|
|
<th>Conditions de vente</th>
|
|
<th>Fournisseur</th>
|
|
<th>Produit</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
</thead >
|
|
<tbody class="text-center">
|
|
@for (data of basicTable.data; track data) {
|
|
<tr>
|
|
<td>{{data.quotationId}}</td>
|
|
<td>{{data.quotationMessage}}</td>
|
|
<td>{{data.quotationConditionsSale}}</td>
|
|
<td>{{data.Supplier}}</td>
|
|
|
|
|
|
<td>
|
|
<app-modal-button type="link" name="Voir les produits">
|
|
<div style="max-height: 400px; overflow-y: auto;">
|
|
<nz-table>
|
|
<thead>
|
|
<tr class="text-center">
|
|
<th>Ré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>
|
|
</nz-table>
|
|
</div>
|
|
</app-modal-button>
|
|
</td>
|
|
<td>
|
|
<div style="justify-content: center; display: flex">
|
|
<app-modal-nav nameIcon="edit" name="Modification du devis" class="cursor-pointer">
|
|
<app-quotation-form></app-quotation-form>
|
|
</app-modal-nav>
|
|
<nz-divider nzType="vertical"></nz-divider>
|
|
<div>
|
|
<nz-icon nzType="delete" nzTheme="outline" class="cursor-pointer text-red-700"/>
|
|
</div>
|
|
<nz-divider nzType="vertical"></nz-divider>
|
|
<div>
|
|
<nz-icon nzType="export" nzTheme="outline" class="cursor-pointer text-green-700"/>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</nz-table>
|
|
|