fix: tenancy middleware order and ui consistency for user profile
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-16 11:56:44 +08:00
parent 5b15ca2cd6
commit 43d7cada34
16 changed files with 576 additions and 16 deletions

View File

@@ -16,7 +16,9 @@ export default function TenantCreate() {
};
return (
<LandlordLayout title="新增客戶">
<LandlordLayout
title="新增客戶"
>
<div className="max-w-2xl">
<div className="mb-6">
<h1 className="text-2xl font-bold text-slate-900"></h1>

View File

@@ -26,7 +26,9 @@ export default function TenantEdit({ tenant }: Props) {
};
return (
<LandlordLayout title="編輯客戶">
<LandlordLayout
title="編輯客戶"
>
<div className="max-w-2xl">
<div className="mb-6">
<h1 className="text-2xl font-bold text-slate-900"></h1>

View File

@@ -37,7 +37,9 @@ export default function TenantIndex({ tenants }: Props) {
};
return (
<LandlordLayout title="客戶管理">
<LandlordLayout
title="客戶管理"
>
<div className="space-y-6">
{/* Header */}
<div className="flex items-center justify-between">

View File

@@ -45,7 +45,9 @@ export default function TenantShow({ tenant }: Props) {
};
return (
<LandlordLayout title="客戶詳情">
<LandlordLayout
title="客戶詳情"
>
<div className="max-w-3xl space-y-6">
{/* Back Link */}
<Link