hwinkel
e526e7fd2d
fix: improve openssl installation logic in Dockerfile for better compatibility
Build and Push Docker Image / build (push) Failing after 5m8s
2026-04-25 13:45:08 +02:00
hwinkel
c412388877
fix: update Docker login credentials to use repository owner and registry token
...
Build and Push Docker Image / build (push) Failing after 41s
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 13:39:58 +02:00
hwinkel
73ad126052
fix: update password reference to use secrets in build workflow
...
Build and Push Docker Image / build (push) Failing after 30s
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 13:34:25 +02:00
henry
662e565116
.gitea/workflows/build.yml aktualisiert
Build and Push Docker Image / build (push) Failing after 30s
2026-04-25 11:18:44 +00:00
henry
80791e4aa7
.gitea/workflows/build.yml aktualisiert
Build and Push Docker Image / build (push) Failing after 31s
2026-04-25 11:11:23 +00:00
hwinkel
8d5f69aaab
chore: comment out REGISTRY environment variable in build workflow
Build and Push Docker Image / build (push) Failing after 30s
2026-04-25 13:09:31 +02:00
hwinkel
7af907a801
feat: add GitHub Actions workflow for building and pushing Docker images
Build and Push Docker Image / build (push) Failing after 30s
2026-04-25 12:20:01 +02:00
hwinkel
ad80688b8b
Refactor: consolidate accounting routes under Buchhaltung submenu
...
- New layout route: companies.$id.buchhaltung.tsx with card-based navigation
- Renamed 7 accounting routes to use buchhaltung prefix:
- companies.$id.bilanzen.tsx → companies.$id.buchhaltung.bilanzen.tsx
- companies.$id.ausgaben.tsx → companies.$id.buchhaltung.ausgaben.tsx
- companies.$id.ausgaben.kategorien.tsx → companies.$id.buchhaltung.ausgaben.kategorien.tsx
- companies.$id.einnahmen.tsx → companies.$id.buchhaltung.einnahmen.tsx
- companies.$id.einnahmen.kategorien.tsx → companies.$id.buchhaltung.einnahmen.kategorien.tsx
- companies.$id.anlagevermoegen.tsx → companies.$id.buchhaltung.anlagevermoegen.tsx
- companies.$id.money.tsx → companies.$id.buchhaltung.money.tsx
- Updated routing configuration (app/routes.ts) to use nested layout structure
- Updated breadcrumbs in all accounting routes to show Buchhaltung hierarchy
- Updated internal links in kategorien pages to use new URLs
- Main menu now shows single 'Buchhaltung' card instead of 5 separate items
Navigation improvements:
- Cleaner main menu (1 item vs 5)
- Clear accounting subsection with icon-based navigation
- Consistent URL structure (/companies/:id/buchhaltung/*)
- Better information hierarchy
Build: ✅ Successful
Accounting routes: ✅ Accessible
Navigation: ✅ Functional
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-15 21:41:56 +02:00
hwinkel
f10a79471e
Refactor: centralize Zod schemas and fully integrate into API routes
...
Improvements #1-3 deepening:
1. Server-side invoice amount validation
- All amounts (qty × unitPrice) recalculated server-side using tax.ts
- Prevents client-side manipulation attacks
- Supports kleinunternehmer auto-inheritance
2. Comprehensive audit logging
- LogAction type extended with 11 new actions
- All CRUD operations now logged with metadata
- Metadata includes: amounts, counts, status transitions, oldStatus/newStatus
3. Advanced Zod validation (centralized)
- New file: app/lib/schemas.ts (220 lines, 18+ validators)
- Custom validators: currencySchema, taxRateSchema, ibanSchema, taxIdSchema, vatIdSchema
- All API routes (invoices, companies, customers) now use centralized schemas
- Consistent German error messages
- Single source of truth for validation logic
Additional improvements:
- DB indices applied: invoices(status, dueDate, deletedAt, customerId), customers(companyId)
- Migration 20260415192953_add_indices applied successfully
- Build succeeds without critical errors
- TypeScript compilation validates all schemas
Files modified:
- app/lib/schemas.ts (NEW)
- app/routes/api.invoices.ts (uses centralized schemas)
- app/routes/api.invoices.$id.ts (status transition validation)
- app/routes/api.companies.ts, api.companies.$id.ts
- app/routes/api.customers.ts, api.customers.$id.ts
- app/lib/logger.server.ts (metadata support)
- prisma/schema.prisma (indices)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-15 21:34:38 +02:00
hwinkel
1ffbcf237c
chore: update .gitignore to include graphify-out directory and add copilot instructions
2026-04-13 21:50:41 +02:00
hwinkel
9e7c85c2b3
feat: add Einnahmen Kategorien management page with CRUD functionality
...
- Implemented a new route for managing Einnahmen Kategorien.
- Added auto-seeding of default Einnahmen Kategorien if none exist.
- Integrated category usage tracking to prevent deletion of in-use categories.
- Enhanced Einnahmen page to link to the new Kategorien management.
- Updated Prisma schema and seed script to include default categories.
- Added a modal for detailed view of Einnahmen by category and month.
- Refactored existing Einnahmen page to accommodate new category structure.
- Introduced PostCSS configuration for Tailwind CSS support.
- Created a new migration to update existing category labels in the database.
- Added TypeScript configuration for stricter type checking.
- Set up Vite configuration for improved development experience with React Router.
2026-03-24 22:43:09 +01:00
hwinkel
1ec15600b5
Refactor financial transaction handling: Consolidate Einnahmen and Ausgaben into Buchung model, update routes and UI components, and add new migration scripts for database schema changes.
2026-03-24 21:06:07 +01:00
hwinkel
d582c748a2
feat: add financial transactions management for companies
...
- Implemented a new route for managing financial transactions (money) for companies, including creating, editing, and deleting transactions.
- Added a new model `Buchung` to represent transactions with fields for date, account type, transaction type, amount, and description.
- Updated the `companies` model to include a relation to the new `Buchung` model.
- Enhanced the company overview page to link to the new financial transactions page.
- Added migration scripts to create the necessary database tables and fields for the new functionality.
- Created utility scripts for resetting the admin password and setting up the initial admin user.
2026-03-24 19:25:48 +01:00
hwinkel
6d8c4b615f
ADD: added einnahmen, ausgaben and bilanz
2026-03-24 14:48:32 +01:00
hwinkel
1bbeaf2c34
FIX: fixed erechnung error
2026-03-15 21:05:45 +01:00
hwinkel
c6dc22c859
ADD: fixed e rechnung
2026-03-15 20:58:24 +01:00
hwinkel
5ac9e269e3
ADD: added e-rechnung
2026-03-15 20:21:48 +01:00
hwinkel
40a2764dd0
ADD: added some quiality of life features
2026-03-15 19:53:11 +01:00
hwinkel
f5b259cae2
ADD: prisma fix
2026-03-13 14:20:07 +01:00
hwinkel
98ac11bda9
FIX: fixed package .json
2026-03-13 14:09:12 +01:00
hwinkel
cf66d914de
ADD: fixed sime routing issues and docker file issues
2026-03-13 13:18:47 +01:00
hwinkel
b3684c86b5
ADD:Update docker-compose
2026-03-13 12:25:15 +01:00
hwinkel
12d78f6532
ADD: startup reworked
2026-03-13 12:14:04 +01:00
hwinkel
71ff97f302
ADD: added inital scripts and password recovery scripts
2026-03-13 12:06:09 +01:00
hwinkel
3a2a94ec19
ADD: added admin panel and archiv mandates
2026-03-13 10:58:44 +01:00
hwinkel
a742d79457
updated dockerfile and compose file
2026-03-13 09:46:32 +01:00
hwinkel
b2dddb453c
ADD: added ssl for deployment
2026-03-13 08:43:54 +01:00
hwinkel
0acc3e63f7
ADD: switched to kaniko build
2026-03-12 17:00:47 +01:00
hwinkel
7a5f2a425b
ADD: added gitlab ci yaml
2026-03-12 15:56:11 +01:00
hwinkel
b8e981eaf3
ADD: adden rechnungne ohne ust id und logout button
2026-03-11 23:23:24 +01:00
hwinkel
f9307d9f4a
ADD: added dockerfile and docker-compose and k8s manifest
2026-03-11 22:37:38 +01:00
hwinkel
1ac4fae943
ADD: added first working version
2026-03-11 22:09:49 +01:00
hwinkel
4bc57b2c4e
ADD: changed to rect router
2026-03-10 21:49:01 +01:00
Claude
44e79e657f
feat: Initial implementation of Annas Rechnungsmanager
...
Full-stack German accounting & invoice management web application:
- Multi-company management (Mandantenverwaltung) with full CRUD
- Invoice creation with dynamic line items and automatic tax calculation
- Sequential invoice numbering per company (RE-2024-001 format)
- §14 UStG compliant PDF invoice generation via @react-pdf/renderer
- Customer management (Kundenverwaltung) per company
- Tax reports: quarterly USt-Voranmeldung and monthly revenue overview
- Email/password authentication via NextAuth.js v5
- Responsive, modern UI with Tailwind CSS and custom shadcn/ui components
- Prisma v5 ORM with MySQL/MariaDB schema + demo seed data
Stack: Next.js 14 (App Router) · TypeScript · Prisma/MySQL · NextAuth.js
https://claude.ai/code/session_01FN53KKxo5ebrGwqFhxzkT9
2026-03-07 17:27:57 +00:00