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

(-)a/installer/data/mysql/userpermissions.sql (+1 lines)
Lines 121-124 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
121
   (24, 'manage_rotas', 'Create, edit and delete rotas'),
121
   (24, 'manage_rotas', 'Create, edit and delete rotas'),
122
   (24, 'manage_rota_items', 'Add and remove items from rotas'),
122
   (24, 'manage_rota_items', 'Add and remove items from rotas'),
123
   (25, 'manage_cash_registers', 'Add and remove cash registers')
123
   (25, 'manage_cash_registers', 'Add and remove cash registers')
124
   (25, 'takepayment', 'Access the point of sale page and take payments')
124
;
125
;
(-)a/pos/pay.pl (-1 / +1 lines)
Lines 26-31 my ( $template, $loggedinuser, $cookie, $user_flags ) = get_template_and_user( Link Here
26
        query           => $q,
26
        query           => $q,
27
        type            => 'intranet',
27
        type            => 'intranet',
28
        authnotrequired => 0,
28
        authnotrequired => 0,
29
        flagsrequired   => { cash_management => 'takepayment' },
29
    }
30
    }
30
);
31
);
31
my $logged_in_user = Koha::Patrons->find($loggedinuser) or die "Not logged in";
32
my $logged_in_user = Koha::Patrons->find($loggedinuser) or die "Not logged in";
32
- 

Return to bug 24477