Bugzilla – Attachment 110632 Details for
Bug 21882
Add price column to acquisition details tab in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21882: Show price information in acqusitions tab on staff detail page
Bug-21882-Show-price-information-in-acqusitions-ta.patch (text/plain), 2.71 KB, created by
Katrin Fischer
on 2020-09-23 21:42:48 UTC
(
hide
)
Description:
Bug 21882: Show price information in acqusitions tab on staff detail page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-23 21:42:48 UTC
Size:
2.71 KB
patch
obsolete
>From 732d891d1248dc527df5536f2923681ca29dccda Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 21 Sep 2020 12:21:23 +0000 >Subject: [PATCH] Bug 21882: Show price information in acqusitions tab on staff > detail page > >This adds a new 'Price' column to the acqusition details tab. > >To test: >- Apply patch >- Add one or more orders for a record. >- Before closing the basket: go to the detail page in the catalog >- Verify that the price estimated/budgetet price now shows in a new column >- Add actual cost to the basket or close the basket and receive the item >- Verify the column now shows the updated actual cost >- Verfy the tooltip on the table heading works >- Verify the column configuration for the new column works as well >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 3 +++ > 2 files changed, 5 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 96b3a31a68..6d0e458c46 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -395,6 +395,8 @@ modules: > - > columnname: quantity > - >+ columnname: price >+ - > columnname: order_internalnote > - > columnname: subscription >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 239f4f5b07..f82cd26092 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -5,6 +5,7 @@ > [% USE AuthorisedValues %] > [% USE Branches %] > [% USE Biblio %] >+[% USE Price %] > [% USE TablesSettings %] > [% PROCESS 'i18n.inc' %] > [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >@@ -690,6 +691,7 @@ Note that permanent location is a code, and location may be an authval. > <th class="title-string">Receive date</th> > <th>Status</th> > <th>Quantity</th> >+ <th title="Estimated cost tax incl. while pending, actual cost tax incl. once received">Price</th> > <th>Internal note</th> > <th>Subscription</th> > <th>Subscription callnumber</th> >@@ -742,6 +744,7 @@ Note that permanent location is a code, and location may be an authval. > [% END %] > </td> > <td>[% order.quantity | html %]</td> >+ <td>[% IF ( order.unitprice_tax_included > 0 ) %][% order.unitprice_tax_included | $Price %][% ELSE %][% order.ecost_tax_included | $Price %][% END %] > <td>[% order.order_internalnote | html %]</td> > <td> > [% IF order.subscriptionid %] >-- >2.11.0
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 21882
:
110632
|
110712
|
111735