Bugzilla – Attachment 7107 Details for
Bug 7435
An inactive fund is selected a default in neworderempty.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Bug-7435-corrects-Fund-selectbox-in-addneworder.patch (text/plain), 1.59 KB, created by
Adrien SAURAT
on 2012-01-11 15:31:29 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2012-01-11 15:31:29 UTC
Size:
1.59 KB
patch
obsolete
>From 950f065eb8586385e049285403748afb9b7a8145 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Wed, 11 Jan 2012 16:28:02 +0100 >Subject: [PATCH] Bug 7435: corrects Fund selectbox in addneworder > >Prevent disabled funds to appear in the Fund >select box. >--- > .../prog/en/modules/acqui/neworderempty.tt | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >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 d58582e..a6f26c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -365,11 +365,12 @@ $(document).ready(function() > </li> > <li> > [% IF ( close ) %] >- <span class="label">Fund: </span> >+ <span class="label required">Fund: </span> > <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id %]" />[% Budget_name %] > [% ELSE %] >- <label for="budget_id">Fund: </label> >+ <label class="required" for="budget_id">Fund: </label> > <select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id"> >+ <option value="">Select a budget</option> > [% FOREACH budget_loo IN budget_loop %] > [% IF ( budget_loo.b_sel ) %] > <option value="[% budget_loo.b_id %]" selected="selected">[% budget_loo.b_txt %]</option> >-- >1.7.4.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 7435
:
7107
|
7125