@react-pakistan/util-functions 1.24.74 → 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, note, quote status, ref, sub total, tax rate, and total are required');
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"');
@@ -182,7 +182,7 @@ export interface CustomerBE extends TimestampFields {
182
182
  email?: string;
183
183
  firstName: string;
184
184
  id: string;
185
- invoices: Array<QuoteInvoiceBE>;
185
+ quotesInvoices: Array<QuoteInvoiceBE>;
186
186
  lastName: string;
187
187
  phone: string;
188
188
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.24.74",
3
+ "version": "1.24.76",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {