Add demo data disclaimers to Dashboard and Loenforstaelse pages
Uses the DemoDataDisclaimer component to inform users that data shown on these pages is for demonstration purposes only. Closes books-wzq Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
846711de04
commit
b450c94a7e
3 changed files with 8 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ import { Line, Pie, Column } from '@ant-design/charts';
|
|||
import { useCompany } from '@/hooks/useCompany';
|
||||
import { formatCurrency, formatDate } from '@/lib/formatters';
|
||||
import { accountingColors } from '@/styles/theme';
|
||||
import { DemoDataDisclaimer } from '@/components/shared';
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
|
||||
|
|
@ -124,6 +125,8 @@ export default function Dashboard() {
|
|||
</Text>
|
||||
</div>
|
||||
|
||||
<DemoDataDisclaimer />
|
||||
|
||||
{/* KPI Cards */}
|
||||
<Row gutter={[16, 16]}>
|
||||
{/* Cash Position */}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ import dayjs from 'dayjs';
|
|||
import { useCompany } from '@/hooks/useCompany';
|
||||
import { formatCurrency } from '@/lib/formatters';
|
||||
import { accountingColors } from '@/styles/theme';
|
||||
import { DemoDataDisclaimer } from '@/components/shared';
|
||||
import type { Employee, PayrollEntry } from '@/types/accounting';
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
|
|
@ -292,6 +293,8 @@ export default function Loenforstaelse() {
|
|||
</Space>
|
||||
</div>
|
||||
|
||||
<DemoDataDisclaimer />
|
||||
|
||||
{/* Period Selection */}
|
||||
<Card size="small" style={{ marginBottom: 16 }}>
|
||||
<Space wrap>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue