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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (+5 lines)
Lines 427-432 Link Here
427
            Write off fines and fees
427
            Write off fines and fees
428
        </span>
428
        </span>
429
        <span class="permissioncode">([% name | html %])</span>
429
        <span class="permissioncode">([% name | html %])</span>
430
    [%- CASE 'void_payment' -%]
431
        <span class="sub_permission void_payment_subpermission">
432
            Voiding Payments
433
        </span>
434
        <span class="permissioncode">([% name | html %])</span>
430
    [%- CASE 'manual_invoice' -%]
435
    [%- CASE 'manual_invoice' -%]
431
        <span class="sub_permission manual_invoice_subpermission">
436
        <span class="sub_permission manual_invoice_subpermission">
432
            Add manual invoices to a patron account
437
            Add manual invoices to a patron account
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-5 / +6 lines)
Lines 181-190 Link Here
181
            <input type="hidden" name="op" value="cud-void" />
181
            <input type="hidden" name="op" value="cud-void" />
182
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]">
182
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]">
183
            <input type="hidden" name="accountlines_id" value="[% account.accountlines_id | html %]">
183
            <input type="hidden" name="accountlines_id" value="[% account.accountlines_id | html %]">
184
            <button type="submit" class="btn btn-default btn-xs void-action">
184
            [% IF CAN_user_updatecharges_void_payment %]
185
                <i class="fa fa-ban"></i>
185
                <button type="submit" class="btn btn-default btn-xs void-action">
186
                Void payment
186
                    <i class="fa fa-ban"></i>
187
            </button>
187
                    Void payment
188
                </button>
189
            [% END %]
188
          </form>
190
          </form>
189
        [% END %]
191
        [% END %]
190
        [% IF account.is_debit && account.amount == account.amountoutstanding && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') %]
192
        [% IF account.is_debit && account.amount == account.amountoutstanding && account.status != 'CANCELLED' && !(account.debit_type_code == 'PAYOUT') %]
191
- 

Return to bug 17473