]> git.koha-community.org Git - koha.git/commit
Bug 24478: Use `EnablePointOfSale` preference
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 22 Jan 2020 10:51:55 +0000 (10:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 23 Jan 2020 10:30:21 +0000 (10:30 +0000)
commitb2d557d424b6060e0856040fdbe2121a1f37ab2c
tree78fd92fb8241e93d18b8e766a414c60da7520c0a
parent11112b22cbc1a6b336fab9c076bfd6a23ed63e81
Bug 24478: Use `EnablePointOfSale` preference

This patch adds the `EnablePointOfSale` preference to the accounting tab
on the preferences editor and ties the display of the Point of Sale
module to it.

Test plan:
1) Enable both `UseCashRegisters` and `EnablePointOfSale` preferences.
2) Ensure you are a superuser or your user has the
   takepayment permission.
3) The Point of Sale module should be present on your staff home page
   with the above configuration, otherwhise it should not.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/accounting.pref
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt