Bugzilla – Attachment 85911 Details for
Bug 20830
Make sure a fund is selected when ordering from staged file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 20830: Make sure a fund is selected when ordering from staged file
0001-Bug-20830-Make-sure-a-fund-is-selected-when-ordering.patch (text/plain), 1.29 KB, created by
Koha Team University Lyon 3
on 2019-03-01 17:09:53 UTC
(
hide
)
Description:
bug 20830: Make sure a fund is selected when ordering from staged file
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2019-03-01 17:09:53 UTC
Size:
1.29 KB
patch
obsolete
>From 8e4d6a13cd194e51dee190427848106a97f2549c Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Fri, 1 Mar 2019 17:39:35 +0100 >Subject: [PATCH] Bug 20830: Make sure a fund is selected when ordering from > staged file > >--- > .../intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index cd2a053..3cdb337 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -137,6 +137,19 @@ > return false; > > } >+ if (! $("#all_budget_id").val() ) { >+ // If there is no default fund >+ var error = 0; >+ $(".selected [name='budget_id']").each(function(){ >+ if (!$(this).val()) { >+ error++; >+ } >+ }); >+ if ( error > 0 ) { >+ alert(_("Some budgets are not defined in item records")); >+ return false; >+ } >+ } > > return disableUnchecked($(this)); > }); >-- >2.1.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 20830
:
85911
|
86455
|
87285
|
87967