Merge pull request #52 from nathanAndrinoid/open-swe/3ddb9be3-b05d-4a14-9598-576a2029da87
[WIP]: Implement Lease Creation for Landlord Dashboard and Fix Lease Status Handling
This commit is contained in:
commit
4433fd5663
@ -537,19 +537,3 @@ export default define.page(
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -247,3 +247,7 @@ export async function getLeaseStatsByOwner(owner_id: string) {
|
|||||||
without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
|
without_tenant: allLeases.filter((l) => l.tenant_id === null).length,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -75,3 +75,5 @@ test("landlord can update maintenance status", async ({ page }: { page: Page })
|
|||||||
await expect(page).toHaveURL(/\/landlord\/maintenance/);
|
await expect(page).toHaveURL(/\/landlord\/maintenance/);
|
||||||
await expect(statusSelect).toHaveValue("in_progress");
|
await expect(statusSelect).toHaveValue("in_progress");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user