Bug 18919: Repair "Transaction branch" in cash_register_stats.pl
- values of the option fields are now correctly loaded
TEST PLAN:
go to domain/cgi-bin/koha/reports/cash_register_stats.pl
1 - Make a report for all branches => it works
2 - Make a report for any branch => you will get the same or no result
3 - apply patch
4 - Repeat 2 => it should work
Followed test plan worked as intended
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7b5457cd0f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
f067450d80
commit
bfdaf1136d
|
|
@ -186,9 +186,9 @@ $(document).ready(function() {
|
|||
<option value="ALL">All</option>
|
||||
[% FOREACH branchloo IN branchloop %]
|
||||
[% IF ( branchloo.selected ) %]
|
||||
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
|
||||
<option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
|
||||
<option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue