Bugzilla – Attachment 80692 Details for
Bug 20629
Remove ability to 'reverse' payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20629: Rename to
Bug-20629-Rename-to.patch (text/plain), 2.48 KB, created by
Kyle M Hall (khall)
on 2018-10-17 10:12:51 UTC
(
hide
)
Description:
Bug 20629: Rename to
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-10-17 10:12:51 UTC
Size:
2.48 KB
patch
obsolete
>From 450b9e597bcdd1a7035c9804c092a39aacacf032 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 17 Oct 2018 06:12:37 -0400 >Subject: [PATCH] Bug 20629: Rename to > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 4 ++-- > members/boraccount.pl | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 72c84b0a37..6f31d8cd3e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -47,7 +47,7 @@ > <th>Note</th> > <th>Amount</th> > <th>Outstanding</th> >- [% IF ( reverse_col ) %] >+ [% IF ( actions_col ) %] > <th>Actions</th> > [% ELSE %] > <th> </th> >@@ -76,7 +76,7 @@ > <a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id | html %]&borrowernumber=[% account.borrowernumber | html %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print</a> > [% END %] > <a href="accountline-details.pl?accountlines_id=[% account.accountlines_id | html %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a> >- [% IF ( reverse_col) %] >+ [% IF ( actions_col) %] > [% IF account.is_credit %] > <a href="boraccount.pl?action=void&accountlines_id=[% account.accountlines_id | html %]&borrowernumber=[% account.borrowernumber | html %]" class="btn btn-default btn-xs void"><i class="fa fa-ban"></i> Void</a> > [% ELSE %] >diff --git a/members/boraccount.pl b/members/boraccount.pl >index 9677819661..743c04a543 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -79,7 +79,7 @@ if($total <= 0){ > $totalcredit = 1; > } > >-my $reverse_col = ( Koha::Account::Lines->search( >+my $actions_col = ( Koha::Account::Lines->search( > { borrowernumber => $patron->borrowernumber }, > { where => { amount => { '<=', 0 } } } )->count > 0 ) ? 1 : 0; > >@@ -96,7 +96,7 @@ $template->param( > finesview => 1, > total => sprintf("%.2f",$total), > totalcredit => $totalcredit, >- reverse_col => $reverse_col, >+ actions_col => $actions_col, > accounts => \@accountlines, > ); > >-- >2.17.1 (Apple Git-112)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20629
:
74935
|
80590
|
80620
|
80621
|
80622
|
80629
|
80630
|
80631
|
80632
|
80633
|
80634
|
80635
|
80636
|
80692
|
80693
|
81311
|
81312
|
81313
|
81314
|
81315
|
81349
|
81350
|
81351
|
81352
|
81353