View | Details | Raw Unified | Return to bug 23355
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_23355_permissions.perl (+12 lines)
Line 0 Link Here
1
$DBversion = 'XXX';    # will be replaced by the RM
2
if ( CheckVersion($DBversion) ) {
3
4
    $dbh->do(qq{
5
        INSERT IGNORE permissions (module_bit, code, description)
6
        VALUES
7
        (25, 'cashup_cash_registers', 'Perform cash register cashup action')
8
    });
9
10
    SetVersion($DBversion);
11
    print "Upgrade to $DBversion done (Bug 23355 - Add cash register cashup permissions)\n";
12
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-1 / +5 lines)
Lines 681-685 Link Here
681
            Access the point of sale page and take payments
681
            Access the point of sale page and take payments
682
        </span>
682
        </span>
683
        <span class="permissioncode">([% name | html %])</span>
683
        <span class="permissioncode">([% name | html %])</span>
684
    [%- CASE 'cashup_cash_registers' -%]
685
        <span class="sub_permission cashup_cash_registers_subpermission">
686
            Perform cash register cashup action
687
        </span>
688
        <span class="permissioncode">([% name | html %])</span>
684
  [%- END -%]
689
  [%- END -%]
685
[%- END -%]
690
[%- END -%]
686
- 

Return to bug 23355