Koha/misc/cronjobs
Katrin Fischer e0eb511d59 Bug 34704: Remove regex for adding additional line breaks to print templates
This makes sure that we don't change the line breaking for either
HTML nor plain text print notices.
For plain text, the <pre> is used to keep the line breaks as defined
in the notices template.
For HTML we require on the line breaks added by block elements in the
HTML notice, not adding any additional ones like before.
This gives the full control of the formatting to the notice editor.

To test:
* Make sure your patron doesn't have an email address
* Make sure to check the hold filled notice in messaging preferences
* Place a old on any item
* Checkin the item
* Confirm hold
* Verify notices tab shows the Hold (print) notice
* ./misc/cronjobs/gather_print_notices.pl ./ --html
* Verify the generated file has the HTML output wrapped in pre.
* Reformat the HOLD print notice to be HTML by setting the checkbox.
  Mmake sure to add some empty lines for (they should not print later)
  and some <br>, <p>, <div>  - They should be reflected in the notice later.
* Repeat test.
* All should be well :)

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4c15ad658d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-11-10 10:47:06 -10:00
..
holds Bug 34569: (QA follow-up) Tidy block 2023-09-07 20:13:56 -10:00
recalls Bug 33992: Only consider the date when auto-expiring problematic recalls 2023-08-07 20:05:46 -10:00
rss
social_data
thirdparty
advance_notices.pl Bug 34059: Add only issues from the branch that is creating the notice 2023-08-17 08:42:06 -10:00
archive_purchase_suggestions.pl
automatic_checkin.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 31735: Avoid re-fetcing objects from database by passing them directly instead of ids to various subroutines 2023-05-12 12:40:21 -03:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl
cleanup_database.pl
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example
delete_items.pl
delete_patrons.pl
delete_records_via_leader.pl
edi_cron.pl
fines.pl Bug 18855: Don't create duplicate overdue fines if an issue is returned 2023-07-17 16:42:03 +01:00
gather_print_notices.pl Bug 34704: Remove regex for adding additional line breaks to print templates 2023-11-10 10:47:06 -10:00
import_webservice_batch.pl
longoverdue.pl
membership_expiry.pl Bug 23773: Send membership expiry notices by sms too 2023-05-18 11:35:14 -03:00
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl
patron_emailer.pl
plugins_nightly.pl
printoverdues.sh
process_message_queue.pl Bug 35148: before_send_messages plugin hook does not pass the --where option 2023-10-25 22:24:27 -10:00
purge_suggestions.pl
reconcile_balances.pl
remove_temporary_edifiles.pl
runreport.pl Bug 35171: (QA follow-up): tidy up POD 2023-11-07 22:42:43 -10:00
serialsUpdate.pl
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl
stockrotation.pl
update_patrons_category.pl
update_totalissues.pl
writeoff_debts.pl Bug 28995: Update aliases 2023-09-08 09:48:47 -10:00