@appcorp/stellar-solutions-invoice-module 0.1.64 → 0.1.66

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.
@@ -93,6 +93,7 @@ exports.tableBodyCols = [
93
93
  {
94
94
  componentType: enhanced_table_1.COMPONENT_TYPE.TEXT,
95
95
  key: "paymentType",
96
+ textFormatter: function (text) { return (0, util_functions_1.enumToText)(text); },
96
97
  },
97
98
  {
98
99
  componentType: enhanced_table_1.COMPONENT_TYPE.OBJECT,
@@ -113,6 +113,8 @@ var usePaymentState = function () {
113
113
  currentPage: state.currentPage,
114
114
  pageLimit: state.pageLimit,
115
115
  searchQuery: state.searchQuery,
116
+ includeQuoteInvoice: true,
117
+ includePaymentMode: true,
116
118
  }); }, [state.currentPage, state.pageLimit, state.searchQuery]);
117
119
  var updateParams = (0, react_1.useMemo)(function () {
118
120
  var _a, _b;
@@ -278,6 +280,7 @@ var usePaymentState = function () {
278
280
  payload: { drawer: types_1.PAYMENT_DRAWER.PAYMENT_FORM_DRAWER },
279
281
  });
280
282
  }
283
+ (0, util_functions_1.removeStorageValue)("paymentInvoiceId");
281
284
  }
282
285
  }, [invoices]);
283
286
  // ---------------------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/stellar-solutions-invoice-module",
3
- "version": "0.1.64",
3
+ "version": "0.1.66",
4
4
  "scripts": {
5
5
  "automate": "./automate.sh",
6
6
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
@@ -35,7 +35,7 @@
35
35
  "@radix-ui/react-separator": "^1",
36
36
  "@radix-ui/react-slot": "^1",
37
37
  "@radix-ui/react-switch": "^1",
38
- "@react-pakistan/util-functions": "^1.24.86",
38
+ "@react-pakistan/util-functions": "^1.24.89",
39
39
  "@supabase/supabase-js": "^2",
40
40
  "@tailwindcss/forms": "^0",
41
41
  "@tailwindcss/postcss": "^4",