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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_daily_choice.inc (-4 / +4 lines)
Lines 19-32 Link Here
19
[% FOREACH day IN daily_choice %]
19
[% FOREACH day IN daily_choice %]
20
    [% IF permanent_irreg.grep( day.value ).0 == day.value %]
20
    [% IF permanent_irreg.grep( day.value ).0 == day.value %]
21
        <input type="checkbox" name="permanent_irregularity"
21
        <input type="checkbox" name="permanent_irregularity"
22
               id="[% day.name %]" data-dow="[% day.value %]"
22
               id="[% day.name | html %]" data-dow="[% day.value | html %]"
23
               value="[% day.value %]" class="skip"
23
               value="[% day.value | html %]" class="skip"
24
               checked="checked"
24
               checked="checked"
25
        />
25
        />
26
    [% ELSE %]
26
    [% ELSE %]
27
        <input type="checkbox" name="permanent_irregularity"
27
        <input type="checkbox" name="permanent_irregularity"
28
               id="[% day.name %]" data-dow="[% day.value %]"
28
               id="[% day.name | html %]" data-dow="[% day.value | html %]"
29
               value="[% day.value %]" class="skip"
29
               value="[% day.value | html %]" class="skip"
30
        />
30
        />
31
    [% END %]
31
    [% END %]
32
    <label for="[% day.name | html %]" class="inline">[% PROCESS days d=day.name %]</label>
32
    <label for="[% day.name | html %]" class="inline">[% PROCESS days d=day.name %]</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_monthly_choice.inc (-4 / +4 lines)
Lines 24-37 Link Here
24
[% FOREACH month IN monthly_choice %]
24
[% FOREACH month IN monthly_choice %]
25
    [% IF permanent_irreg.grep( month.value ).0 == month.value %]
25
    [% IF permanent_irreg.grep( month.value ).0 == month.value %]
26
        <input type="checkbox" name="permanent_irregularity"
26
        <input type="checkbox" name="permanent_irregularity"
27
               id="[% month.name %]" data-dow="[% month.value %]"
27
               id="[% month.name | html %]" data-dow="[% month.value | html %]"
28
               value="[% month.value %]" class="skip"
28
               value="[% month.value | html %]" class="skip"
29
               checked="checked"
29
               checked="checked"
30
        />
30
        />
31
    [% ELSE %]
31
    [% ELSE %]
32
        <input type="checkbox" name="permanent_irregularity"
32
        <input type="checkbox" name="permanent_irregularity"
33
               id="[% month.name %]" data-dow="[% month.value %]"
33
               id="[% month.name | html %]" data-dow="[% month.value | html %]"
34
               value="[% month.value %]" class="skip"
34
               value="[% month.value | html %]" class="skip"
35
        />
35
        />
36
    [% END %]
36
    [% END %]
37
    <label for="[% month.name | html %]" class="inline">[% PROCESS months m=month.name %]</label>
37
    <label for="[% month.name | html %]" class="inline">[% PROCESS months m=month.name %]</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials/subscription_weekly_choice.inc (-3 / +3 lines)
Lines 10-20 Link Here
10
                    <li>
10
                    <li>
11
                        <a href="#" class="small">
11
                        <a href="#" class="small">
12
                            [% IF permanent_irreg.grep( p.dow ).0 == p.dow %]
12
                            [% IF permanent_irreg.grep( p.dow ).0 == p.dow %]
13
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow %]" data-dow="[% p.dow %]" class="skip" checked="checked"/>
13
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow | html %]" data-dow="[% p.dow | html %]" class="skip" checked="checked"/>
14
                            [% ELSE %]
14
                            [% ELSE %]
15
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow %]" data-dow="[% p.dow %]" class="skip"/>
15
                                <input type="checkbox" name="permanent_irregularity" value="[% p.dow | html %]" data-dow="[% p.dow | html %]" class="skip"/>
16
                            [% END %]
16
                            [% END %]
17
                            &nbsp;Week <b>#[% p.dow %]</b> ([% p.publicationdate | $KohaDates %])
17
                            &nbsp;Week <b>#[% p.dow | html %]</b> ([% p.publicationdate | $KohaDates %])
18
                        </a>
18
                        </a>
19
                    </li>
19
                    </li>
20
                [% END %]
20
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt (-4 / +4 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE raw %]
3
[% USE Asset %]
4
[% USE Asset %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
Lines 120-128 Link Here
120
[% MACRO jsinclude BLOCK %]
121
[% MACRO jsinclude BLOCK %]
121
    [% INCLUDE 'calendar.inc' %]
122
    [% INCLUDE 'calendar.inc' %]
122
    <script>
123
    <script>
123
        var subscriptionid = "[% subscription.subscriptionid %]";
124
        var subscriptionid = "[% subscription.subscriptionid | html %]";
124
        var irregularity = "[% subscription.irregularity %]";
125
        var irregularity = "[% subscription.irregularity | html %]";
125
        var more_than_one_serial = "[% more_than_one_serial %]";
126
        var more_than_one_serial = "[% more_than_one_serial | html %]";
126
        $(document).ready(function(){
127
        $(document).ready(function(){
127
            if (subscriptionid) {
128
            if (subscriptionid) {
128
                testPredictionPattern();
129
                testPredictionPattern();
129
- 

Return to bug 17656