warqadui 0.0.308 → 0.0.309
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.js +6 -5
- package/dist/index.mjs +6 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38902,10 +38902,10 @@ var LeaseRentOverviews = () => {
|
|
|
38902
38902
|
header: "Acc Balance",
|
|
38903
38903
|
key: "accBalance",
|
|
38904
38904
|
className: "text-[10px]! px-1 text-right",
|
|
38905
|
-
render: (row) => {
|
|
38906
|
-
|
|
38907
|
-
|
|
38908
|
-
}
|
|
38905
|
+
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Amount(row.monthBalance) }),
|
|
38906
|
+
renderFooter: (data2) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Amount(
|
|
38907
|
+
data2.reduce((acc, row) => acc + row.monthBalance, 0)
|
|
38908
|
+
) })
|
|
38909
38909
|
},
|
|
38910
38910
|
{
|
|
38911
38911
|
header: "Remaining Balance",
|
|
@@ -38951,7 +38951,8 @@ var LeaseRentOverviews = () => {
|
|
|
38951
38951
|
),
|
|
38952
38952
|
balance,
|
|
38953
38953
|
debitTotal,
|
|
38954
|
-
creditTotal
|
|
38954
|
+
creditTotal,
|
|
38955
|
+
monthBalance: creditsCurrent + debitsCurrent
|
|
38955
38956
|
};
|
|
38956
38957
|
}).filter((item) => item.balance !== 0);
|
|
38957
38958
|
const result = filteredData.map((item) => {
|
package/dist/index.mjs
CHANGED
|
@@ -39076,10 +39076,10 @@ var LeaseRentOverviews = () => {
|
|
|
39076
39076
|
header: "Acc Balance",
|
|
39077
39077
|
key: "accBalance",
|
|
39078
39078
|
className: "text-[10px]! px-1 text-right",
|
|
39079
|
-
render: (row) => {
|
|
39080
|
-
|
|
39081
|
-
|
|
39082
|
-
}
|
|
39079
|
+
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Amount(row.monthBalance) }),
|
|
39080
|
+
renderFooter: (data2) => /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Amount(
|
|
39081
|
+
data2.reduce((acc, row) => acc + row.monthBalance, 0)
|
|
39082
|
+
) })
|
|
39083
39083
|
},
|
|
39084
39084
|
{
|
|
39085
39085
|
header: "Remaining Balance",
|
|
@@ -39125,7 +39125,8 @@ var LeaseRentOverviews = () => {
|
|
|
39125
39125
|
),
|
|
39126
39126
|
balance,
|
|
39127
39127
|
debitTotal,
|
|
39128
|
-
creditTotal
|
|
39128
|
+
creditTotal,
|
|
39129
|
+
monthBalance: creditsCurrent + debitsCurrent
|
|
39129
39130
|
};
|
|
39130
39131
|
}).filter((item) => item.balance !== 0);
|
|
39131
39132
|
const result = filteredData.map((item) => {
|