Bug 28138: (follow-up) Add empty option to payment type selection
authorOwen Leonard <oleonard@myacpl.org>
Thu, 21 Apr 2022 18:17:41 +0000 (18:17 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 00:29:23 +0000 (14:29 -1000)
commit365bde387743acbaa09f0d3f0cb93235f5845159
tree92c8ca7fd0354e4141fc50346fbad0d23e9d2995
parenteffefacf302271128b36337ba11c5c416189683e
Bug 28138: (follow-up) Add empty option to payment type selection

This patch adds an empty <option> to the "Payment type" selection when
paying fine. This forces the user to actively make a selection. I've
also added the text "None selected" to the other empty <option> on the
page for consistency.

To test, apply the patch and test the pay fine interface with and
without the RequirePaymentType preference enabled. When enabled the
payment type should be required and it should default to "None
selected."

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/transaction_types.inc