fix(inventory): 修復倉庫低庫存警告計算與全站租戶名稱動態化
This commit is contained in:
@@ -454,7 +454,7 @@ export default function AuthenticatedLayout({
|
||||
</button>
|
||||
<Link href="/" className="flex items-center gap-2">
|
||||
<ApplicationLogo className="w-8 h-8 rounded-lg object-contain" />
|
||||
<span className="font-bold text-slate-900">{branding?.short_name || '小小冰室'} ERP</span>
|
||||
<span className="font-bold text-slate-900">{branding?.short_name || 'Star'} ERP</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
@@ -510,7 +510,7 @@ export default function AuthenticatedLayout({
|
||||
{!isCollapsed && (
|
||||
<Link href="/" className="flex items-center gap-2 group">
|
||||
<ApplicationLogo className="w-8 h-8 rounded-lg object-contain group-hover:scale-110 transition-transform" />
|
||||
<span className="font-extrabold text-primary-main text-lg tracking-tight">{branding?.short_name || '小小冰室'} ERP</span>
|
||||
<span className="font-extrabold text-primary-main text-lg tracking-tight">{branding?.short_name || 'Star'} ERP</span>
|
||||
</Link>
|
||||
)}
|
||||
{isCollapsed && (
|
||||
@@ -559,7 +559,7 @@ export default function AuthenticatedLayout({
|
||||
<div className="h-16 flex items-center justify-between px-6 border-b border-slate-100">
|
||||
<Link href="/" className="flex items-center gap-2">
|
||||
<ApplicationLogo className="w-8 h-8 rounded-lg object-contain" />
|
||||
<span className="font-extrabold text-primary-main text-lg">{branding?.short_name || '小小冰室'} ERP</span>
|
||||
<span className="font-extrabold text-primary-main text-lg">{branding?.short_name || 'Star'} ERP</span>
|
||||
</Link>
|
||||
<button onClick={() => setIsMobileOpen(false)} className="p-2 text-slate-400">
|
||||
<X className="h-5 w-5" />
|
||||
@@ -588,7 +588,7 @@ export default function AuthenticatedLayout({
|
||||
{children}
|
||||
</div>
|
||||
<footer className="mt-auto py-6 text-center text-sm text-slate-400">
|
||||
Copyright © {new Date().getFullYear()} {branding?.name || '小小冰室'}. All rights reserved. Design by 星科技
|
||||
Copyright © {new Date().getFullYear()} {branding?.name || branding?.short_name || 'Star ERP'}. All rights reserved. Design by 星科技
|
||||
</footer>
|
||||
<Toaster richColors closeButton position="top-center" />
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user