- Add bulk XML CFDI upload support (up to 300MB) - Add period selector component for month/year navigation - Fix session persistence on page refresh (Zustand hydration) - Fix income/expense classification based on tenant RFC - Fix IVA calculation from XML (correct Impuestos element) - Add error handling to reportes page - Support multiple CORS origins - Update reportes service with proper Decimal/BigInt handling - Add RFC to tenant view store for proper CFDI classification - Update README with changelog and new features Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
521 B
TypeScript
21 lines
521 B
TypeScript
import { Sidebar } from './sidebar';
|
|
import { Header } from './header';
|
|
|
|
interface DashboardShellProps {
|
|
children: React.ReactNode;
|
|
title: string;
|
|
headerContent?: React.ReactNode;
|
|
}
|
|
|
|
export function DashboardShell({ children, title, headerContent }: DashboardShellProps) {
|
|
return (
|
|
<div className="min-h-screen bg-background">
|
|
<Sidebar />
|
|
<div className="pl-64">
|
|
<Header title={title}>{headerContent}</Header>
|
|
<main className="p-6">{children}</main>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|