removed some unnecessary data
This commit is contained in:
@@ -7,21 +7,13 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {QuotationForm} from "../quotation-form/quotation-form";
|
||||
|
||||
interface QuotationInfo {
|
||||
quantity: number;
|
||||
quotationId: number;
|
||||
quotationMessage?: string;
|
||||
quotationConditionsSale?: string;
|
||||
productId: number;
|
||||
productReferences: number;
|
||||
productName?: string;
|
||||
productDuration: number;
|
||||
productCaliber: number;
|
||||
productApprovalNumber: number;
|
||||
productWeight: number;
|
||||
productNec: number;
|
||||
productImage?: string;
|
||||
productLink?: string;
|
||||
productMinimalQuantity: number;
|
||||
quotationProductReference: string;
|
||||
quotationProductName: string;
|
||||
quotationProductQuantity?: number;
|
||||
Supplier?: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
@@ -41,55 +33,31 @@ interface QuotationInfo {
|
||||
export class QuotationTable {
|
||||
quotations: QuotationInfo[] = [
|
||||
{
|
||||
quantity: 10,
|
||||
quotationId: 101,
|
||||
quotationMessage: 'Livraison urgente demandée',
|
||||
quotationConditionsSale: 'Paiement à 30 jours',
|
||||
productId: 5001,
|
||||
productReferences: 123456,
|
||||
productName: 'Feu d\'artifice A',
|
||||
productDuration: 45.5,
|
||||
productCaliber: 30,
|
||||
productApprovalNumber: 998877,
|
||||
productWeight: 1.5,
|
||||
productNec: 0.5,
|
||||
productImage: 'url_to_image_a',
|
||||
productLink: 'http://example.com/product/a',
|
||||
productMinimalQuantity: 5
|
||||
quotationProductReference: 'DLV-1000',
|
||||
quotationProductName: 'Produit1',
|
||||
quotationProductQuantity: 5,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
},
|
||||
{
|
||||
quantity: 20,
|
||||
quotationId: 102,
|
||||
quotationMessage: 'Livraison standard',
|
||||
quotationConditionsSale: 'Payé d\'avance',
|
||||
productId: 5002,
|
||||
productReferences: 654321,
|
||||
productName: 'Feu d\'artifice B',
|
||||
productDuration: 60.0,
|
||||
productCaliber: 50,
|
||||
productApprovalNumber: 112233,
|
||||
productWeight: 2.0,
|
||||
productNec: 0.8,
|
||||
productImage: 'url_to_image_b',
|
||||
productLink: 'http://example.com/product/b',
|
||||
productMinimalQuantity: 10
|
||||
quotationProductReference: 'DLV-1001',
|
||||
quotationProductName: 'Produit2',
|
||||
quotationProductQuantity: 6,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
},
|
||||
{
|
||||
quantity: 5,
|
||||
quotationId: 103,
|
||||
quotationMessage: null,
|
||||
quotationMessage: 'Livraison rapide',
|
||||
quotationConditionsSale: 'Paiement à 15 jours',
|
||||
productId: 5003,
|
||||
productReferences: 789012,
|
||||
productName: 'Feu d\'artifice C',
|
||||
productDuration: 30.0,
|
||||
productCaliber: 25,
|
||||
productApprovalNumber: 445566,
|
||||
productWeight: 1.0,
|
||||
productNec: 0.3,
|
||||
productImage: null,
|
||||
productLink: null,
|
||||
productMinimalQuantity: 1
|
||||
quotationProductReference: 'DLV-1002',
|
||||
quotationProductName: 'Produit3',
|
||||
quotationProductQuantity: 7,
|
||||
Supplier: 'fireworkssupplier&Co'
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user