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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt (-1 / +1 lines)
Lines 54-60 Link Here
54
        [% END %]
54
        [% END %]
55
55
56
        <li><label for="date" class="required">Expiring before:</label>
56
        <li><label for="date" class="required">Expiring before:</label>
57
            <input id="date" type="text" name="date" size="10" value="[% date | $KohaDates %]" class="required focus datepicker" required="required" />
57
            <input id="date" type="text" name="date" size="10" value="[% date | $KohaDates %]" class="required focus flatpickr" required="required" />
58
        <span class="required">Required</span>
58
        <span class="required">Required</span>
59
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
59
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></li>
60
			</ol>
60
			</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-2 / +2 lines)
Lines 93-101 Link Here
93
	<ol>
93
	<ol>
94
	<li>
94
	<li>
95
        <label for="from">From:</label>
95
        <label for="from">From:</label>
96
        <input type="text" name="begindate" id="from" value="[% begindate | html %]" size="10" maxlength="10" class="datepickerfrom" />
96
        <input type="text" name="begindate" id="from" value="[% begindate | html %]" size="10" maxlength="10" class="flatpickrfrom" />
97
        <label for="to" style="float:none;">To:</label>
97
        <label for="to" style="float:none;">To:</label>
98
        <input type="text" name="enddate" id="to" value="[% enddate | html %]" size="10" maxlength="10" class="datepickerto" />
98
        <input type="text" name="enddate" id="to" value="[% enddate | html %]" size="10" maxlength="10" class="flatpickrto" />
99
        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
99
        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
100
        <input id="filterByDate" type="button" value="OK" />
100
        <input id="filterByDate" type="button" value="OK" />
101
        <a href="#" id="clearfilter"><i class="fa fa-remove"></i> Clear filter</a>
101
        <a href="#" id="clearfilter"><i class="fa fa-remove"></i> Clear filter</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-6 / +4 lines)
Lines 62-69 $(document).ready(function() { Link Here
62
        }
62
        }
63
        return true;
63
        return true;
64
    });
64
    });
65
66
    $(".datepicker").datepicker();
67
});
65
});
68
//]]>
66
//]]>
69
</script>
67
</script>
Lines 143-155 $(document).ready(function() { Link Here
143
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]" value="[% serialslis.serialseq | html %]" size="20" maxlength="100" />
141
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]" value="[% serialslis.serialseq | html %]" size="20" maxlength="100" />
144
        </td>
142
        </td>
145
        <td>
143
        <td>
146
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="datepicker" />
144
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="flatpickr" />
147
        </td>
145
        </td>
148
        <td>
146
        <td>
149
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext | html %]" size="10" maxlength="100" />
147
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext | html %]" size="10" maxlength="100" />
150
        </td>
148
        </td>
151
        <td>
149
        <td>
152
            <input type="text" name="planneddate" value="[% serialslis.planneddate | html %]" size="10" maxlength="15" class="datepicker" />
150
            <input type="text" name="planneddate" value="[% serialslis.planneddate | html %]" size="10" maxlength="15" class="flatpickr" />
153
        </td>
151
        </td>
154
        <td>
152
        <td>
155
            [% IF ( serialslis.editdisable ) %]
153
            [% IF ( serialslis.editdisable ) %]
Lines 306-318 $(document).ready(function() { Link Here
306
            Supplemental issue <input type="text" name="serialseq" id="serialseq[% newserialloo.serialid | html %]" value="" size="20" maxlength="100" onchange="if (this.value!=''){unHideItems('items[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]', '[% newserialloo.serialid | html %]')} else {HideItems('items[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]')}" />
304
            Supplemental issue <input type="text" name="serialseq" id="serialseq[% newserialloo.serialid | html %]" value="" size="20" maxlength="100" onchange="if (this.value!=''){unHideItems('items[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]', '[% newserialloo.serialid | html %]')} else {HideItems('items[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]')}" />
307
        </td>
305
        </td>
308
        <td>
306
        <td>
309
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate | html %]" size="10" maxlength="15"  class="datepicker" />
307
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate | html %]" size="10" maxlength="15"  class="flatpickr" />
310
        </td>
308
        </td>
311
        <td>
309
        <td>
312
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext | html %]" size="10" maxlength="100" />
310
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext | html %]" size="10" maxlength="100" />
313
        </td>
311
        </td>
314
        <td>
312
        <td>
315
            <input type="text" name="planneddate" value="[% newserialloo.planneddate | html %]" size="10" maxlength="15" class="datepicker" />
313
            <input type="text" name="planneddate" value="[% newserialloo.planneddate | html %]" size="10" maxlength="15" class="flatpickr" />
316
        </td>
314
        </td>
317
        <td>
315
        <td>
318
            <select name="status" id="addstatus[% newserialloo.serialid | html %]" onchange="if (this.value==2){unHideItems('items'+'[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','[% newserialloo.serialid | html %]'); changeDate(this, '[% newserialloo.arriveddate | html %]')} else if (this.value==7){changeDate(this, '[% newserialloo.arriveddate | html %]')} else { HideItems('items'+'[% newserialloo.subscriptionid | html %]'+[% newserialloo.serialid | html %],'label[% serialslis.subscriptionid | html %][% serialslis.serialid | html %]'); changeDate(this, '[% serialslis.planneddate | html %]')}" >
316
            <select name="status" id="addstatus[% newserialloo.serialid | html %]" onchange="if (this.value==2){unHideItems('items'+'[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','label[% newserialloo.subscriptionid | html %][% newserialloo.serialid | html %]','[% newserialloo.serialid | html %]'); changeDate(this, '[% newserialloo.arriveddate | html %]')} else if (this.value==7){changeDate(this, '[% newserialloo.arriveddate | html %]')} else { HideItems('items'+'[% newserialloo.subscriptionid | html %]'+[% newserialloo.serialid | html %],'label[% serialslis.subscriptionid | html %][% serialslis.serialid | html %]'); changeDate(this, '[% serialslis.planneddate | html %]')}" >
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-1 / +1 lines)
Lines 276-282 Link Here
276
                </li>
276
                </li>
277
                <li>
277
                <li>
278
                  <label for="to">Expires before:</label>
278
                  <label for="to">Expires before:</label>
279
                  <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="datepickerto" />
279
                  <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="flatpickr" />
280
                </li>
280
                </li>
281
                [% INCLUDE 'additional-fields-entry.inc' available=additional_fields_for_subscription values=additional_field_filters wrap_fieldset=0 %]
281
                [% INCLUDE 'additional-fields-entry.inc' available=additional_fields_for_subscription values=additional_field_filters wrap_fieldset=0 %]
282
              </ol>
282
              </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-4 / +4 lines)
Lines 263-269 fieldset.rows table { clear: none; margin: 0; } Link Here
263
                                    <li>
263
                                    <li>
264
                                        <label for="acqui_date" class="required">First issue publication date:</label>
264
                                        <label for="acqui_date" class="required">First issue publication date:</label>
265
                                        [% UNLESS (more_than_one_serial) %]
265
                                        [% UNLESS (more_than_one_serial) %]
266
                                          <input type="text" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]" class="datepicker required" required="required" />
266
                                          <input type="text" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]" class="flatpickr required" required="required" />
267
                                        [% ELSE %]
267
                                        [% ELSE %]
268
                                          [% firstacquidate | $KohaDates %]
268
                                          [% firstacquidate | $KohaDates %]
269
                                          <input type="hidden" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]"/>
269
                                          <input type="hidden" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]"/>
Lines 273-279 fieldset.rows table { clear: none; margin: 0; } Link Here
273
                                    [% IF (more_than_one_serial) %]
273
                                    [% IF (more_than_one_serial) %]
274
                                      <li>
274
                                      <li>
275
                                        <label for="nextacquidate">Next issue publication date:</label>
275
                                        <label for="nextacquidate">Next issue publication date:</label>
276
                                        <input type="text" size="10" id="nextacquidate" name="nextacquidate" value="[% nextacquidate | $KohaDates %]" class="datepicker" />
276
                                        <input type="text" size="10" id="nextacquidate" name="nextacquidate" value="[% nextacquidate | $KohaDates %]" class="flatpickr" />
277
                                      </li>
277
                                      </li>
278
                                    [% END %]
278
                                    [% END %]
279
                                    <li>
279
                                    <li>
Lines 327-337 fieldset.rows table { clear: none; margin: 0; } Link Here
327
                                    </li>
327
                                    </li>
328
                                    <li>
328
                                    <li>
329
                                        <label for="from" class="required"> Subscription start date:</label>
329
                                        <label for="from" class="required"> Subscription start date:</label>
330
                                        <input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="datepickerfrom required" required="required" />
330
                                        <input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="flatpickrfrom required" required="required" />
331
                                    </li>
331
                                    </li>
332
                                    <li>
332
                                    <li>
333
                                        <label for="to">Subscription end date:</label>
333
                                        <label for="to">Subscription end date:</label>
334
                                        <input type="text" size="10" id="to" name="enddate" value="[% enddate | $KohaDates %]" class="datepickerto" />
334
                                        <input type="text" size="10" id="to" name="enddate" value="[% enddate | $KohaDates %]" class="flatpickrto" />
335
                                    </li>
335
                                    </li>
336
                                    <li>
336
                                    <li>
337
                                        <label for="numberpattern" class="required">Numbering pattern:</label>
337
                                        <label for="numberpattern" class="required">Numbering pattern:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt (-1 / +1 lines)
Lines 142-148 Link Here
142
                                </li>
142
                                </li>
143
                                <li>
143
                                <li>
144
                                    <label for="enddate">Expiration date: </label>
144
                                    <label for="enddate">Expiration date: </label>
145
                                    <input type="text" class="datepicker" id="enddate" name="enddate" placeholder="No change"/>
145
                                    <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change"/>
146
                                </li>
146
                                </li>
147
                                [% FOREACH field IN additional_fields %]
147
                                [% FOREACH field IN additional_fields %]
148
                                    <li>
148
                                    <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt (-2 / +2 lines)
Lines 41-54 Link Here
41
              <tr>
41
              <tr>
42
                <td>Subscription start date</td>
42
                <td>Subscription start date</td>
43
                <td>
43
                <td>
44
                    <input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="datepickerfrom" /> (start date of the 1st subscription)
44
                    <input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="flatpickrfrom" /> (start date of the 1st subscription)
45
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
45
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
46
                </td>
46
                </td>
47
              </tr>
47
              </tr>
48
              <tr>
48
              <tr>
49
                <td>Subscription end date</td>
49
                <td>Subscription end date</td>
50
                <td>
50
                <td>
51
                    <input type="text" size="10" name="histenddate" value="[% histenddate | $KohaDates %]" class="datepickerto" />(if empty, subscription is still active)
51
                    <input type="text" size="10" name="histenddate" value="[% histenddate | $KohaDates %]" class="flatpickrto" />(if empty, subscription is still active)
52
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
52
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
53
                </td>
53
                </td>
54
              </tr>
54
              </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt (-1 / +1 lines)
Lines 200-206 Link Here
200
                </li>
200
                </li>
201
                <li>
201
                <li>
202
                  <label for="firstacquidate">First issue publication date: </label>
202
                  <label for="firstacquidate">First issue publication date: </label>
203
                  <input type="text" id="firstacquidate" class="datepicker" size="10" />
203
                  <input type="text" id="firstacquidate" class="flatpickr" size="10" />
204
                </li>
204
                </li>
205
                <li>
205
                <li>
206
                  <label for="sublength">Subscription length:</label>
206
                  <label for="sublength">Subscription length:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt (-2 / +1 lines)
Lines 34-40 Link Here
34
        <ol>
34
        <ol>
35
            <li>
35
            <li>
36
                <label for="startdate">Start date: </label>
36
                <label for="startdate">Start date: </label>
37
                <input type="text" size="10" id="startdate" name="startdate" value="[% startdate | html %]" class="datepicker"/>
37
                <input type="text" size="10" id="startdate" name="startdate" value="[% startdate | html %]" class="flatpickr"/>
38
                <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
38
                <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
39
            </li>
39
            </li>
40
    <li>
40
    <li>
41
- 

Return to bug 28958