Bugzilla – Attachment 33307 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
0003-Bug-12993-Select-automatically-itemtype-on-newordere.patch (text/plain), 1.96 KB, created by
Paola Rossi
on 2014-11-06 14:03:13 UTC
(
hide
)
Description:
Bug 12993: Select automatically itemtype on neworderempty.pl
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2014-11-06 14:03:13 UTC
Size:
1.96 KB
patch
obsolete
>From cbe98bfbb8784788b5b434feb8107b3e3f61a9ca 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 3/3] 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 256175a..57af3fc 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -396,6 +396,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 ffd903d..55b9b9f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -353,7 +353,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