Refactor to generic ERP base

Remove influencer-specific features (campaigns, TikTok, gifts, shadow ledger,
contracts, briefings) and consolidate into a clean ERP foundation with core
bookkeeping, invoicing, receipts, tax reporting, and calendar functionality.
Reorganize database migrations into a clean numbered sequence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakob Wennberg
2026-02-13 15:39:13 +01:00
co-authored by Claude Opus 4.6
parent a25d10a528
commit 0aecf5b41c
184 changed files with 1418 additions and 24763 deletions
+1 -7
View File
@@ -4,7 +4,7 @@ import { useState } from 'react'
import { Button } from '@/components/ui/button'
import { Card } from '@/components/ui/card'
import { Badge } from '@/components/ui/badge'
import { Loader2, ArrowRight, Building2, User, Users, Check } from 'lucide-react'
import { Loader2, ArrowRight, Building2, User, Check } from 'lucide-react'
import { cn } from '@/lib/utils'
import type { EntityType } from '@/types'
@@ -33,12 +33,6 @@ const entityOptions: {
description: 'Du har ett registrerat AB med organisationsnummer',
icon: Building2,
},
{
value: 'light',
label: 'Egenanställd',
description: 'Du arbetar via egenanställningsföretag som Frilans Finans, Cool Company eller Gigapay',
icon: Users,
},
]
export default function Step1EntityType({ initialData, onNext, isSaving }: Step1Props) {