@react-pakistan/util-functions 1.24.75 → 1.24.76
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.
|
@@ -175,13 +175,12 @@ var updateQuoteInvoice = function (_a) { return __awaiter(void 0, [_a], void 0,
|
|
|
175
175
|
!expiryDate ||
|
|
176
176
|
!invoiceStatus ||
|
|
177
177
|
!mode ||
|
|
178
|
-
!note ||
|
|
179
178
|
!quoteStatus ||
|
|
180
179
|
!ref ||
|
|
181
180
|
!subTotal ||
|
|
182
181
|
!taxRate ||
|
|
183
182
|
!total) {
|
|
184
|
-
throw new Error('Category, currency, date, discount unit, expiry date, invoice status, mode,
|
|
183
|
+
throw new Error('Category, currency, date, discount unit, expiry date, invoice status, mode, quote status, ref, sub total, tax rate, and total are required');
|
|
185
184
|
}
|
|
186
185
|
if (mode !== 'Create' && mode !== 'Edit') {
|
|
187
186
|
throw new Error('Mode must be either "Create" or "Edit"');
|