Bug 22113: Add price formatting on item lost report
The item lost report displays the price and replacement price for lost items. With the patch they will display according to the CurrencyFormat system preference. To test: - Mark 1 or more items lost - Make sure that replacement cost and purchase price are set - Go to Reports > Items lost - Search for your lost items - Verify price and replacement price display - Apply patch and toggle CurrencyFormat to different settings - Refresh lost items report - Verify prices are always displayed according to syspref setting Signed-off-by: Olivia Lu <olivialokm@gmail.com> Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
b93c5dcbfd
commit
c3fb484fe2
|
|
@ -5,6 +5,7 @@
|
|||
[% USE ColumnsSettings %]
|
||||
[% USE KohaDates %]
|
||||
[% USE ItemTypes %]
|
||||
[% USE Price %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Reports › Lost items</title>
|
||||
|
|
@ -108,8 +109,8 @@
|
|||
</td>
|
||||
<td>[% item.itemcallnumber | html %]</td>
|
||||
<td><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td>
|
||||
<td>[% item.price | html %]</td>
|
||||
<td>[% item.replacementprice | html %]</td>
|
||||
<td>[% item.price | $Price %]</td>
|
||||
<td>[% item.replacementprice | $Price %]</td>
|
||||
<td>[% Branches.GetName(item.homebranch) | html %]</td>
|
||||
<td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td>
|
||||
<td>[% Branches.GetName(item.holdingbranch) | html %]</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue