Bugzilla – Attachment 45539 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: Select automatically itemtype on neworderempty.pl
Bug-12993-Select-automatically-itemtype-on-neworde.patch (text/plain), 1.91 KB, created by
Alex Arnaud
on 2015-12-09 15:59:48 UTC
(
hide
)
Description:
Bug 12993: Select automatically itemtype on neworderempty.pl
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2015-12-09 15:59:48 UTC
Size:
1.91 KB
patch
obsolete
>From 424cc463c6235d358dd70d607dd246dc2305b908 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 13 Oct 2014 10:32:18 +0200 >Subject: [PATCH] Bug 12993: Select automatically itemtype on neworderempty.pl > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> >--- > acqui/neworderempty.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 4a37815..92df9b7 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -399,6 +399,7 @@ $template->param( > ecost => sprintf( "%.2f", $data->{ecost} || 0), > unitprice => sprintf( "%.2f", $data->{unitprice} || 0), > publishercode => $data->{'publishercode'}, >+ itype => $data->{itemtype}, > barcode_subfield => $barcode_subfield, > import_batch_id => $import_batch_id, > subscriptionid => $subscriptionid, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 87edff2..dfcc146 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -408,7 +408,7 @@ $(document).ready(function() > <span class="label">Item type:</span> > <select name="itemtype" id="itemtype" style="width:12em;"> > [% FOREACH itemtype IN itemtypeloop %] >- [% IF ( itemtype.selected ) %] >+ [% IF ( itemtype.itemtype == itype ) %] > <option value="[% itemtype.itemtype %]" selected="selected">[% itemtype.description %]</option> > [% ELSE %] > <option value="[% itemtype.itemtype %]">[% itemtype.description %]</option> >-- >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