Bugzilla – Attachment 3719 Details for
Bug 6077
qty not incremented for AcqCreateItem=recieve
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-BZ6077-qty-not-incremented-for-AcqCreateItem-recieve.patch (text/plain), 4.24 KB, created by
Paul Poulain
on 2011-04-05 21:27:56 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-05 21:27:56 UTC
Size:
4.24 KB
patch
obsolete
>From b12bd48d804cd98a4e08c11b23ed14cef2389a8d Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 5 Apr 2011 23:27:21 +0200 >Subject: [PATCH] BZ6077: qty not incremented for AcqCreateItem=recieve > >When you want to create items on order recieve, the qty was not incremented >when the librarian adds an item with the + > >This was because the js was expecting the qty field to be id=quantity >--- > .../prog/en/modules/acqui/orderreceive.tmpl | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl >index 8206ec4..99d3189 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl >@@ -90,35 +90,35 @@ > <legend>Accounting details</legend> > <ol> > <li><label for="datereceived">Date received: </label><span class="label"> <!-- TMPL_VAR NAME="datereceived" --> </span></li> >- <li><label for="quantity">Quantity to receive: </label><span class="label"> >+ <li><label for="quantityto">Quantity to receive: </label><span class="label"> > <!-- TMPL_IF name="edit" --> > <input type="text" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" /> > <!-- TMPL_ELSE --> > <input type="text" READONLY name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" /> > <!-- /TMPL_IF --> > </span></li> >- <li><label for="quantityrec">Quantity received: </label> >+ <li><label for="quantity">Quantity received: </label> > <!-- TMPL_IF NAME="quantityreceived" --> > <!-- TMPL_IF name="edit" --> >- <input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> >+ <input type="text" size="20" name="quantityrec" id="quantity" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> > <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> > <!-- TMPL_ELSE --> > <!-- TMPL_IF name="items" --> >- <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" /> >+ <input READONLY type="text" size="20" name="quantityrec" id="quantity" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" /> > <!-- TMPL_ELSE --> >- <input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" /> >+ <input type="text" size="20" name="quantityrec" id="quantity" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" /> > <!-- /TMPL_IF --> > <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> > <!-- /TMPL_IF --> > <!-- TMPL_ELSE --> > <!-- TMPL_IF name="items" --> >- <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="1" /> >+ <input READONLY type="text" id="quantity" size="20" name="quantityrec" value="1" /> > <!-- TMPL_ELSE --> >- <input id="quantityrec" type="text" size="20" name="quantityrec" value="1" /> >+ <input type="text" size="20" id="quantity" name="quantityrec" value="1" /> > <!-- /TMPL_IF --> > <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="0" /> > <!-- /TMPL_IF --> >- <!-- <input type="text" size="20" name="quantityrec" id="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> --></li> >+ </li> > <li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /></li> > <li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" /></li> > <li><label for="cost">Actual cost:</label> >-- >1.7.1 >
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 6077
:
3719
|
3722