Bugzilla – Attachment 4818 Details for
Bug 5072
Filling an order page with no budget defined causes a 500 error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch (passed QA)
0001-Bug-5072-Template-changes.patch (text/plain), 1.50 KB, created by
Paul Poulain
on 2011-08-03 12:06:52 UTC
(
hide
)
Description:
proposed patch (passed QA)
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-08-03 12:06:52 UTC
Size:
1.50 KB
patch
obsolete
>From 987b515d51a9b62ffe84c4262b1a55b990975801 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Tue, 2 Aug 2011 09:49:59 +1200 >Subject: [PATCH 1/2] Bug 5072 : Template changes > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > .../en/includes/acquisitions-add-to-basket.inc | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc >index 12a2ead..9fe6c05 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc >@@ -1,5 +1,6 @@ > <fieldset id="acqui_basket_add"> > <legend>Add Order To Basket</legend> >+ [% IF has_budgets %] > <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post"> > <input type="hidden" name="booksellerid" value="[% booksellerid %]" /> > <input type="hidden" name="basketno" value="[% basketno %]" /> >@@ -11,4 +12,7 @@ > <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]"> From a staged file</a></li> > </ul> > </form> >+ [% ELSE %] >+ You can't create any orders unless you first <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>. >+ [% END %] > </fieldset> >\ No newline at end of file >-- >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 5072
:
2433
|
4802
|
4803
|
4804
|
4805
| 4818 |
4819