Bug 36809 - DRY out notice and slip printing
Summary: DRY out notice and slip printing
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Martin Renvoize (ashimema)
QA Contact: Testopia
URL:
Keywords:
Depends on: 32344 32345 32346 33260 36808 38078 31713 35285
Blocks:
  Show dependency treegraph
 
Reported: 2024-05-08 07:03 UTC by Martin Renvoize (ashimema)
Modified: 2024-10-03 14:58 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2024-05-08 07:03:02 UTC
We have a plethora of slip and notice printing controllers and templates.

This makes it difficult to improve the notices tools and not miss area's.. we should really move to one or two definitive scripts and templates for printing slips and notices and remove all the duplicate unmaintained code.
Comment 1 Martin Renvoize (ashimema) 2024-05-08 07:12:18 UTC
* batch/print-notices.tt
* pos/printreceipt.tt
* serials/routing-preview-slip.tt
* members/printnotice.tt
* members/printinvoice.tt
* members/printfeercpt.tt
* members/moremember-print.tt
* circ/printslip.tt
* members/printslip.tt


I'm sure I've missed some.. and that's just templates.
Comment 2 Martin Renvoize (ashimema) 2024-10-03 14:51:19 UTC
Add tools/printnotice.pl to the list with it being introduced in bug 33260
Comment 3 Martin Renvoize (ashimema) 2024-10-03 14:58:26 UTC
Should 'print slip', 'print notice' and 'print bulk' be distinct maybe.. and what about when printing a non-print type message.. that's a different case again.

I.e. we need to answer when what styling and formatting should apply