Bug 21914 - Add preferences for default payment type
Summary: Add preferences for default payment type
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-29 16:22 UTC by Christopher Brannon
Modified: 2023-10-09 15:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2018-11-29 16:22:22 UTC
The new payment type should have preferences to be required and a default setting.
Comment 1 Katrin Fischer 2023-10-07 23:41:40 UTC
We can set the payment type to required using RequirePaymentType.
A default kind of contradicts it, as it then will always be set.
Comment 2 Christopher Brannon 2023-10-09 15:31:37 UTC
(In reply to Katrin Fischer from comment #1)
> We can set the payment type to required using RequirePaymentType.
> A default kind of contradicts it, as it then will always be set.

There is no contradiction.  Required means that it needs to be set to something.  You don't necessarily have to have a preset for a required field. A default means that it will be preset.