[Koha-bugs] [Bug 24786] Allow setting a cash register for a login session

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 16 14:48:48 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24786

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #110164|0                           |1
        is obsolete|                            |

--- Comment #57 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 110189
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110189&action=edit
Bug 24786: Update point of sale to use session register

This patch adds handling to allow for the use of the session cash
register by default if it has been set, otherwise it defaults to '--
None --' and requires the end user to select the register to proceed
with the sale.

Test plan
1/ Enable cash registers via the 'UseCashRegisters' system preference
2/ Enable point of sale via the 'EnablePointOfSale' system preference
3/ Navigate to the point of sale page
4/ Note that if you are logged in at a branch with no cash registers yet
defined, then an alert should appear
5/ Note that when you are logged in at a branch with cash regsiters
defined, but without a cash register associated with your session then
the cash 'Cash register' select box is populated with '-- None --' and
you are required to select a register prior to submission
6/ Note that upon selection, the '-- None --' option is disabled
7/ Note that when you have a register associated with your session then
the 'Cash register' select box is pre-populated with that register.
8/ Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list