Skip to content

PAS#2353

Merged
cyrillkuettel merged 4 commits intomasterfrom
ogc-2941-abrechnungssystem-layout
Feb 19, 2026
Merged

PAS#2353
cyrillkuettel merged 4 commits intomasterfrom
ogc-2941-abrechnungssystem-layout

Conversation

@cyrillkuettel
Copy link
Contributor

Implement four improvements to PDF and Excel exports:

  1. Add round_to_five_rappen utility function and apply to all exports
  2. Adjust parliamentarian settlement PDF for C5 envelope (6cm top, 3cm left)
  3. Separate salutation from name on new line in address block
  4. Remove Pers-Nr column from journal tables and adjust column widths
  5. Widen Typ column and narrow other journal columns to reduce pages

Commit message

:

TYPE: Feature
LINK: OGC-2941
HINT:

Checklist

  • I have performed a self-review of my code

Implement four improvements to PDF and Excel exports:
1. Add round_to_five_rappen utility function and apply to all exports
2. Adjust parliamentarian settlement PDF for C5 envelope (6cm top, 3cm left)
3. Separate salutation from name on new line in address block
4. Remove Pers-Nr column from journal tables and adjust column widths
5. Widen Typ column and narrow other journal columns to reduce pages

Updates:
- src/onegov/pas/utils.py: Add round_to_five_rappen function
- src/onegov/pas/export_single_parliamentarian.py: Apply rounding,
  update HTML address layout
- src/onegov/pas/views/settlement_run.py: Apply rounding to journal
  table, remove Pers-Nr column from HTML
- src/onegov/pas/views/abschlussliste.py: Apply rounding to Excel
  exports
- src/onegov/pas/views/pas_excel_export_nr_3_lohnart_fibu.py: Apply
  rounding to CSV export
- src/onegov/pas/views/templates/parliamentarian_settlement_pdf.css:
  Adjust margins for C5 envelope positioning
- src/onegov/pas/views/templates/settlement_pdf.css: Remove Pers-Nr
  column, adjust column widths

Try to fix column width
@linear
Copy link

linear bot commented Feb 19, 2026

@cyrillkuettel cyrillkuettel merged commit 51ed082 into master Feb 19, 2026
11 of 12 checks passed
@cyrillkuettel cyrillkuettel deleted the ogc-2941-abrechnungssystem-layout branch February 19, 2026 00:51
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

Comments