Commit Graph

46 Commits

Author SHA1 Message Date
2cfa16b588 feat: Add summary page for group and family lists
- Implements a summary of registrations on page 1 for both
  "Kita/School" and "Family" modes.
- For Kita/School mode (i/e), it lists the count of children per
  group/class and a total count.
- For Family mode (f), it lists the count of appointments per day
  and a total count.
- The summary block is inserted after the initial copy-and-paste info
  and before the detailed group/day lists.
- A long separator line is added after the summary for clarity.
- Page breaks are now inserted before each group/day list to ensure
  the summary remains on its own page at the beginning.
2025-06-29 14:34:26 +00:00
eb0f35ef8f feat: Add school/kindergarten mode for group list generation
- Introduces a new user prompt to select facility type (school 's' or
  kindergarten 'k') before generating 'intern'/'extern' lists.
- Saves the last used facility type for easier reuse.
- Adapts the group list generation based on the selected type:
    - Table header changes to "Klasse" for schools, "Gruppe" for kindergarten.
    - Suffix '-gruppe' is only appended to kindergarten group names.
    - Reminder text is adjusted to address students ("Schüler") for schools
      and parents/children for kindergartens.
- The family shooting mode ('f') remains unaffected.
2025-06-29 14:10:58 +00:00
fe4d88109a reset 2025-05-28 12:07:31 +00:00
2f2df7d7d0 bugfix 2025-05-28 11:35:23 +00:00
c732c1a4ab bugfix 2025-05-28 11:26:15 +00:00
a474a39a12 feat: Implement family shooting list generation with daily grouping
- Adds new mode/script functionality for "Family Shootings".
- Prompts user for event name and general event date for an initial info block.
- Saves/loads these inputs via `familien_shooting_last_input.json`.
- Reads 'familien_sample.csv' for scheduling data:
    - Extracts 'Invitee First/Last Name', 'Start/End Date & Time',
      'Response 1' (# Kids), 'Response 2' (Publish consent).
    - Ignores rows with missing core participant or time data.
- Groups appointments by calendar date.
- For each day:
    - Prints date as a section header.
    - Generates a text-based table:
        - Columns: Vorname, Nachname, Uhrzeit, # Kinder, Pub, Erledigt.
        - 'Pub' column shows 'X' if 'Response 2' is "Ja, gerne".
        - 'Erledigt' column shows '☐'.
    - Sorts appointments chronologically within each day.
    - Inserts a blank row in the table if a time gap exists between
      consecutive appointments.
    - Adds a page break between different dates.
- Document title now reflects the event name.
- Retains plain text output for manual "Text to Table" conversion in Docs.
2025-05-28 11:20:39 +00:00
4dc3260bae import csv from datetime import datetime import collections import os.path import json from google
- Frägt Datum, Kita-Namen und Ausgabemodus (intern/extern) vom Benutzer ab.
- Speichert letzte Eingaben für einfachere Wiederverwendung.
- Passt CSV-Spaltennamen für Vor-/Nachname Kind an.
- Interner Modus zeigt zusätzlich Spalten "E" (Einzelfotos) und "G" (Gruppenfotos)
  mit "✓" für "Ja" und "Nein" für andere Werte.
- Dokumenttitel enthält nun Kita-Namen und Ausgabemodus.
- Fügt zwei Leerzeilen vor jeder Gruppenliste für besseren Abstand hinzu.
2025-05-28 08:17:13 +00:00
d5635d9105 bugfix 2025-05-28 08:09:49 +00:00
afca567075 bugfix 2025-05-28 08:08:53 +00:00
eefdae4e4a bugfix 2025-05-28 08:07:04 +00:00
533f974166 feat: Add user input for date/facility, save inputs, adjust layout
- Prompts user for event date and facility name at script start.
- Saves last entered values to a JSON file for future default.
- Uses user-provided values for the initial info block on page 1.
- Adds two line breaks before each group's data block for spacing.
- Document title now includes the facility name for better identification.
2025-05-28 07:58:14 +00:00
77c9b51cf2 reset 2025-05-27 06:07:00 +00:00
7e877277a7 bugfix 2025-05-27 05:55:59 +00:00
1a524f3e11 bugfix 2025-05-27 05:52:27 +00:00
715b9f1f68 bugfix 2025-05-27 05:50:16 +00:00
945981127c bugfix 2025-05-27 05:47:10 +00:00
3bbddb050d bugfix 2025-05-27 05:44:12 +00:00
332613b83c bugfix 2025-05-27 05:41:54 +00:00
3a4d88f566 bugfix 2025-05-27 05:39:15 +00:00
36ce30cb45 bugfix 2025-05-27 05:24:08 +00:00
199b1f60e9 bugfix 2025-05-27 05:18:38 +00:00
ea3ee863d0 feat: Integrate gdoctableapppy for table creation and header styling
Replaces plain text table generation with gdoctableapppy library
to create true Docs tables. Attempts to bold header row.
Retains manual copy for main doc header/footer.
2025-05-27 05:16:08 +00:00
e6baac5723 bugfix 2025-05-26 20:12:45 +00:00
36037d7320 bugfix 2025-05-26 20:07:28 +00:00
ab0fa401f9 bugfix 2025-05-26 20:03:31 +00:00
6ab4f038d8 bugfix 2025-05-26 19:52:08 +00:00
4bf4436e63 bugfix 2025-05-26 19:46:02 +00:00
79586033eb bugfix 2025-05-26 19:43:50 +00:00
47cfcb1f5a bugfix 2025-05-26 19:42:29 +00:00
4e654ad315 revert to tabs 2025-05-26 19:37:41 +00:00
1a5334210b bugfix 2025-05-26 19:34:53 +00:00
b21051fece bugfix 2025-05-26 19:32:26 +00:00
ca38547e8e bugfix 2025-05-26 19:29:42 +00:00
25320d6b9e bugfix 2025-05-26 19:26:38 +00:00
2c6a816462 bugfix 2025-05-26 19:04:37 +00:00
1c4d26bd18 bugfix 2025-05-26 18:58:27 +00:00
41f905a184 bugfix 2025-05-26 18:53:42 +00:00
1d53108771 bugfix 2025-05-26 18:33:06 +00:00
14b2657cd8 bugfix 2025-05-26 18:28:43 +00:00
507a6bd865 bugfix 2025-05-26 18:27:11 +00:00
7304d08149 bugfix 2025-05-26 18:23:25 +00:00
757df6afe9 bugfix 2025-05-26 18:21:17 +00:00
071cb4ff61 bugfix 2025-05-26 18:20:27 +00:00
5a5df49520 bugfix 2025-05-26 18:14:45 +00:00
5427394ff7 bugfix 2025-05-26 18:04:01 +00:00
c8d14b7672 list_generator.py hinzugefügt 2025-05-26 17:40:22 +00:00