@appcorp/stellar-solutions-invoice-module 0.1.63 → 0.1.65

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.
@@ -585,7 +585,7 @@ var useInvoiceState = function () {
585
585
  }, []);
586
586
  var handleRecordPayment = (0, react_1.useCallback)(function (id) {
587
587
  (0, util_functions_1.setStorageValue)("paymentInvoiceId", id);
588
- router.push("/invoice");
588
+ router.push("/erp/payment");
589
589
  }, [router]);
590
590
  var handleDelete = (0, react_1.useCallback)(function (id) {
591
591
  deleteFetchNow === null || deleteFetchNow === void 0 ? void 0 : deleteFetchNow(undefined, {
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/stellar-solutions-invoice-module",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
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",