Skip to content

feat(members/excursion): various fixes and LJP proposal enhancements#230

Open
mariusrklein wants to merge 6 commits intomainfrom
mk-excursion-fixes
Open

feat(members/excursion): various fixes and LJP proposal enhancements#230
mariusrklein wants to merge 6 commits intomainfrom
mk-excursion-fixes

Conversation

@mariusrklein
Copy link
Collaborator

• Full receipt overview for LJP proposals – Added new LaTeX template (ljp_statement.tex) to generate comprehensive invoice and receipt summaries with all supporting documentation

• Download LJP proofs functionality – Implemented download_ljp_proofs() method in admin panel to generate and download complete proof collections with attachments (right next to other lip documents)

• Improved LJP participant counting – Fixed distinction between regular participants and LJP-eligible participants; introduced ljp_participant_count property for accurate subsidies calculation in excursion cost overview

• Qualification activity handling – Activities with qualification goal no longer apply age restrictions to participants and correctly exempt org fees

• Enhanced LJP proposal validation – Added custom form validation to enforce category-goal combinations: Qualification requires Staff Training category; other goals require Educational Programme

• Updated help texts & translations – Added clarifying help texts for night costs, kilometers traveled, and postcode fields; improved German translations throughout

• Org fee logic refinement – Org fees only charged when subsidies or allowances claimed, excluding qualification activities entirely

• UI improvements – Reordered fields in Freizeit admin for better logical flow; updated German translations for LJP-related terminology

…ar ones

this includes to the following features:

- calculation of org fee should be disabled for older participants in a yl activity
- calculation of ljp participants is different for yl acitivitis: there is no age limit.
- as a consequence, paid and requested ljp contributions are considerably higher

the ljp goal qualification can only occur with the category staff training (also the negation of both). This is restricted by a field validation so the discrimination can check for just one of the fields.
the document

- lists all bills for an activity
- adds up all allowances on top of the bill overview
- adds a custom receipt for the allowances
- appends all other receipts in their order on the list
@github-actions
Copy link

github-actions bot commented Feb 12, 2026

📚 Documentation deployed!

Documentation: https://chrisflav.github.io/kompass/mk-excursion-fixes/

Docker Images:

  • App: ghcr.io/chrisflav/kompass:pr-230
  • Nginx: ghcr.io/chrisflav/kompass-nginx:pr-230

Add the awaiting-deployment label to deploy this PR to a staging server.

Copy link
Owner

@chrisflav chrisflav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly that now the finance report is required, but not the actual scanned invoices? Otherwise I am confused why we don't add the invoices to the current LJP finance overview.

Comment on lines +414 to +415
"Das Lernziel 'Qualifizierung' kann nur in Kombination mit der Kategorie "
"'Jugendleiter*innenweiterbildung' verwendet werden."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Das Lernziel 'Qualifizierung' kann nur in Kombination mit der Kategorie "
"'Jugendleiter*innenweiterbildung' verwendet werden."
"Das Bildungsziel 'Qualifizierung' kann nur in Kombination mit der Kategorie "
"'Jugendleiter*innenweiterbildung' verwendet werden."

Comment on lines +629 to +630
msgid "only relevant for a LJP application"
msgstr "nur für einen LJP-Antrag relevant"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msgid "only relevant for a LJP application"
msgstr "nur für einen LJP-Antrag relevant"
msgid "Only relevant for a LJP application."
msgstr "Nur für einen LJP-Antrag relevant."

@chrisflav chrisflav changed the title Excursion Fixes and LJP Proposal Enhancements feat(members/excursion): various fixes and LJP Proposal Enhancements Mar 8, 2026
@chrisflav chrisflav changed the title feat(members/excursion): various fixes and LJP Proposal Enhancements feat(members/excursion): various fixes and LJP proposal enhancements Mar 8, 2026
mariusrklein and others added 3 commits March 8, 2026 21:58
Co-authored-by: Christian Merten <christian@merten.dev>
Co-authored-by: Christian Merten <christian@merten.dev>
Co-authored-by: Christian Merten <christian@merten.dev>
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.

2 participants