Bugzilla – Attachment 45542 Details for
Bug 12993
Add a default tax rate on item types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12993: Fix operator errors in itemtypes.tt
Bug-12993-Fix-operator-errors-in-itemtypestt.patch (text/plain), 2.16 KB, created by
Alex Arnaud
on 2015-12-09 16:00:56 UTC
(
hide
)
Description:
Bug 12993: Fix operator errors in itemtypes.tt
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2015-12-09 16:00:56 UTC
Size:
2.16 KB
patch
obsolete
>From 332d86bb82d19d69ea9ee14fdb61bcaf53dc51ae Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Wed, 9 Dec 2015 14:36:48 +0100 >Subject: [PATCH] Bug 12993: Fix operator errors in itemtypes.tt > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index 3f400f7..2a744d2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -224,7 +224,7 @@ Item types administration > </li> > > [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %] >- [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %] >+ [% IF Koha.Preference('AcqCreateItem') == 'ordering' and Koha.Preference('item-level_itypes') == '0' %] > <li> > <label for="gstrate">Tax rate: </label> > <select name="gstrate" id="gstrate"> >@@ -328,7 +328,7 @@ Item types administration > <th>Hide in OPAC</th> > <th>Charge</th> > [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %] >- [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %] >+ [% IF Koha.Preference('AcqCreateItem') == 'ordering' and Koha.Preference('item-level_itypes') == '0' %] > <th>Tax rate</th> > [% END %] > <th>Checkin message</th> >@@ -366,7 +366,7 @@ Item types administration > [% END %] > </td> > [%# The tax rate is only useful if the item are created on ordering and if the item type is defined at the biblio level %] >- [% IF Koha.Preference('AcqCreateItem') eq 'ordering' and Koha.Preference('item-level_itypes') eq '0' %] >+ [% IF Koha.Preference('AcqCreateItem') == 'ordering' and Koha.Preference('item-level_itypes') == '0' %] > <td> > [% IF loo.gstrate.length > 0 %] > [% loo.gstrate * 100 | format("%.1f") %]% >-- >1.7.10.4
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 12993
:
31863
|
32018
|
32284
|
33305
|
33306
|
33307
|
34797
|
35394
|
39566
|
39567
|
39568
|
39569
|
45538
|
45539
|
45540
|
45541
| 45542 |
45543