Bugzilla – Attachment 147572 Details for
Bug 32977
Add call number column to list of charges on transactions tab in patron account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32977: Add callnumber column to boraccount.tt
Bug-32977-Add-callnumber-column-to-boraccounttt.patch (text/plain), 3.02 KB, created by
Lucas Gass (lukeg)
on 2023-03-01 16:29:39 UTC
(
hide
)
Description:
Bug 32977: Add callnumber column to boraccount.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-03-01 16:29:39 UTC
Size:
3.02 KB
patch
obsolete
>From 4e625683a361c6ed035a22c031c908e93fe0812e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 15 Feb 2023 23:05:12 +0000 >Subject: [PATCH] Bug 32977: Add callnumber column to boraccount.tt > >To test: >1. Apply patch, restart_all >2. Create a manual invoice for an item that has an item.itemcallnumber >3. Go to the transaction tab and see that the particualar accountline contains a callnumber in the new callnumber column. >4. Make sure you can hide the column, and other columns, correctly via Table settings or via the Column icon. > >Signed off by: Michael Perry (Siskiyou County Library) >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 4 +++- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 944b41dd4a..bee5bb2bff 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -898,6 +898,8 @@ modules: > columnname: description > - > columnname: barcode >+ - >+ columnname: callnumber > - > columnname: date_due > - >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 310e4795d6..de9a2f3d12 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -83,6 +83,7 @@ > <th>Account type</th> > <th>Description of charges</th> > <th>Barcode</th> >+ <th>Call number</th> > <th>Due date</th> > <th>Checkin date</th> > <th>Checkout date</th> >@@ -108,6 +109,7 @@ > [%- IF account.description %][% account.description | html %][% END %] > [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.item.biblionumber | uri %]&itemnumber=[% account.itemnumber | uri %]">[% account.item.biblio.title | html %]</a>[% END %]</td> > <td>[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% account.itemnumber | uri %]&biblionumber=[% account.item.biblionumber | uri %]#item[% account.itemnumber | uri %]">[% account.item.barcode | html %]</a>[% END %]</td> >+ <td>[% IF ( account.itemnumber ) %][% account.item.itemcallnumber | html %][% END %]</td> > <td>[% IF ( account.issue_id ) %][% account.checkout.date_due | $KohaDates as_due_date => 1 %][% END %]</td> > <td>[% IF ( account.issue_id ) %][% account.checkout.returndate | $KohaDates with_hours => 1 %][% END %]</td> > <td>[% IF ( account.issue_id ) %][% account.checkout.issuedate | $KohaDates %][% END %]</td> >@@ -159,7 +161,7 @@ > [% END %] > <tfoot> > <tr> >- <td colspan="13">Total due</td> >+ <td colspan="14">Total due</td> > [% IF ( totalcredit ) %] > <td class="credit" style="text-align: right;">[% total | $Price %]</td> > <td> >-- >2.30.2
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 32977
:
146705
|
147572
|
147761