warqadui 0.0.309 → 0.0.311
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 +17 -20
- package/dist/index.mjs +17 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38854,8 +38854,8 @@ var LeaseRentOverviews = () => {
|
|
|
38854
38854
|
header: "Name",
|
|
38855
38855
|
key: "name",
|
|
38856
38856
|
searchKeys: ["name", "unitNames"],
|
|
38857
|
-
className: "text-
|
|
38858
|
-
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "
|
|
38857
|
+
className: "text-xs whitespace-nowrap ",
|
|
38858
|
+
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "leading-tight", children: [
|
|
38859
38859
|
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
38860
38860
|
"p",
|
|
38861
38861
|
{
|
|
@@ -38874,13 +38874,13 @@ var LeaseRentOverviews = () => {
|
|
|
38874
38874
|
{
|
|
38875
38875
|
header: "Balance Due",
|
|
38876
38876
|
key: "credit",
|
|
38877
|
-
className: "text-
|
|
38877
|
+
className: "text-xs whitespace-nowrap 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
|
|
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) }) });
|
|
38881
38881
|
},
|
|
38882
38882
|
renderFooter: (data2) => {
|
|
38883
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold
|
|
38883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
|
|
38884
38884
|
data2.reduce((acc, row) => acc + row.creditTotal, 0)
|
|
38885
38885
|
) });
|
|
38886
38886
|
}
|
|
@@ -38889,34 +38889,31 @@ var LeaseRentOverviews = () => {
|
|
|
38889
38889
|
{
|
|
38890
38890
|
header: "Paid",
|
|
38891
38891
|
key: "debit",
|
|
38892
|
-
className: "text-
|
|
38892
|
+
className: "text-xs whitespace-nowrap 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
|
|
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) }) });
|
|
38896
38896
|
},
|
|
38897
38897
|
renderFooter: (data2) => {
|
|
38898
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-red-500 font-bold
|
|
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)) });
|
|
38899
38899
|
}
|
|
38900
38900
|
},
|
|
38901
38901
|
{
|
|
38902
|
-
header: "
|
|
38903
|
-
key: "
|
|
38904
|
-
className: "text-
|
|
38905
|
-
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold
|
|
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
|
-
) })
|
|
38902
|
+
header: "Account Balance",
|
|
38903
|
+
key: "accountBalance",
|
|
38904
|
+
className: "text-xs whitespace-nowrap text-right",
|
|
38905
|
+
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Amount(row.creditTotal + row.debitTotal) })
|
|
38909
38906
|
},
|
|
38910
38907
|
{
|
|
38911
38908
|
header: "Remaining Balance",
|
|
38912
38909
|
key: "runningBalance",
|
|
38913
|
-
className: "text-
|
|
38914
|
-
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold
|
|
38910
|
+
className: "text-xs whitespace-nowrap text-right",
|
|
38911
|
+
render: (row) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
|
|
38915
38912
|
row.runningBalance,
|
|
38916
38913
|
row.currency || currency || currencyFilter
|
|
38917
38914
|
) }),
|
|
38918
38915
|
renderFooter: (data2) => {
|
|
38919
|
-
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold
|
|
38916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
|
|
38920
38917
|
data2.reduce((acc, row) => acc + row.balance, 0),
|
|
38921
38918
|
currency || currencyFilter
|
|
38922
38919
|
) });
|
|
@@ -38951,8 +38948,7 @@ var LeaseRentOverviews = () => {
|
|
|
38951
38948
|
),
|
|
38952
38949
|
balance,
|
|
38953
38950
|
debitTotal,
|
|
38954
|
-
creditTotal
|
|
38955
|
-
monthBalance: creditsCurrent + debitsCurrent
|
|
38951
|
+
creditTotal
|
|
38956
38952
|
};
|
|
38957
38953
|
}).filter((item) => item.balance !== 0);
|
|
38958
38954
|
const result = filteredData.map((item) => {
|
|
@@ -38980,6 +38976,7 @@ var LeaseRentOverviews = () => {
|
|
|
38980
38976
|
title: `${leaseType} Overview Statement`,
|
|
38981
38977
|
subtitle: `All Outstanding Balances`,
|
|
38982
38978
|
fixed: false,
|
|
38979
|
+
rowPadding: "py-0.5 px-2",
|
|
38983
38980
|
headers: /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: "flex gap-2", children: [
|
|
38984
38981
|
/* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
38985
38982
|
Fields_default.Select,
|
package/dist/index.mjs
CHANGED
|
@@ -39028,8 +39028,8 @@ var LeaseRentOverviews = () => {
|
|
|
39028
39028
|
header: "Name",
|
|
39029
39029
|
key: "name",
|
|
39030
39030
|
searchKeys: ["name", "unitNames"],
|
|
39031
|
-
className: "text-
|
|
39032
|
-
render: (row) => /* @__PURE__ */ jsxs191("div", { className: "
|
|
39031
|
+
className: "text-xs whitespace-nowrap ",
|
|
39032
|
+
render: (row) => /* @__PURE__ */ jsxs191("div", { className: "leading-tight", children: [
|
|
39033
39033
|
/* @__PURE__ */ jsx221(
|
|
39034
39034
|
"p",
|
|
39035
39035
|
{
|
|
@@ -39048,13 +39048,13 @@ var LeaseRentOverviews = () => {
|
|
|
39048
39048
|
{
|
|
39049
39049
|
header: "Balance Due",
|
|
39050
39050
|
key: "credit",
|
|
39051
|
-
className: "text-
|
|
39051
|
+
className: "text-xs whitespace-nowrap 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
|
|
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) }) });
|
|
39055
39055
|
},
|
|
39056
39056
|
renderFooter: (data2) => {
|
|
39057
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold
|
|
39057
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-green-500 font-bold", children: Formats_default.Amount(
|
|
39058
39058
|
data2.reduce((acc, row) => acc + row.creditTotal, 0)
|
|
39059
39059
|
) });
|
|
39060
39060
|
}
|
|
@@ -39063,34 +39063,31 @@ var LeaseRentOverviews = () => {
|
|
|
39063
39063
|
{
|
|
39064
39064
|
header: "Paid",
|
|
39065
39065
|
key: "debit",
|
|
39066
|
-
className: "text-
|
|
39066
|
+
className: "text-xs whitespace-nowrap 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
|
|
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) }) });
|
|
39070
39070
|
},
|
|
39071
39071
|
renderFooter: (data2) => {
|
|
39072
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold
|
|
39072
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-red-500 font-bold", children: Formats_default.Amount(data2.reduce((acc, row) => acc + row.debitTotal, 0)) });
|
|
39073
39073
|
}
|
|
39074
39074
|
},
|
|
39075
39075
|
{
|
|
39076
|
-
header: "
|
|
39077
|
-
key: "
|
|
39078
|
-
className: "text-
|
|
39079
|
-
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold
|
|
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
|
-
) })
|
|
39076
|
+
header: "Account Balance",
|
|
39077
|
+
key: "accountBalance",
|
|
39078
|
+
className: "text-xs whitespace-nowrap text-right",
|
|
39079
|
+
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Amount(row.creditTotal + row.debitTotal) })
|
|
39083
39080
|
},
|
|
39084
39081
|
{
|
|
39085
39082
|
header: "Remaining Balance",
|
|
39086
39083
|
key: "runningBalance",
|
|
39087
|
-
className: "text-
|
|
39088
|
-
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold
|
|
39084
|
+
className: "text-xs whitespace-nowrap text-right",
|
|
39085
|
+
render: (row) => /* @__PURE__ */ jsx221("span", { className: "font-bold text-black dark:text-white print:text-black", children: Formats_default.Price(
|
|
39089
39086
|
row.runningBalance,
|
|
39090
39087
|
row.currency || currency || currencyFilter
|
|
39091
39088
|
) }),
|
|
39092
39089
|
renderFooter: (data2) => {
|
|
39093
|
-
return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold
|
|
39090
|
+
return /* @__PURE__ */ jsx221("span", { className: "text-black dark:text-white print:text-black font-bold", children: Formats_default.Price(
|
|
39094
39091
|
data2.reduce((acc, row) => acc + row.balance, 0),
|
|
39095
39092
|
currency || currencyFilter
|
|
39096
39093
|
) });
|
|
@@ -39125,8 +39122,7 @@ var LeaseRentOverviews = () => {
|
|
|
39125
39122
|
),
|
|
39126
39123
|
balance,
|
|
39127
39124
|
debitTotal,
|
|
39128
|
-
creditTotal
|
|
39129
|
-
monthBalance: creditsCurrent + debitsCurrent
|
|
39125
|
+
creditTotal
|
|
39130
39126
|
};
|
|
39131
39127
|
}).filter((item) => item.balance !== 0);
|
|
39132
39128
|
const result = filteredData.map((item) => {
|
|
@@ -39154,6 +39150,7 @@ var LeaseRentOverviews = () => {
|
|
|
39154
39150
|
title: `${leaseType} Overview Statement`,
|
|
39155
39151
|
subtitle: `All Outstanding Balances`,
|
|
39156
39152
|
fixed: false,
|
|
39153
|
+
rowPadding: "py-0.5 px-2",
|
|
39157
39154
|
headers: /* @__PURE__ */ jsxs191("div", { className: "flex gap-2", children: [
|
|
39158
39155
|
/* @__PURE__ */ jsx221(
|
|
39159
39156
|
Fields_default.Select,
|