Add Bonus-Bericht export function for formatted bonus reports
- Added new "Bonus-Bericht" button to both Dienstplan_Portable.html and webapp - Creates a printable HTML report with: - Header with "Bonuszahlungen" title - Month and payout date information - Table showing duties per weekday with amounts per employee - Individual explanatory notes for each employee - Print/PDF save button - Format matches user's requested output style from issue #20 Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
This commit is contained in:
parent
cefb40945b
commit
635b986e2c
3 changed files with 629 additions and 2 deletions
|
|
@ -178,8 +178,9 @@
|
|||
<div class="settings-section">
|
||||
<h3>Datenexport / Import</h3>
|
||||
<button id="export-csv-btn" class="btn btn-success">📊 Excel/CSV Export</button>
|
||||
<button id="export-report-btn" class="btn btn-primary">📝 Bonus-Bericht</button>
|
||||
<button id="export-btn" class="btn btn-secondary">Daten exportieren (JSON)</button>
|
||||
<p class="text-muted" style="margin-top: 10px;">💡 <strong>Tipp:</strong> CSV-Dateien können direkt mit Excel, LibreOffice oder Google Sheets geöffnet werden.</p>
|
||||
<p class="text-muted" style="margin-top: 10px;">💡 <strong>Tipp:</strong> CSV-Dateien können direkt mit Excel, LibreOffice oder Google Sheets geöffnet werden. Der Bonus-Bericht öffnet sich in einem neuen Fenster zum Drucken.</p>
|
||||
<div class="form-group">
|
||||
<label for="import-file">Daten importieren:</label>
|
||||
<input type="file" id="import-file" accept=".json">
|
||||
|
|
|
|||
Reference in a new issue