From 064bfeb813be2d2d1d320420ca8348a8fad3db2f Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:23:23 +0000
Subject: [PATCH 01/79] Apply patch [skip ci]
---
routes/landlord/dashboard/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index 9bfc72d..ae03063 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -537,3 +537,4 @@ export default define.page(
},
);
+
From 18dc118c5a61cd387a2b6759c8577e5e3eecf2b3 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:23:59 +0000
Subject: [PATCH 02/79] Apply patch [skip ci]
---
services/leaseService.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/leaseService.ts b/services/leaseService.ts
index 394da6f..70cbc22 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -251,3 +251,4 @@ export async function getLeaseStatsByOwner(owner_id: string) {
+
From 62675ad88882a3827a987161e1835df02f930757 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:24:15 +0000
Subject: [PATCH 03/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index bbd009c..86ba07c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -51,3 +51,4 @@ export const handler = define.handlers({
});
},
});
+
From d15061cc3cbd2f8fb97952bf5adee8681ce5793c Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:25:58 +0000
Subject: [PATCH 04/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 86ba07c..fb51710 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -52,3 +52,4 @@ export const handler = define.handlers({
},
});
+
From 9798cbe7d0aeb96ca63c47ab165e4e2e67b6e987 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:28:37 +0000
Subject: [PATCH 05/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index fb51710..4248136 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -53,3 +53,4 @@ export const handler = define.handlers({
});
+
From 437e20ba289caa104317a6bfc1c5ff77b81fbcdf Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 18:29:23 +0000
Subject: [PATCH 06/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4248136..5638a11 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -54,3 +54,4 @@ export const handler = define.handlers({
+
From 959ee1715e26086ab1c64d98b8d9792c2c843422 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:35:51 +0000
Subject: [PATCH 07/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 5638a11..3b10d69 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -55,3 +55,4 @@ export const handler = define.handlers({
+
From 5054a2cf060d0949a69cb395760cbe4f2440258a Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:36:00 +0000
Subject: [PATCH 08/79] Apply patch [skip ci]
---
services/leaseService.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/leaseService.ts b/services/leaseService.ts
index 70cbc22..9952396 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -252,3 +252,4 @@ export async function getLeaseStatsByOwner(owner_id: string) {
+
From 71392ce6a4feb299434c741c99120b3ecd23005c Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:36:06 +0000
Subject: [PATCH 09/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 5 -----
routes/landlord/dashboard/index.tsx | 2 --
services/leaseService.ts | 6 ------
3 files changed, 13 deletions(-)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3b10d69..bbd009c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -51,8 +51,3 @@ export const handler = define.handlers({
});
},
});
-
-
-
-
-
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index ae03063..fc733fc 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -536,5 +536,3 @@ export default define.page(
);
},
);
-
-
diff --git a/services/leaseService.ts b/services/leaseService.ts
index 9952396..2ddd6ed 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -247,9 +247,3 @@ export async function getLeaseStatsByOwner(owner_id: string) {
without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
};
}
-
-
-
-
-
-
From d68851a83d1edd7f474dfa48330eb2baf074b004 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:37:12 +0000
Subject: [PATCH 10/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index bbd009c..86ba07c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -51,3 +51,4 @@ export const handler = define.handlers({
});
},
});
+
From e041c2c23b4a4c7ab4e63870374a043404e73d69 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:37:20 +0000
Subject: [PATCH 11/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 -
1 file changed, 1 deletion(-)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 86ba07c..bbd009c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -51,4 +51,3 @@ export const handler = define.handlers({
});
},
});
-
From 03c80ecd0a90979e049e5da66cf33eb2b7c37534 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:40:28 +0000
Subject: [PATCH 12/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index bbd009c..86ba07c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -51,3 +51,4 @@ export const handler = define.handlers({
});
},
});
+
From 8e7858cae9719516cb5f014b5680b85badad691c Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:40:45 +0000
Subject: [PATCH 13/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 86ba07c..fb51710 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -52,3 +52,4 @@ export const handler = define.handlers({
},
});
+
From 80b8435b65a74e7b6571a9a53c8daabe170e52e4 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:41:50 +0000
Subject: [PATCH 14/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index fb51710..4248136 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -53,3 +53,4 @@ export const handler = define.handlers({
});
+
From e62f1ddb3a771bbde001b4099e2b74c2421ab7e5 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:42:15 +0000
Subject: [PATCH 15/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4248136..5638a11 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -54,3 +54,4 @@ export const handler = define.handlers({
+
From adcd19418b1b2566fb35eb0ace06f55789abffbd Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:43:03 +0000
Subject: [PATCH 16/79] Apply patch [skip ci]
---
routes/landlord/dashboard/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index fc733fc..9bfc72d 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -536,3 +536,4 @@ export default define.page(
);
},
);
+
From fc120c6293b5b66c6590a5be8bfc8133e4da229b Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:43:17 +0000
Subject: [PATCH 17/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 5638a11..3b10d69 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -55,3 +55,4 @@ export const handler = define.handlers({
+
From 6c1de2e54499a1673b4712b931cbf3c6af1bb362 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:43:34 +0000
Subject: [PATCH 18/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3b10d69..0dc5ee5 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -56,3 +56,4 @@ export const handler = define.handlers({
+
From 1562d9fe0891f883cde95de966d995b47db23eda Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:44:10 +0000
Subject: [PATCH 19/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 0dc5ee5..e3c9c3a 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -57,3 +57,4 @@ export const handler = define.handlers({
+
From d9b827289383a30eea9612826140a244e044fa36 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:44:36 +0000
Subject: [PATCH 20/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index e3c9c3a..ba38fb8 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -58,3 +58,4 @@ export const handler = define.handlers({
+
From 6a347f285c6049206cd2bd734b77007b7cbdf3b2 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:45:20 +0000
Subject: [PATCH 21/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index ba38fb8..345915f 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -59,3 +59,4 @@ export const handler = define.handlers({
+
From 97b1db074f1f93b5071bf9b297e15eaa1084dc27 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:45:38 +0000
Subject: [PATCH 22/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 345915f..4128e14 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -60,3 +60,4 @@ export const handler = define.handlers({
+
From 678d473f6e78fe56c9abf6e050ea71027bbd4af5 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:47:09 +0000
Subject: [PATCH 23/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4128e14..e343310 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -61,3 +61,4 @@ export const handler = define.handlers({
+
From 651d06f95faff08c8d841586f27b03280746f6ee Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:47:57 +0000
Subject: [PATCH 24/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index e343310..8345b02 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -62,3 +62,4 @@ export const handler = define.handlers({
+
From 890dde64f1f40680fc1ad3a6d21a0dd5fc071a48 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:48:19 +0000
Subject: [PATCH 25/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 8345b02..27caceb 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -63,3 +63,4 @@ export const handler = define.handlers({
+
From 9864164f68353cd6ddf369ff9a3313fcc4ed1339 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:48:47 +0000
Subject: [PATCH 26/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 27caceb..d817bee 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -64,3 +64,4 @@ export const handler = define.handlers({
+
From 4b927ab6cfc269143cfba8b7fa440fd32d2c737d Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:49:15 +0000
Subject: [PATCH 27/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index d817bee..4e95cce 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -65,3 +65,4 @@ export const handler = define.handlers({
+
From db909f2fbd2895bf59a8c6910161a80d6ea0fa00 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:49:44 +0000
Subject: [PATCH 28/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4e95cce..793ad43 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -66,3 +66,4 @@ export const handler = define.handlers({
+
From 10fba4eb44196a625216d9ee332a136c60c82a86 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:50:00 +0000
Subject: [PATCH 29/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 793ad43..0219992 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -67,3 +67,4 @@ export const handler = define.handlers({
+
From d242ee4e1e17e43f71647413111b0cd5dd3d0146 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:50:16 +0000
Subject: [PATCH 30/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 0219992..349e619 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -68,3 +68,4 @@ export const handler = define.handlers({
+
From c6dade804961e321984e6417d833d237c9b31296 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:50:32 +0000
Subject: [PATCH 31/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 349e619..230d207 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -69,3 +69,4 @@ export const handler = define.handlers({
+
From eb9476bb28179feb9f87b63bc9de0d79296af14e Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:50:54 +0000
Subject: [PATCH 32/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 230d207..f35eb17 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -70,3 +70,4 @@ export const handler = define.handlers({
+
From 496deff7fb0e154730f14dada943bfe60457b2ce Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:51:21 +0000
Subject: [PATCH 33/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index f35eb17..2df9c2a 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -70,4 +70,5 @@ export const handler = define.handlers({
+
From 81552a1465258a34a28690f82fafa2620a47156c Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:51:35 +0000
Subject: [PATCH 34/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 2df9c2a..64c8610 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -70,5 +70,6 @@ export const handler = define.handlers({
+
From cf2d6c8d66c2096b3cfa1b2567f930b8865d34ef Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:52:31 +0000
Subject: [PATCH 35/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 64c8610..f78b01b 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -71,5 +71,6 @@ export const handler = define.handlers({
+
From d86d5572198505c9bdf4830c1ef096d9fbace7aa Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:52:42 +0000
Subject: [PATCH 36/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index f78b01b..3399f1a 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -72,5 +72,6 @@ export const handler = define.handlers({
+
From 7d42dc9c84a5ea070429ea6be8a92d2f5188abc1 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:52:59 +0000
Subject: [PATCH 37/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3399f1a..2380a7f 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -73,5 +73,6 @@ export const handler = define.handlers({
+
From b2c58985f2a86645f1718bf1157a36bc17f84c55 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:53:24 +0000
Subject: [PATCH 38/79] Apply patch [skip ci]
---
routes/landlord/dashboard/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index 9bfc72d..ae03063 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -537,3 +537,4 @@ export default define.page(
},
);
+
From cdad4a1e190193012983dbd9eef82d0754cb4e7c Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:53:42 +0000
Subject: [PATCH 39/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 2380a7f..89de5eb 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -74,5 +74,6 @@ export const handler = define.handlers({
+
From 3f8032d045fe98429d0768cdff4833ea0381b7cc Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:54:10 +0000
Subject: [PATCH 40/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 89de5eb..8d53f5d 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -75,5 +75,6 @@ export const handler = define.handlers({
+
From 9019d50e4c56e6285e997741d07e52ed516eee38 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:54:21 +0000
Subject: [PATCH 41/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 8d53f5d..00e8d37 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -76,5 +76,6 @@ export const handler = define.handlers({
+
From cacf255e3b0fd1bdca62b3021cb3dd111855aaa0 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:54:30 +0000
Subject: [PATCH 42/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 00e8d37..56833bf 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -77,5 +77,6 @@ export const handler = define.handlers({
+
From 3ed95fdec9f47cd1f0ef4ca589ca7c932190193f Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:55:04 +0000
Subject: [PATCH 43/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 56833bf..aad4d69 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -78,5 +78,6 @@ export const handler = define.handlers({
+
From 0134eaa4df0bed283f3fc95037fc226889537869 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:55:17 +0000
Subject: [PATCH 44/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index aad4d69..4e8bf80 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -79,5 +79,6 @@ export const handler = define.handlers({
+
From 96d9bd631fb2bbe64fc55e85b3f014e7e2e06a0a Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:55:27 +0000
Subject: [PATCH 45/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4e8bf80..8c0eff4 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -80,5 +80,6 @@ export const handler = define.handlers({
+
From 6ecadf696daf01fb78ceb6b0645a2c0cc9638529 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:55:36 +0000
Subject: [PATCH 46/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 8c0eff4..3674b81 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -81,5 +81,6 @@ export const handler = define.handlers({
+
From d4b8d009762e0eef8956316d36486f24f774cdf7 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:56:25 +0000
Subject: [PATCH 47/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3674b81..306d732 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -82,5 +82,6 @@ export const handler = define.handlers({
+
From d034a03be0adc70eb465347572e538f248857e19 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:56:54 +0000
Subject: [PATCH 48/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 306d732..280bb5f 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -83,5 +83,6 @@ export const handler = define.handlers({
+
From 748855681f396c2989dd9cde26b069afe1c73a51 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:57:11 +0000
Subject: [PATCH 49/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 280bb5f..be9cbdf 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -84,5 +84,6 @@ export const handler = define.handlers({
+
From b7dbaab8ee3f72a8326b12a38bae092226752adb Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:57:23 +0000
Subject: [PATCH 50/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index be9cbdf..1b1e243 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -85,5 +85,6 @@ export const handler = define.handlers({
+
From 112a5e71df93d7a17a8469171f54521b149d0dce Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:57:40 +0000
Subject: [PATCH 51/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 1b1e243..998fe16 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -86,5 +86,6 @@ export const handler = define.handlers({
+
From 144edf16203e28371156fc5a77e87c9b001cecfa Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:58:03 +0000
Subject: [PATCH 52/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 998fe16..348bf1c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -87,5 +87,6 @@ export const handler = define.handlers({
+
From b3600a1a43c10357bcd2964b3115e1e69d4cfa35 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:58:16 +0000
Subject: [PATCH 53/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 348bf1c..6697d8a 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -88,5 +88,6 @@ export const handler = define.handlers({
+
From 19d29b48318b3a812feac634f5f8aab5ffec6317 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:58:47 +0000
Subject: [PATCH 54/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 6697d8a..bbc97d7 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -89,5 +89,6 @@ export const handler = define.handlers({
+
From 94672f7a043da409cdf5de8a36f259d44d489299 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:59:14 +0000
Subject: [PATCH 55/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index bbc97d7..d400d68 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -90,5 +90,6 @@ export const handler = define.handlers({
+
From 32e0bd8e884dffe71d891651bdfb06130d9e7770 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:59:27 +0000
Subject: [PATCH 56/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index d400d68..c879350 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -91,5 +91,6 @@ export const handler = define.handlers({
+
From 89b7c4387b695eb171ab072bcbfd86e3b3180146 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 20:59:43 +0000
Subject: [PATCH 57/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index c879350..40fed8a 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -92,5 +92,6 @@ export const handler = define.handlers({
+
From acefa30d98f5c083200ffe96bd707f1f6a0ca161 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:00:00 +0000
Subject: [PATCH 58/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 40fed8a..74f0d69 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -93,5 +93,6 @@ export const handler = define.handlers({
+
From 21ee1aad011b4f0d42c77e30996f83dd9fa3acef Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:00:21 +0000
Subject: [PATCH 59/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 74f0d69..3728c6d 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -94,5 +94,6 @@ export const handler = define.handlers({
+
From f17c898c81975cd2319757b6580c081c1e12339b Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:00:34 +0000
Subject: [PATCH 60/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3728c6d..a1342db 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -95,5 +95,6 @@ export const handler = define.handlers({
+
From 2f58e6c7a1ec928887256f50e32fae21d325b1c4 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:00:50 +0000
Subject: [PATCH 61/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index a1342db..a442f10 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -96,5 +96,6 @@ export const handler = define.handlers({
+
From 96c8d52eb7d195a99002acd71a2a9dd4bc9edb59 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:01:01 +0000
Subject: [PATCH 62/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index a442f10..f526737 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -97,5 +97,6 @@ export const handler = define.handlers({
+
From e385d4d9091e13cb78c998d6b38474d156a1d064 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:01:18 +0000
Subject: [PATCH 63/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index f526737..8ffbbb3 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -98,5 +98,6 @@ export const handler = define.handlers({
+
From 9be7dd42e9660830196ef53f7411f7c6d26c72e1 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:01:37 +0000
Subject: [PATCH 64/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 8ffbbb3..a4d90ea 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -99,5 +99,6 @@ export const handler = define.handlers({
+
From 722ad2d1d7d03150bd09280c9e52d0853d38dbce Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:01:53 +0000
Subject: [PATCH 65/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index a4d90ea..53dfbe6 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -100,5 +100,6 @@ export const handler = define.handlers({
+
From 1a0725e25dbf0596e1eb26ad0a4e79a98b38b0be Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:02:08 +0000
Subject: [PATCH 66/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 53dfbe6..9ba2e9c 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -101,5 +101,6 @@ export const handler = define.handlers({
+
From 6461226f674b87caae55e14defd232dcb1d09296 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:02:39 +0000
Subject: [PATCH 67/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 9ba2e9c..4d9d582 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -102,5 +102,6 @@ export const handler = define.handlers({
+
From ee179e105277166d485df703be19afdc6c22aef6 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:02:52 +0000
Subject: [PATCH 68/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 4d9d582..a76e5ef 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -103,5 +103,6 @@ export const handler = define.handlers({
+
From f2c188d97ea99e29c79e8695b4ded8df97c8c126 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:03:05 +0000
Subject: [PATCH 69/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index a76e5ef..3133ffd 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -104,5 +104,6 @@ export const handler = define.handlers({
+
From 58512e0be217f804826b418e932e5189407e4bba Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:03:30 +0000
Subject: [PATCH 70/79] Apply patch [skip ci]
---
routes/api/receipt/[id].ts | 58 +----------------------------
routes/landlord/dashboard/index.tsx | 14 ++++---
2 files changed, 10 insertions(+), 62 deletions(-)
diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts
index 3133ffd..d1d1951 100644
--- a/routes/api/receipt/[id].ts
+++ b/routes/api/receipt/[id].ts
@@ -2,7 +2,7 @@ import { define } from "../../../utils.ts";
import { getTransactionByStripeId } from "../../../services/paymentService.ts";
export const handler = define.handlers({
- async GET(ctx: any) {
+ async GET(ctx) {
const stripeId = ctx.params.id;
if (!stripeId) {
return new Response("Not Found", { status: 404 });
@@ -51,59 +51,3 @@ export const handler = define.handlers({
});
},
});
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index ae03063..c5186cd 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -91,7 +91,7 @@ export const handler = define.handlers({
export default define.page(
function LandlordDashboard({ data }: LandlordDashboardProps) {
- const { stateData, dashboardData, error } = data;
+ const { stateData: _stateData, dashboardData, error } = data;
if (error) {
return (
@@ -452,10 +452,16 @@ export default define.page(
-
@@ -536,5 +542,3 @@ export default define.page(
);
},
);
-
-
From 9debeced2654dd295324b8836200d46675c7037d Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:20:50 +0000
Subject: [PATCH 71/79] Apply patch [skip ci]
---
routes/landlord/dashboard/index.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index c5186cd..c612e06 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -542,3 +542,4 @@ export default define.page(
);
},
);
+
From c3f2cd781375202aef6652e4a02923d9894e6809 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:21:20 +0000
Subject: [PATCH 72/79] Apply patch [skip ci]
---
services/leaseService.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/leaseService.ts b/services/leaseService.ts
index 2ddd6ed..11d6f3c 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -247,3 +247,4 @@ export async function getLeaseStatsByOwner(owner_id: string) {
without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
};
}
+
From 92440b29a37634bc8d7207ed81c6c79bdf204748 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:21:38 +0000
Subject: [PATCH 73/79] Apply patch [skip ci]
---
services/leaseService.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/leaseService.ts b/services/leaseService.ts
index 11d6f3c..f651d13 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -248,3 +248,4 @@ export async function getLeaseStatsByOwner(owner_id: string) {
};
}
+
From 85618da0dc1973233c2b4d6f489cba933fb9f4f9 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:23:25 +0000
Subject: [PATCH 74/79] Apply patch [skip ci]
---
services/e2eFixtures.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/e2eFixtures.ts b/services/e2eFixtures.ts
index 17f3c6e..37bfc49 100644
--- a/services/e2eFixtures.ts
+++ b/services/e2eFixtures.ts
@@ -1221,3 +1221,4 @@ export function getE2ELandlordDashboardData(userId: string) {
monthlyRevenue,
};
}
+
From 04649fb6e2276769fea63282663cdcae2bef0436 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:24:25 +0000
Subject: [PATCH 75/79] Apply patch [skip ci]
---
tests/e2e/lease-creation.spec.ts | 40 ++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 tests/e2e/lease-creation.spec.ts
diff --git a/tests/e2e/lease-creation.spec.ts b/tests/e2e/lease-creation.spec.ts
new file mode 100644
index 0000000..3d40565
--- /dev/null
+++ b/tests/e2e/lease-creation.spec.ts
@@ -0,0 +1,40 @@
+import { expect, Page, test } from "@playwright/test";
+import { applyDeterministicPage, e2eHeaders, useE2EUser } from "./helpers.ts";
+
+test("lease acceptance workflow (E2E fixtures)", async ({ page }: { page: Page }) => {
+ await applyDeterministicPage(page);
+
+ // Landlord side: navigate to leased homes
+ await useE2EUser(page, "landlord");
+ await page.goto("/landlord/dashboard");
+ const link = page.getByRole("link", { name: /create new lease/i });
+ if (await link.count()) {
+ await link.click();
+ } else {
+ await page.goto("/leased-home");
+ }
+ await expect(page.getByRole("heading", { name: /leased homes/i })).toBeVisible();
+
+ // Create an invite for an existing e2e lease (server-side fixture)
+ const inviteResp = await page.request.post("/api/update/lease_invite", {
+ headers: { "Content-Type": "application/json", ...e2eHeaders("landlord") },
+ data: { lease_id: "e2e-lease-1" },
+ });
+ expect(inviteResp.ok()).toBeTruthy();
+
+ // Tenant accepts the lease
+ await useE2EUser(page, "tenant");
+ const acceptResp = await page.request.post("/api/update/lease_accept", {
+ headers: { "Content-Type": "application/json", ...e2eHeaders("tenant") },
+ data: { lease_id: "e2e-lease-1" },
+ });
+ expect(acceptResp.ok()).toBeTruthy();
+
+ const body = await acceptResp.json();
+ expect(body?.success).toBeTruthy();
+ // The response may include the updated lease; ensure status is active if present
+ const lease = body?.lease;
+ if (lease) {
+ expect(lease.lease_status === "active").toBeTruthy();
+ }
+});
From 088fa71665cad7076382fbf881a7e3195044450a Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:27:31 +0000
Subject: [PATCH 76/79] Apply patch [skip ci]
---
services/e2eFixtures.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/services/e2eFixtures.ts b/services/e2eFixtures.ts
index 37bfc49..d97d6f4 100644
--- a/services/e2eFixtures.ts
+++ b/services/e2eFixtures.ts
@@ -1222,3 +1222,4 @@ export function getE2ELandlordDashboardData(userId: string) {
};
}
+
From 777fa893f6781d441b68d95e882cc9fcbf7f8ace Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:30:08 +0000
Subject: [PATCH 77/79] Apply patch [skip ci]
---
TODO.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/TODO.md b/TODO.md
index 63cb0b0..9169827 100644
--- a/TODO.md
+++ b/TODO.md
@@ -60,3 +60,4 @@
- [ ] Integration tests for tenant invitation flow
- [ ] E2E tests for complete lease lifecycle
- [ ] Payment service integration tests
+
From b7edcc396483a04fbdbea26d85ca5b6ee77ada1b Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:30:35 +0000
Subject: [PATCH 78/79] Apply patch [skip ci]
---
TODO.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/TODO.md b/TODO.md
index 9169827..4c05eb2 100644
--- a/TODO.md
+++ b/TODO.md
@@ -61,3 +61,4 @@
- [ ] E2E tests for complete lease lifecycle
- [ ] Payment service integration tests
+
From 9dd95205322ab2dcbcb137f2db098ce61607e650 Mon Sep 17 00:00:00 2001
From: "open-swe-dev-andrinoid[bot]"
Date: Thu, 22 Jan 2026 21:32:58 +0000
Subject: [PATCH 79/79] Apply patch [skip ci]
---
TODO.md | 8 ++++++--
routes/api/update/lease_invite.ts | 14 +++++++++-----
routes/landlord/dashboard/index.tsx | 1 -
routes/landlord/payments/index.tsx | 1 -
routes/landlord/portfolio/index.tsx | 1 -
routes/landlord/properties/cleanup.tsx | 1 -
services/e2eFixtures.ts | 2 --
services/leaseService.ts | 2 --
services/paymentService.ts | 2 +-
tests/e2e/landlord-dashboard.spec.ts | 2 --
tests/e2e/lease-creation.spec.ts | 3 ++-
11 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/TODO.md b/TODO.md
index 4c05eb2..c215d72 100644
--- a/TODO.md
+++ b/TODO.md
@@ -3,6 +3,7 @@
## High Priority
### Implement Lease Creation for Landlord Dashboard
+
- **Add "Create New Lease" button** to the landlord dashboard
- **Lease creation form** with basic price information:
- Rent amount
@@ -18,6 +19,7 @@
- Update tenant field when invitation is accepted
### Bug Fixes
+
- **Fix TypeScript import errors** in receipt API routes
- **Add missing `getTransactionByStripeId` function** to paymentService.ts
- **Fix type annotations** for API route handlers
@@ -26,6 +28,7 @@
## Technical Implementation Details
### Lease Creation Flow
+
1. **Landlord Dashboard Enhancement**
- Add "Create New Lease" button component
- Create lease creation modal/page
@@ -42,11 +45,13 @@
- PUT `/api/leases/:id/accept` - Tenant accepts invitation
### Payment Service Fixes
+
- Implement `getTransactionByStripeId(stripeId: string)` function
- Fix import paths in API routes
- Add proper TypeScript types for Fresh handlers
## Development Tasks
+
- [ ] Create lease creation UI components
- [ ] Implement lease creation API endpoint
- [ ] Add tenant invitation system
@@ -56,9 +61,8 @@
- [ ] Update landlord dashboard with new lease button
## Testing
+
- [ ] Unit tests for lease creation
- [ ] Integration tests for tenant invitation flow
- [ ] E2E tests for complete lease lifecycle
- [ ] Payment service integration tests
-
-
diff --git a/routes/api/update/lease_invite.ts b/routes/api/update/lease_invite.ts
index 93bf3b6..6b7c3e3 100644
--- a/routes/api/update/lease_invite.ts
+++ b/routes/api/update/lease_invite.ts
@@ -28,7 +28,8 @@ export const handler = define.handlers({
}
}
- const lease_id = (data.lease_id as string) || (data["lease_id"] as string);
+ const lease_id = (data.lease_id as string) ||
+ (data["lease_id"] as string);
if (!lease_id) {
return new Response(JSON.stringify({ error: "lease_id is required" }), {
status: 400,
@@ -46,10 +47,13 @@ export const handler = define.handlers({
const property_id = lease.property_id as string | undefined;
if (!property_id) {
- return new Response(JSON.stringify({ error: "lease has no property_id" }), {
- status: 400,
- headers: { "Content-Type": "application/json" },
- });
+ return new Response(
+ JSON.stringify({ error: "lease has no property_id" }),
+ {
+ status: 400,
+ headers: { "Content-Type": "application/json" },
+ },
+ );
}
const invite = await createTenantInvite(user_id as string, property_id);
diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx
index c612e06..c5186cd 100644
--- a/routes/landlord/dashboard/index.tsx
+++ b/routes/landlord/dashboard/index.tsx
@@ -542,4 +542,3 @@ export default define.page(
);
},
);
-
diff --git a/routes/landlord/payments/index.tsx b/routes/landlord/payments/index.tsx
index 6f0dd53..b973a2f 100644
--- a/routes/landlord/payments/index.tsx
+++ b/routes/landlord/payments/index.tsx
@@ -282,4 +282,3 @@ export default define.page(function LandlordPayments({ data }) {
);
});
-
diff --git a/routes/landlord/portfolio/index.tsx b/routes/landlord/portfolio/index.tsx
index f391d1d..46f7260 100644
--- a/routes/landlord/portfolio/index.tsx
+++ b/routes/landlord/portfolio/index.tsx
@@ -171,4 +171,3 @@ export default define.page(function LandlordPortfolio({ data }) {
);
});
-
diff --git a/routes/landlord/properties/cleanup.tsx b/routes/landlord/properties/cleanup.tsx
index a8da508..01f6c10 100644
--- a/routes/landlord/properties/cleanup.tsx
+++ b/routes/landlord/properties/cleanup.tsx
@@ -536,4 +536,3 @@ export default define.page(function LandlordPropertyCleanup({ data }) {
);
});
-
diff --git a/services/e2eFixtures.ts b/services/e2eFixtures.ts
index d97d6f4..17f3c6e 100644
--- a/services/e2eFixtures.ts
+++ b/services/e2eFixtures.ts
@@ -1221,5 +1221,3 @@ export function getE2ELandlordDashboardData(userId: string) {
monthlyRevenue,
};
}
-
-
diff --git a/services/leaseService.ts b/services/leaseService.ts
index f651d13..2ddd6ed 100644
--- a/services/leaseService.ts
+++ b/services/leaseService.ts
@@ -247,5 +247,3 @@ export async function getLeaseStatsByOwner(owner_id: string) {
without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
};
}
-
-
diff --git a/services/paymentService.ts b/services/paymentService.ts
index 42667d4..c239937 100644
--- a/services/paymentService.ts
+++ b/services/paymentService.ts
@@ -391,7 +391,7 @@ export async function cancelAutoPayment(
export async function getTransactionByStripeId(stripeId: string) {
if (isE2EEnabled()) {
const transactions = getE2EPaymentTransactionsByOwner(""); // Get all transactions and filter
- return transactions.find(tx => tx.stripe_payment_id === stripeId) || null;
+ return transactions.find((tx) => tx.stripe_payment_id === stripeId) || null;
}
const result = await db.select()
.from(payment_transactions)
diff --git a/tests/e2e/landlord-dashboard.spec.ts b/tests/e2e/landlord-dashboard.spec.ts
index 7825176..267f401 100644
--- a/tests/e2e/landlord-dashboard.spec.ts
+++ b/tests/e2e/landlord-dashboard.spec.ts
@@ -75,5 +75,3 @@ test("landlord can update maintenance status", async ({ page }: { page: Page })
await expect(page).toHaveURL(/\/landlord\/maintenance/);
await expect(statusSelect).toHaveValue("in_progress");
});
-
-
diff --git a/tests/e2e/lease-creation.spec.ts b/tests/e2e/lease-creation.spec.ts
index 3d40565..77c6954 100644
--- a/tests/e2e/lease-creation.spec.ts
+++ b/tests/e2e/lease-creation.spec.ts
@@ -13,7 +13,8 @@ test("lease acceptance workflow (E2E fixtures)", async ({ page }: { page: Page }
} else {
await page.goto("/leased-home");
}
- await expect(page.getByRole("heading", { name: /leased homes/i })).toBeVisible();
+ await expect(page.getByRole("heading", { name: /leased homes/i }))
+ .toBeVisible();
// Create an invite for an existing e2e lease (server-side fixture)
const inviteResp = await page.request.post("/api/update/lease_invite", {