Bugzilla – Attachment 39567 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.90 KB, created by
Jonathan Druart
on 2015-05-27 08:10:15 UTC
(
hide
)
Description:
Bug 12993: Select automatically itemtype on neworderempty.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-27 08:10:15 UTC
Size:
1.90 KB
patch
obsolete
>From 83f17b8c07c5f1d0b719d11bc249b166e5411cca 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 020c91f..1ab794b 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -402,6 +402,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 80c9437..b33ba69 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -409,7 +409,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> >-- >2.1.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 12993
:
31863
|
32018
|
32284
|
33305
|
33306
|
33307
|
34797
|
35394
|
39566
|
39567
|
39568
|
39569
|
45538
|
45539
|
45540
|
45541
|
45542
|
45543