@react-pakistan/util-functions 1.23.68 → 1.23.70
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.
|
@@ -142,6 +142,7 @@ var postQuoteInvoice = function (_a) { return __awaiter(void 0, [_a], void 0, fu
|
|
|
142
142
|
mappedServices = services.map(function (item) {
|
|
143
143
|
var itemToReturn = __assign({}, item);
|
|
144
144
|
delete itemToReturn.mode;
|
|
145
|
+
delete itemToReturn.rowTotal;
|
|
145
146
|
return itemToReturn;
|
|
146
147
|
});
|
|
147
148
|
}
|
|
@@ -208,7 +208,7 @@ export interface QuoteInvoiceBE {
|
|
|
208
208
|
products: Array<ProductBE>;
|
|
209
209
|
quoteStatus: 'DRAFT' | 'PENDING' | 'SENT' | 'ACCEPTED' | 'DECLINED';
|
|
210
210
|
ref: string;
|
|
211
|
-
services: Array<
|
|
211
|
+
services: Array<ServiceBE>;
|
|
212
212
|
subTotal: string;
|
|
213
213
|
taxValue: string;
|
|
214
214
|
total: string;
|
|
@@ -225,3 +225,14 @@ export interface TaxBE {
|
|
|
225
225
|
taxValue: string;
|
|
226
226
|
updatedAt: string;
|
|
227
227
|
}
|
|
228
|
+
export interface ServiceBE {
|
|
229
|
+
createdAt: string;
|
|
230
|
+
description?: string;
|
|
231
|
+
id: string;
|
|
232
|
+
name: string;
|
|
233
|
+
price: string;
|
|
234
|
+
quantity: string;
|
|
235
|
+
quoteInvoice: QuoteInvoiceBE;
|
|
236
|
+
quoteInvoiceId: string;
|
|
237
|
+
updatedAt: string;
|
|
238
|
+
}
|