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 696-700 Link Here
696
            Access the point of sale page and take payments
696
            Access the point of sale page and take payments
697
        </span>
697
        </span>
698
        <span class="permissioncode">([% name | html %])</span>
698
        <span class="permissioncode">([% name | html %])</span>
699
    [%- CASE 'cashup_cash_registers' -%]
700
        <span class="sub_permission cashup_cash_registers_subpermission">
701
            Perform cash register cashup action
702
        </span>
703
        <span class="permissioncode">([% name | html %])</span>
699
  [%- END -%]
704
  [%- END -%]
700
[%- END -%]
705
[%- END -%]
701
- 

Return to bug 23355