Bugzilla – Attachment 46341 Details for
Bug 15501
Planned Irregularities are deleted when modifying subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add warning when irregularities are set in a subscription pattern
0001-Add-a-warning-when-there-are-subs-irregularities.patch (text/plain), 1.42 KB, created by
Koha Team University Lyon 3
on 2016-01-06 17:06:54 UTC
(
hide
)
Description:
Add warning when irregularities are set in a subscription pattern
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2016-01-06 17:06:54 UTC
Size:
1.42 KB
patch
obsolete
>From 141f155407152eee0fb45f50f79a27691eb42dee Mon Sep 17 00:00:00 2001 >From: kohamaster <preprod@kohaVM> >Date: Wed, 9 Dec 2015 22:17:37 +0100 >Subject: [PATCH 1/2] Add a warning when there are subs irregularities > >--- > .../intranet-tmpl/prog/en/modules/serials/subscription-add.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >index 4e41a64..0dcf814 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >@@ -17,6 +17,7 @@ var globalnumpatterndata; > var globalfreqdata; > var advancedpatternlocked; > var patternneedtobetested = 0; >+[% IF ( irregularity ) %]patternneedtobetested=1[% END %] > > function check_issues(){ > if (globalfreqdata.unit.length >0) { >@@ -86,7 +87,9 @@ function Check_page2(){ > return false; > } > if(patternneedtobetested){ >- alert(_("Please click on 'Test prediction pattern' before saving subscription.")); >+ [% IF (irregularity) %] >+ alert("Warning ! Present pattern has planned irregularities. Click on 'Test prediction pattern' to check if it's still valid"); >+ [% ELSE %]alert(_("Please click on 'Test prediction pattern' before saving subscription."));[% END %] > return false; > } > >-- >1.7.10.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 15501
:
46341
|
46385
|
46411
|
46422