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

(-)a/installer/data/mysql/atomicupdate/bug_24080.perl (+7 lines)
Lines 15-20 if ( CheckVersion($DBversion) ) { Link Here
15
        }
15
        }
16
    );
16
    );
17
17
18
    $dbh->do(qq{
19
        INSERT IGNORE permissions (module_bit, code, description)
20
        VALUES
21
        (10, 'payout', 'Perform account payout action')
22
    });
23
18
    SetVersion($DBversion);
24
    SetVersion($DBversion);
25
    print "Upgrade to $DBversion done (Bug 24080 - Add accounts payout permission)\n";
19
    print "Upgrade to $DBversion done (Bug 24080 - Add PAYOUT account_debit_type)\n";
26
    print "Upgrade to $DBversion done (Bug 24080 - Add PAYOUT account_debit_type)\n";
20
}
27
}
(-)a/installer/data/mysql/userpermissions.sql (+1 lines)
Lines 43-48 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
43
   ( 9, 'edit_items', 'Edit items'),
43
   ( 9, 'edit_items', 'Edit items'),
44
   ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'),
44
   ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'),
45
   ( 9, 'delete_all_items', 'Delete all items at once'),
45
   ( 9, 'delete_all_items', 'Delete all items at once'),
46
   (10, 'payout', 'Perform account payout action'),
46
   (10, 'writeoff', 'Write off fines and fees'),
47
   (10, 'writeoff', 'Write off fines and fees'),
47
   (10, 'remaining_permissions', 'Remaining permissions for managing fines and fees'),
48
   (10, 'remaining_permissions', 'Remaining permissions for managing fines and fees'),
48
   (11, 'currencies_manage', 'Manage currencies and exchange rates'),
49
   (11, 'currencies_manage', 'Manage currencies and exchange rates'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-1 / +5 lines)
Lines 299-304 Link Here
299
            Remaining permissions for managing fines and fees
299
            Remaining permissions for managing fines and fees
300
        </span>
300
        </span>
301
        <span class="permissioncode">([% name | html %])</span>
301
        <span class="permissioncode">([% name | html %])</span>
302
    [%- CASE 'payout' -%]
303
        <span class="sub_permission payout_subpermission">
304
            Payout credits to patrons
305
        </span>
306
        <span class="permissioncode">([% name | html %])</span>
302
    [%- CASE 'writeoff' -%]
307
    [%- CASE 'writeoff' -%]
303
        <span class="sub_permission writeoff_subpermission">
308
        <span class="sub_permission writeoff_subpermission">
304
            Write off fines and fees
309
            Write off fines and fees
305
- 

Return to bug 24080