warqadui 0.0.307 → 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 +21 -11
- package/dist/index.mjs +21 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38854,7 +38854,7 @@ var LeaseRentOverviews = () => {
|
|
|
38854
38854
|
header: "Name",
|
|
38855
38855
|
key: "name",
|
|
38856
38856
|
searchKeys: ["name", "unitNames"],
|
|
38857
|
-
className: "text-
|
|
38857
|
+
className: "text-[10px]! px-1 wrap-break-word",
|
|
38858
38858
|
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "space-y-1", children: [
|
|
38859
38859
|
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
38860
38860
|
"p",
|
|
@@ -38874,13 +38874,13 @@ var LeaseRentOverviews = () => {
|
|
|
38874
38874
|
{
|
|
38875
38875
|
header: "Balance Due",
|
|
38876
38876
|
key: "credit",
|
|
38877
|
-
className: "text-
|
|
38877
|
+
className: "text-[10px]! px-1 text-right",
|
|
38878
38878
|
render: (row) => {
|
|
38879
38879
|
const Amount = row.creditTotal;
|
|
38880
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
|
|
38880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold whitespace-nowrap text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
|
|
38881
38881
|
},
|
|
38882
38882
|
renderFooter: (data2) => {
|
|
38883
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
|
|
38883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold whitespace-nowrap", children: Formats_default.Amount(
|
|
38884
38884
|
data2.reduce((acc, row) => acc + row.creditTotal, 0)
|
|
38885
38885
|
) });
|
|
38886
38886
|
}
|
|
@@ -38889,25 +38889,34 @@ var LeaseRentOverviews = () => {
|
|
|
38889
38889
|
{
|
|
38890
38890
|
header: "Paid",
|
|
38891
38891
|
key: "debit",
|
|
38892
|
-
className: "text-
|
|
38892
|
+
className: "text-[10px]! px-1 text-right",
|
|
38893
38893
|
render: (row) => {
|
|
38894
38894
|
const Amount = row.debitTotal;
|
|
38895
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
|
|
38895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("p", { className: "font-bold whitespace-nowrap text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
|
|
38896
38896
|
},
|
|
38897
38897
|
renderFooter: (data2) => {
|
|
38898
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-red-500 font-bold", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
|
|
38898
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-red-500 font-bold whitespace-nowrap", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
|
|
38899
38899
|
}
|
|
38900
38900
|
},
|
|
38901
|
+
{
|
|
38902
|
+
header: "Acc Balance",
|
|
38903
|
+
key: "accBalance",
|
|
38904
|
+
className: "text-[10px]! px-1 text-right",
|
|
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
|
+
},
|
|
38901
38910
|
{
|
|
38902
38911
|
header: "Remaining Balance",
|
|
38903
38912
|
key: "runningBalance",
|
|
38904
|
-
className: "text-
|
|
38905
|
-
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
|
|
38913
|
+
className: "text-[10px]! px-1 text-right",
|
|
38914
|
+
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.Price(
|
|
38906
38915
|
row.runningBalance,
|
|
38907
38916
|
row.currency || currency || currencyFilter
|
|
38908
38917
|
) }),
|
|
38909
38918
|
renderFooter: (data2) => {
|
|
38910
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
|
|
38919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Price(
|
|
38911
38920
|
data2.reduce((acc, row) => acc + row.balance, 0),
|
|
38912
38921
|
currency || currencyFilter
|
|
38913
38922
|
) });
|
|
@@ -38942,7 +38951,8 @@ var LeaseRentOverviews = () => {
|
|
|
38942
38951
|
),
|
|
38943
38952
|
balance,
|
|
38944
38953
|
debitTotal,
|
|
38945
|
-
creditTotal
|
|
38954
|
+
creditTotal,
|
|
38955
|
+
monthBalance: creditsCurrent + debitsCurrent
|
|
38946
38956
|
};
|
|
38947
38957
|
}).filter((item) => item.balance !== 0);
|
|
38948
38958
|
const result = filteredData.map((item) => {
|
package/dist/index.mjs
CHANGED
|
@@ -39028,7 +39028,7 @@ var LeaseRentOverviews = () => {
|
|
|
39028
39028
|
header: "Name",
|
|
39029
39029
|
key: "name",
|
|
39030
39030
|
searchKeys: ["name", "unitNames"],
|
|
39031
|
-
className: "text-
|
|
39031
|
+
className: "text-[10px]! px-1 wrap-break-word",
|
|
39032
39032
|
render: (row) => /* @__PURE__ */ jsxs191("div", { className: "space-y-1", children: [
|
|
39033
39033
|
/* @__PURE__ */ jsx221(
|
|
39034
39034
|
"p",
|
|
@@ -39048,13 +39048,13 @@ var LeaseRentOverviews = () => {
|
|
|
39048
39048
|
{
|
|
39049
39049
|
header: "Balance Due",
|
|
39050
39050
|
key: "credit",
|
|
39051
|
-
className: "text-
|
|
39051
|
+
className: "text-[10px]! px-1 text-right",
|
|
39052
39052
|
render: (row) => {
|
|
39053
39053
|
const Amount = row.creditTotal;
|
|
39054
|
-
return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
|
|
39054
|
+
return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold whitespace-nowrap text-green-500 dark:text-green-500 print:text-green-500", children: Formats_default.Amount(Amount) }) });
|
|
39055
39055
|
},
|
|
39056
39056
|
renderFooter: (data2) => {
|
|
39057
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
|
|
39057
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold whitespace-nowrap", children: Formats_default.Amount(
|
|
39058
39058
|
data2.reduce((acc, row) => acc + row.creditTotal, 0)
|
|
39059
39059
|
) });
|
|
39060
39060
|
}
|
|
@@ -39063,25 +39063,34 @@ var LeaseRentOverviews = () => {
|
|
|
39063
39063
|
{
|
|
39064
39064
|
header: "Paid",
|
|
39065
39065
|
key: "debit",
|
|
39066
|
-
className: "text-
|
|
39066
|
+
className: "text-[10px]! px-1 text-right",
|
|
39067
39067
|
render: (row) => {
|
|
39068
39068
|
const Amount = row.debitTotal;
|
|
39069
|
-
return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
|
|
39069
|
+
return /* @__PURE__ */ jsx221("div", { className: "", children: /* @__PURE__ */ jsx221("p", { className: "font-bold whitespace-nowrap text-red-500 dark:text-red-500 print:text-red-500", children: Formats_default.Amount(Amount) }) });
|
|
39070
39070
|
},
|
|
39071
39071
|
renderFooter: (data2) => {
|
|
39072
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
|
|
39072
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold whitespace-nowrap", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
|
|
39073
39073
|
}
|
|
39074
39074
|
},
|
|
39075
|
+
{
|
|
39076
|
+
header: "Acc Balance",
|
|
39077
|
+
key: "accBalance",
|
|
39078
|
+
className: "text-[10px]! px-1 text-right",
|
|
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
|
+
},
|
|
39075
39084
|
{
|
|
39076
39085
|
header: "Remaining Balance",
|
|
39077
39086
|
key: "runningBalance",
|
|
39078
|
-
className: "text-
|
|
39079
|
-
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
|
|
39087
|
+
className: "text-[10px]! px-1 text-right",
|
|
39088
|
+
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold whitespace-nowrap text-black dark:text-white print:text-black", children: Formats_default.Price(
|
|
39080
39089
|
row.runningBalance,
|
|
39081
39090
|
row.currency || currency || currencyFilter
|
|
39082
39091
|
) }),
|
|
39083
39092
|
renderFooter: (data2) => {
|
|
39084
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
|
|
39093
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold whitespace-nowrap", children: Formats_default.Price(
|
|
39085
39094
|
data2.reduce((acc, row) => acc + row.balance, 0),
|
|
39086
39095
|
currency || currencyFilter
|
|
39087
39096
|
) });
|
|
@@ -39116,7 +39125,8 @@ var LeaseRentOverviews = () => {
|
|
|
39116
39125
|
),
|
|
39117
39126
|
balance,
|
|
39118
39127
|
debitTotal,
|
|
39119
|
-
creditTotal
|
|
39128
|
+
creditTotal,
|
|
39129
|
+
monthBalance: creditsCurrent + debitsCurrent
|
|
39120
39130
|
};
|
|
39121
39131
|
}).filter((item) => item.balance !== 0);
|
|
39122
39132
|
const result = filteredData.map((item) => {
|