kcommons 18.0.11 → 18.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,6 +138,7 @@ export interface IQuoteItems extends ITaxRelatedItemInputs {
|
|
|
138
138
|
associated_vendor_quote_items: INestedVendorQuoteItem[] | null;
|
|
139
139
|
referenced_in_comparaitve_item_quantity: INestedComparativeItemsQuantitySplit[] | null;
|
|
140
140
|
custom_uom: INestedCustomUOM | null;
|
|
141
|
+
target_delivery_date: string | null;
|
|
141
142
|
}
|
|
142
143
|
export interface INestedQuoteItems extends Omit<IQuoteItems, "quote" | "item" | "rfq_item" | "referenced_comparative_item" | "associated_vendor_quote_items" | "referenced_in_comparaitve_item_quantity" | "custom_uom"> {
|
|
143
144
|
}
|
|
@@ -165,7 +165,7 @@ export interface IRFQItem {
|
|
|
165
165
|
corresponding_pr_item_id?: string | null;
|
|
166
166
|
target_delivery_date?: string | null;
|
|
167
167
|
target_price?: number | null;
|
|
168
|
-
gst
|
|
168
|
+
gst: number | null;
|
|
169
169
|
least_purchase_price?: number | null;
|
|
170
170
|
least_purchase_date?: string | null;
|
|
171
171
|
previous_purchase_price?: number | null;
|
|
@@ -26,6 +26,7 @@ describe("Get Initial Discount per unit rate", () => {
|
|
|
26
26
|
associated_vendor_quote_items: null,
|
|
27
27
|
referenced_in_comparaitve_item_quantity: null,
|
|
28
28
|
custom_uom: null,
|
|
29
|
+
target_delivery_date: null,
|
|
29
30
|
};
|
|
30
31
|
expect((0, quote_util_1.getInitialDiscountedPerUnitRate)(quoteItem)).toBe((0, taxes_util_1.getDiscountedPerUnitRate)(Object.assign(Object.assign({}, quoteItem), { per_unit_rate: quoteItem.initial_per_unit_rate, discount_type: quoteItem.initial_discount_type, discount_value: quoteItem.initial_discount_value })));
|
|
31
32
|
});
|
|
@@ -51,6 +52,7 @@ describe("Get Initial Discount per unit rate", () => {
|
|
|
51
52
|
associated_vendor_quote_items: null,
|
|
52
53
|
referenced_in_comparaitve_item_quantity: null,
|
|
53
54
|
custom_uom: null,
|
|
55
|
+
target_delivery_date: null,
|
|
54
56
|
};
|
|
55
57
|
expect((0, quote_util_1.getInitialDiscountedPerUnitRate)(quoteItem)).toBe(null);
|
|
56
58
|
});
|