aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-23 16:22:10 -0700
committerAdam Soltys <[email protected]>2024-09-23 16:22:10 -0700
commitad0f7b0033c0273657b47e2ea22092029023c0b2 (patch)
tree543a0af922d193940846e7a953ed7b027a931e30 /src/routes/(app)/invoice
parent72b6a5847243f0d64984543eba66b89ef312e872 (diff)
downloadcoinos-ui-ad0f7b0033c0273657b47e2ea22092029023c0b2.tar.gz
coinos-ui-ad0f7b0033c0273657b47e2ea22092029023c0b2.zip
account import
Diffstat (limited to 'src/routes/(app)/invoice')
-rw-r--r--src/routes/(app)/invoice/+page.server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/+page.server.ts b/src/routes/(app)/invoice/+page.server.ts
index 7bac3f9b..45389f8c 100644
--- a/src/routes/(app)/invoice/+page.server.ts
+++ b/src/routes/(app)/invoice/+page.server.ts
@@ -4,6 +4,7 @@ import type { Invoice } from "$lib/types";
export let load = async ({ cookies, parent }) => {
let aid = cookies.get("aid");
+ console.log("AID", aid)
let { subject, user, rates } = await parent();
let invoice: Invoice = {
@@ -18,7 +19,7 @@ export let load = async ({ cookies, parent }) => {
} catch (e) {
console.log(e);
error(500, "Failed to generate invoice");
- }
+ }
let { id } = invoice;