kerimatilganandClaude Opus 4.7 45c0c0047f Stitch-styled PDF viewer + .icon-btn helper for modal icon buttons
The Anzeigen / Download / Löschen icons inside the documents modal
and the close X of every modal sit outside <table>, so the previous
"table button" reset didn't reach them — the global blue button
styling shone through.

- Introduce a generic `.icon-btn` class that mirrors the table reset
  (transparent background, no padding, inherit colour). The reset
  rule is now `table button, .icon-btn`.
- Tag the documents modal close button and the view/download/delete
  buttons inside each document card with `icon-btn`. Tailwind classes
  (`text-outline hover:text-primary` etc.) still win for colour.
- Rebuild the PDF viewer modal in Stitch style: clean white card,
  light header with picture_as_pdf glyph + title, body on a soft grey
  surface, footer with chevron navigation buttons and zoom icons.
  Toggle hidden/flex instead of the legacy `.show` class. Removed the
  matching .pdf-viewer-* / .pdf-nav-btn / .pdf-zoom-btn CSS that no
  longer applies.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 18:13:50 +02:00

Provisions-Tracker

Ein Tool zur Erfassung und Verwaltung von Mitarbeiter-Provisionen bei Schaltungen.

Funktionen

  • Schaltungen erfassen: Vollständige Erfassung aller relevanten Daten

    • Schaltungs-ID, Eingabe-Datum, Schaltungs-/Aktivierungsdatum
    • Kundendaten (Vorname, Nachname, optional Firma, Rufnummer)
    • Anbieter und Tarif (konfigurierbar über Admin-Bereich)
    • Hardware (15-stellige Eingabe)
    • Dokumentenupload mit Drag & Drop
  • Übersicht: Tabelle aller erfassten Schaltungen mit Filtermöglichkeiten

  • Administration:

    • Anbieter hinzufügen und verwalten
    • Tarife pro Anbieter konfigurieren

Installation

  1. Abhängigkeiten installieren:

    npm install
    
  2. Server starten:

    npm start
    

    Oder für Entwicklung mit automatischem Neustart:

    npm run dev
    
  3. Anwendung im Browser öffnen:

    http://localhost:3000
    

Technische Details

  • Backend: Node.js mit Express
  • Datenbank: SQLite (wird automatisch erstellt)
  • Frontend: Vanilla HTML/CSS/JavaScript
  • Datei-Upload: Multer mit 10MB Limit

Datenbankstruktur

  • anbieter: Telekommunikationsanbieter
  • tarife: Tarife pro Anbieter
  • schaltungen: Haupttabelle für Provisionserfassung
  • dokumente: Hochgeladene Dateien pro Schaltung

Standarddaten

Die Anwendung wird mit folgenden Testdaten initialisiert:

  • Anbieter: Telekom, Vodafone, O2, 1&1
  • Beispiel-Tarife für jeden Anbieter

Sicherheitshinweise

  • Dateien werden im uploads/ Verzeichnis gespeichert
  • Maximale Dateigröße: 10MB
  • Unterstützte Dateitypen: PDF, JPG, JPEG, PNG, DOC, DOCX
S
Description
No description provided
Readme
1.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 68.4%
HTML 31.6%