created quotation page
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
<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;">
|
||||
@@ -27,14 +26,27 @@
|
||||
<th>Réference</th>
|
||||
<th>Nom</th>
|
||||
<th>Quantité</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="text-center">
|
||||
<tr>
|
||||
<td>{{data.quotationProductReference}}</td>
|
||||
<td>{{data.quotationProductName}}</td>
|
||||
<td>{{data.quotationProductQuantity}}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{{data.quotationProductReference}}</td>
|
||||
<td>{{data.quotationProductName}}</td>
|
||||
<td>{{data.quotationProductQuantity}}</td>
|
||||
<td>
|
||||
<div style="justify-content: center; display: flex">
|
||||
<app-modal-nav nameIcon="edit" name="Modification du produit" class="cursor-pointer">
|
||||
<app-product-form></app-product-form>
|
||||
</app-modal-nav>
|
||||
<nz-divider nzType="vertical"></nz-divider>
|
||||
<div>
|
||||
<nz-icon nzType="delete" nzTheme="outline" class="cursor-pointer text-red-700"/>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</nz-table>
|
||||
|
||||
@@ -5,11 +5,17 @@ import {ModalNav} from "../modal-nav/modal-nav";
|
||||
import {NzDividerComponent} from "ng-zorro-antd/divider";
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {QuotationForm} from "../quotation-form/quotation-form";
|
||||
import {ProductTable} from "../product-table/product-table";
|
||||
|
||||
interface QuotationInfo {
|
||||
quotationId: number;
|
||||
quotationMessage?: string;
|
||||
quotationConditionsSale?: string;
|
||||
quotationProduct: [
|
||||
{ quotationProductReference: string; },
|
||||
{ quotationProductName: string; },
|
||||
{ quotationProductQuantity?: number; },
|
||||
],
|
||||
quotationProductReference: string;
|
||||
quotationProductName: string;
|
||||
quotationProductQuantity?: number;
|
||||
@@ -36,28 +42,43 @@ export class QuotationTable {
|
||||
quotationId: 101,
|
||||
quotationMessage: 'Livraison urgente demandée',
|
||||
quotationConditionsSale: 'Paiement à 30 jours',
|
||||
quotationProduct: [
|
||||
{ quotationProductReference: 'DLV-1000' },
|
||||
{ quotationProductName: 'Produit1'},
|
||||
{ quotationProductQuantity: 5 },
|
||||
],
|
||||
quotationProductReference: 'DLV-1000',
|
||||
quotationProductName: 'Produit1',
|
||||
quotationProductQuantity: 5,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
Supplier: 'Fireworkssupplier&Co'
|
||||
},
|
||||
{
|
||||
quotationId: 102,
|
||||
quotationMessage: 'Livraison standard',
|
||||
quotationConditionsSale: 'Payé d\'avance',
|
||||
quotationProduct: [
|
||||
{ quotationProductReference: 'DLV-1001' },
|
||||
{ quotationProductName: 'Produit2'},
|
||||
{ quotationProductQuantity: 6 },
|
||||
],
|
||||
quotationProductReference: 'DLV-1001',
|
||||
quotationProductName: 'Produit2',
|
||||
quotationProductQuantity: 6,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
Supplier: 'Fireworkssupplier&Co'
|
||||
},
|
||||
{
|
||||
quotationId: 103,
|
||||
quotationMessage: 'Livraison rapide',
|
||||
quotationConditionsSale: 'Paiement à 15 jours',
|
||||
quotationProduct: [
|
||||
{ quotationProductReference: 'DLV-1003' },
|
||||
{ quotationProductName: 'Produit3'},
|
||||
{ quotationProductQuantity: 7 },
|
||||
],
|
||||
quotationProductReference: 'DLV-1002',
|
||||
quotationProductName: 'Produit3',
|
||||
quotationProductQuantity: 7,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
Supplier: 'Fireworkssupplier&Co'
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user