View | Details | Raw Unified | Return to bug 15501
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-2 / +4 lines)
Lines 17-22 var globalnumpatterndata; Link Here
17
var globalfreqdata;
17
var globalfreqdata;
18
var advancedpatternlocked;
18
var advancedpatternlocked;
19
var patternneedtobetested = 0;
19
var patternneedtobetested = 0;
20
[% IF ( irregularity ) %]patternneedtobetested=1[% END %]
20
21
21
function check_issues(){
22
function check_issues(){
22
    if (globalfreqdata.unit.length >0) {
23
    if (globalfreqdata.unit.length >0) {
Lines 86-92 function Check_page2(){ Link Here
86
        return false;
87
        return false;
87
    }
88
    }
88
    if(patternneedtobetested){
89
    if(patternneedtobetested){
89
        alert(_("Please click on 'Test prediction pattern' before saving subscription."));
90
        [% IF (irregularity) %]
91
           alert(_("Warning ! Present pattern has planned irregularities. Click on 'Test prediction pattern' to check if it's still valid"));
92
        [% ELSE %]alert(_("Please click on 'Test prediction pattern' before saving subscription."));[% END %]
90
        return false;
93
        return false;
91
    }
94
    }
92
95
93
- 

Return to bug 15501