Bugzilla – Attachment 3000 Details for
Bug 5624
neworder empty missing validation on mandatory field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for field budget
bug5624_validator.patch (text/plain), 620 bytes, created by
Brice Sanchez
on 2011-01-18 15:13:09 UTC
(
hide
)
Description:
Patch for field budget
Filename:
MIME Type:
Creator:
Brice Sanchez
Created:
2011-01-18 15:13:09 UTC
Size:
620 bytes
patch
obsolete
>diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >index a76cb5c..d6353b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >@@ -18,6 +18,11 @@ function Check(ff) { > ok=1; > _alertString += "\n- " + _("Title cannot be empty"); > } >+ >+ if(isNull(ff.budget_id,1)){ >+ ok=1; >+ _alertString += "\n- "+ _("You must create a budget"); >+ } > > if (!(isNum(ff.quantity,0))){ > ok=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 5624
:
3000
|
3081
|
3611