Bugzilla – Attachment 16765 Details for
Bug 5343
Subscription cost (Link serial and acqui modules)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 5343: Followup FIX quantity received if items are created when receiving
PASSED-QA-Bug-5343-Followup-FIX-quantity-received-.patch (text/plain), 2.66 KB, created by
Katrin Fischer
on 2013-03-22 11:12:57 UTC
(
hide
)
Description:
[PASSED QA] Bug 5343: Followup FIX quantity received if items are created when receiving
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-22 11:12:57 UTC
Size:
2.66 KB
patch
obsolete
>From 4b321c9a11f3d4a9bd5a9f8b116a203014206aa5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 20 Mar 2013 10:55:49 +0100 >Subject: [PATCH] [PASSED QA] Bug 5343: Followup FIX quantity received if > items are created when receiving > >For subscriptions, if items are created when receiving, the quantity >received is always 1, not 0. > >+ UI: Show the subscription search form (instead of hidden) > >Signed-off-by: Leila Arkab <koha.aixmarseille@gmail.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > .../prog/en/modules/acqui/newordersubscription.tt | 2 ++ > .../prog/en/modules/acqui/orderreceive.tt | 8 ++++++-- > 2 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >index 38dc638..4ca5e31 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >@@ -34,6 +34,8 @@ > }); > $("#show_only_renewed").attr('checked', false); > updateRowsVisibility(false); >+ >+ $("#advsearch_form").show(); > }); > //]]> > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 5ee0ec2..9e16755 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -122,7 +122,7 @@ function IEEventHandler_KeyDown() { > $(document).ready(function() { > [% IF (AcqCreateItemReceiving) %] > cloneItemBlock(0, '[% UniqueItemFields %]'); >- [% ELSIF (AcqCreateItem == 'ordering') %] >+ [% ELSIF (AcqCreateItem == 'ordering') && not subscriptionid %] > $("input[name='items_to_receive']").change(function() { > CalcQtyToReceive(); > }); >@@ -304,7 +304,11 @@ function IEEventHandler_KeyDown() { > </span></li> > <li><label for="quantity">Quantity received: </label> > [% IF (AcqCreateItemReceiving) %] >- <input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="0" /> >+ [% IF ( subscriptionid ) %] >+ <input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="1" /> >+ [% ELSE %] >+ <input readonly="readonly" type="text" size="20" name="quantityrec" id="quantity" value="0" /> >+ [% END %] > [% ELSE %] > [% IF ( quantityreceived ) %] > [% IF ( edit ) %] >-- >1.7.9.5
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 5343
:
13010
|
13011
|
15840
|
16321
|
16482
|
16492
|
16510
|
16624
|
16625
|
16626
|
16641
|
16723
|
16724
|
16725
|
16726
|
16728
|
16733
|
16735
|
16736
|
16737
|
16738
|
16739
|
16748
|
16754
|
16762
|
16764
| 16765 |
16766
|
16767
|
16768
|
16769
|
16770