Bugzilla – Attachment 151821 Details for
Bug 33864
Problems in order receive modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33864: Fix to store shadow value for input as well
Bug-33864-Fix-to-store-shadow-value-for-input-as-w.patch (text/plain), 1.62 KB, created by
Slava Shishkin
on 2023-05-30 18:17:32 UTC
(
hide
)
Description:
Bug 33864: Fix to store shadow value for input as well
Filename:
MIME Type:
Creator:
Slava Shishkin
Created:
2023-05-30 18:17:32 UTC
Size:
1.62 KB
patch
obsolete
>From 431d11cfa9ffc16e3e7d0f355edc290ef5d2ccab Mon Sep 17 00:00:00 2001 >From: Slava Shishkin <slavashishkin@gmail.com> >Date: Tue, 30 May 2023 21:04:01 +0300 >Subject: [PATCH] Bug 33864: Fix to store shadow value for input as well > >--- > .../intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >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 c1606932d0..64b1fc4b9f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -1158,7 +1158,10 @@ > $("#current-fund").html(FUNC_CUR.format(row.fund.budget.budget_period_description, row.fund.name)); > $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')') > $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id); >- $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received ) >+ if (effective_create_items == 'cataloguing' && ! row.quantity_received) { >+ row.quantity_received = 1; >+ } >+ $("#quantity").val( row.quantity_received ) > .prop('readonly', !row.subscription_id && effective_create_items == 'receiving'); > [% IF only_one_order %] > $(".modal-save").prop('disabled', $("#quantity").val() == 0); >-- >2.40.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 33864
:
151799
|
151803
|
151811
|
151812
|
151813
|
151816
|
151821
|
151824
|
151852
|
151853
|
151854
|
151855
|
151856
|
151857
|
151858
|
151859