@bigbinary/neeto-payments-frontend 1.3.17 → 1.3.18
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.
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -159,7 +159,7 @@ var SEARCH_PROPS$1 = {
|
|
|
159
159
|
};
|
|
160
160
|
var DASHBOARD_MANDATORY_COLUMNS$2 = ["id", "status", "identifier"];
|
|
161
161
|
var FILTER_COLUMNS$3 = [{
|
|
162
|
-
key: "
|
|
162
|
+
key: "created_at",
|
|
163
163
|
label: i18next.t("neetoPayments.common.createdAt"),
|
|
164
164
|
node: "created_at",
|
|
165
165
|
type: "date",
|
|
@@ -1877,32 +1877,32 @@ var FILTER_COLUMNS$1 = [{
|
|
|
1877
1877
|
type: "decimal",
|
|
1878
1878
|
showRuleSelector: true
|
|
1879
1879
|
}, {
|
|
1880
|
-
key: "
|
|
1880
|
+
key: "payment_amount",
|
|
1881
1881
|
label: i18next.t("neetoPayments.common.paymentAmount"),
|
|
1882
1882
|
node: "payment_intent.amount",
|
|
1883
1883
|
model: "NeetoPaymentsEngine::Stripe::Transaction",
|
|
1884
1884
|
type: "decimal",
|
|
1885
1885
|
showRuleSelector: true
|
|
1886
1886
|
}, {
|
|
1887
|
-
key: "
|
|
1887
|
+
key: "refund_amount",
|
|
1888
1888
|
label: i18next.t("neetoPayments.common.refundAmount"),
|
|
1889
1889
|
node: "amount",
|
|
1890
1890
|
type: "decimal",
|
|
1891
1891
|
showRuleSelector: true
|
|
1892
1892
|
}, {
|
|
1893
|
-
key: "
|
|
1893
|
+
key: "payment_time",
|
|
1894
1894
|
label: i18next.t("neetoPayments.common.paymentTime"),
|
|
1895
1895
|
node: "payment_at",
|
|
1896
1896
|
type: "date",
|
|
1897
1897
|
showRuleSelector: true
|
|
1898
1898
|
}, {
|
|
1899
|
-
key: "
|
|
1899
|
+
key: "refund_time",
|
|
1900
1900
|
label: i18next.t("neetoPayments.common.refundTime"),
|
|
1901
1901
|
node: "updated_at",
|
|
1902
1902
|
type: "date",
|
|
1903
1903
|
showRuleSelector: true
|
|
1904
1904
|
}, {
|
|
1905
|
-
key: "
|
|
1905
|
+
key: "split_time",
|
|
1906
1906
|
label: i18next.t("neetoPayments.common.transferTime"),
|
|
1907
1907
|
node: "payment_at",
|
|
1908
1908
|
type: "date",
|
|
@@ -1933,9 +1933,9 @@ var buildPaymentColumns$1 = function buildPaymentColumns(_ref) {
|
|
|
1933
1933
|
var buildFilterColumns$1 = function buildFilterColumns(tab, kind) {
|
|
1934
1934
|
var payableEntityColumns = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
1935
1935
|
var filterColumns = FILTER_COLUMNS$1.filter(function (_ref4) {
|
|
1936
|
-
var _COLUMN_METADATA$
|
|
1936
|
+
var _COLUMN_METADATA$snak;
|
|
1937
1937
|
var key = _ref4.key;
|
|
1938
|
-
return !((_COLUMN_METADATA$
|
|
1938
|
+
return !((_COLUMN_METADATA$snak = COLUMN_METADATA$1[neetoCist.snakeToCamelCase(key)]) !== null && _COLUMN_METADATA$snak !== void 0 && (_COLUMN_METADATA$snak = _COLUMN_METADATA$snak.isHidden) !== null && _COLUMN_METADATA$snak !== void 0 && _COLUMN_METADATA$snak[kind]);
|
|
1939
1939
|
});
|
|
1940
1940
|
return ramda.concat(filterColumns, ramda.map(ramda.prop("filterProps"), neetoCist.filterBy({
|
|
1941
1941
|
isFilterable: true,
|
|
@@ -4963,13 +4963,13 @@ var SEARCH_PROPS = {
|
|
|
4963
4963
|
};
|
|
4964
4964
|
var DASHBOARD_MANDATORY_COLUMNS = ["id", "status", "identifier"];
|
|
4965
4965
|
var FILTER_COLUMNS = [{
|
|
4966
|
-
key: "
|
|
4966
|
+
key: "created_at",
|
|
4967
4967
|
label: i18next.t("neetoPayments.common.createdAt"),
|
|
4968
4968
|
node: "created_at",
|
|
4969
4969
|
type: "date",
|
|
4970
4970
|
showRuleSelector: true
|
|
4971
4971
|
}, {
|
|
4972
|
-
key: "
|
|
4972
|
+
key: "arrival_date",
|
|
4973
4973
|
label: i18next.t("neetoPayments.common.arrivalDate"),
|
|
4974
4974
|
node: "arrival_date",
|
|
4975
4975
|
type: "date",
|