@appcorp/stellar-solutions-invoice-module 0.1.17 → 0.1.19

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.
@@ -392,7 +392,6 @@ exports.staticProductSection = (_d = {},
392
392
  ],
393
393
  _d);
394
394
  exports.INVOICE_API_ROUTES = {
395
- // INVOICES: process.env.NODE_ENV === 'production' ? '/api/quotes-invoices' : 'https://stellar-solutions-pattern.vercel.app/api/quotes-invoices',
396
395
  INVOICES: '/api/quotes-invoices',
397
396
  INVOICE: '/api/quote-invoice',
398
397
  INVOICE_BY_ID: '/api/quote-invoice/quote-invoice-by-id',
@@ -410,14 +409,14 @@ exports.tableBodyCols = [
410
409
  componentType: vista_table_type_1.VISTA_TABLE_CELL_TYPE.TEXT,
411
410
  key: 'currency',
412
411
  },
413
- {
414
- componentType: vista_table_type_1.VISTA_TABLE_CELL_TYPE.TEXT,
415
- key: 'status',
416
- },
417
412
  {
418
413
  componentType: vista_table_type_1.VISTA_TABLE_CELL_TYPE.MULTIPLE_TEXT_LINES,
419
414
  key: ['issueDate', 'expiryDate'],
420
415
  },
416
+ {
417
+ componentType: vista_table_type_1.VISTA_TABLE_CELL_TYPE.TEXT,
418
+ key: 'note',
419
+ },
421
420
  {
422
421
  componentType: vista_table_type_1.VISTA_TABLE_CELL_TYPE.TEXT,
423
422
  key: 'ref',
@@ -146,7 +146,6 @@ var useInvoiceState = function () {
146
146
  id: state.id,
147
147
  invoiceStatus: state.invoiceStatus,
148
148
  note: state.note,
149
- payments: state.payments,
150
149
  products: state.products,
151
150
  quoteStatus: state.quoteStatus,
152
151
  ref: state.ref,
@@ -154,6 +153,7 @@ var useInvoiceState = function () {
154
153
  subTotal: state.subTotal,
155
154
  taxValue: state.taxValue,
156
155
  total: state.total,
156
+ mode: state.mode,
157
157
  }); }, [state]);
158
158
  var updateCallback = function (_a) {
159
159
  var data = _a.data, error = _a.error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/stellar-solutions-invoice-module",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",