subos-frontend 1.0.37 → 1.0.38
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
CHANGED
|
@@ -1458,6 +1458,7 @@ var PaymentSuccessView = ({
|
|
|
1458
1458
|
dashboardUrl = "/dashboard",
|
|
1459
1459
|
supportUrl = "/support"
|
|
1460
1460
|
}) => {
|
|
1461
|
+
console.log("invoiceDownloadUrl", invoiceDownloadUrl);
|
|
1461
1462
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-md mx-auto bg-white rounded-lg shadow-md overflow-hidden", children: [
|
|
1462
1463
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-gradient-to-r from-green-500 to-green-600 text-white p-6 text-center", children: [
|
|
1463
1464
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-4xl mb-2", children: "\u2705" }),
|
|
@@ -3133,6 +3134,7 @@ var PaymentSuccessPage = () => {
|
|
|
3133
3134
|
const withOrder = transactions.filter((t) => typeof t.order === "number");
|
|
3134
3135
|
if (withOrder.length === 0) return void 0;
|
|
3135
3136
|
const top = withOrder.reduce((max, cur) => cur.order > (max.order ?? -Infinity) ? cur : max, withOrder[0]);
|
|
3137
|
+
console.log("top", top);
|
|
3136
3138
|
return top.invoice_pdf || void 0;
|
|
3137
3139
|
}, [transactions]);
|
|
3138
3140
|
if (loading || transactionsLoading) {
|