Skip to content

fix: tie GebüH clause in treatment contract to client setting#152

Merged
dholbach merged 1 commit into
mainfrom
fix/treatment-contract-gebueh-checkbox
Jul 2, 2026
Merged

fix: tie GebüH clause in treatment contract to client setting#152
dholbach merged 1 commit into
mainfrom
fix/treatment-contract-gebueh-checkbox

Conversation

@dholbach

@dholbach dholbach commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Problem

The treatment contract always rendered the GebüH clause as checked (( x ) Das unverbindliche Gebührenverzeichnis der Heilpraktiker (GebüH) aus dem Jahr 1985 wird nicht angewendet.) regardless of whether the client actually uses GebüH billing.

For clients with needs_gebueh_invoice = True (PKV / Beihilfe), the GebüH fee schedule IS applied, so the clause should be unchecked.

Fix

Template now uses {% if client.needs_gebueh_invoice %}( ){% else %}( x ){% endif %} for the GebüH line in both the DE and EN sections.

needs_gebueh_invoice Checkbox Meaning
False (default, self-pay) ( x ) GebüH not applied ✓
True (PKV/Beihilfe) ( ) GebüH applied — clause not checked

🤖 Generated with Claude Code

For clients with needs_gebueh_invoice=True (PKV/Beihilfe), the
treatment contract now renders the GebüH clause as unchecked ( )
instead of checked ( x ), reflecting that the GebüH schedule IS
applied for those clients. Both DE and EN versions updated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dholbach dholbach merged commit e6242fc into main Jul 2, 2026
1 check passed
@dholbach dholbach deleted the fix/treatment-contract-gebueh-checkbox branch July 2, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant