Bug 18251: SCO alerts - need a trigger for successful checkouts
authorNick Clemens <nick@bywatersolutions.com>
Mon, 13 Mar 2017 14:30:42 +0000 (14:30 +0000)
committerroot <root@f1ebe1bec408>
Tue, 26 Feb 2019 13:18:28 +0000 (13:18 +0000)
commit677fd902f377ef81b6623545f0e67bb10af64e93
treece75e35f636674dd4d19f6ccfc8289d7fe0b0dfa
parentfb4707b97cec006e0e6f5c4b4dd430146e97f16a
Bug 18251: SCO alerts - need a trigger for successful checkouts

This patch adds simple text and a div to allow for sounds to be
configured upon successful SCO checkout

To test:
1 - Enable sco module
2 - Enable AudioAlerts
3 - Define alert with
     Selector: .sco-alert-success
     Sound:http://localhost:8081/intranet-tmpl/prog/sound/opening.ogg
4 - Checkout to patron using SCO
5 - Note only feedback is a addition of item to checkouts list
6 - Apply patch
7 - Checkout ot patron via SCO
8 - You should hear the sound specified above
9 - You should also see a note: Item checked out

Followed test plan, works as expected.
(Works with external sound only, see Bug 16732)
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
opac/sco/sco-main.pl