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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-2 / +2 lines)
Lines 60-67 Link Here
60
        onClose: function( selectedDates, dateText, instance) {
60
        onClose: function( selectedDates, dateText, instance) {
61
            validate_date( dateText, instance );
61
            validate_date( dateText, instance );
62
            var thisInput = instance.input;
62
            var thisInput = instance.input;
63
            if ( thisInput.hasAttribute('data-start_for') ) {
63
            if ( thisInput.hasAttribute('data-date_to') ) {
64
                var endPicker = document.querySelector("#"+thisInput.dataset.start_for)._flatpickr;
64
                var endPicker = document.querySelector("#"+thisInput.dataset.date_to)._flatpickr;
65
                endPicker.set('minDate', selectedDates[0]);
65
                endPicker.set('minDate', selectedDates[0]);
66
            }
66
            }
67
        },
67
        },
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc (-1 / +1 lines)
Lines 103-109 Link Here
103
    </li>
103
    </li>
104
104
105
    <li><label for="from">From: </label>
105
    <li><label for="from">From: </label>
106
        <input type="text" size="10" id="from" name="from" value="[% filters.from_placed_on | $KohaDates %]" class="flatpickr" data-start_for="to" />
106
        <input type="text" size="10" id="from" name="from" value="[% filters.from_placed_on | $KohaDates %]" class="flatpickr" data-date_to="to" />
107
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
107
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
108
    </li>
108
    </li>
109
    <li><label for="to">To: </label>
109
    <li><label for="to">To: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-2 / +2 lines)
Lines 297-303 Link Here
297
              <ol>
297
              <ol>
298
                <li>
298
                <li>
299
                  <label for="shipmentdatefrom">From:</label>
299
                  <label for="shipmentdatefrom">From:</label>
300
                  <input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" class="flatpickr" data-start_for="shipmentdateto" />
300
                  <input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" class="flatpickr" data-date_to="shipmentdateto" />
301
                  <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
301
                  <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
302
                </li>
302
                </li>
303
                <li>
303
                <li>
Lines 314-320 Link Here
314
              <ol>
314
              <ol>
315
                <li>
315
                <li>
316
                  <label for="billingdatefrom">From:</label>
316
                  <label for="billingdatefrom">From:</label>
317
                  <input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" class="flatpickr" data-start_for="billingdateto" />
317
                  <input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" class="flatpickr" data-date_to="billingdateto" />
318
                  <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
318
                  <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
319
                </li>
319
                </li>
320
                <li>
320
                <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-1 / +1 lines)
Lines 232-238 Link Here
232
<ol>
232
<ol>
233
    <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html %]" /> days ago</li>
233
    <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html %]" /> days ago</li>
234
    <li><label for="from">Estimated delivery date from: </label>
234
    <li><label for="from">Estimated delivery date from: </label>
235
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-start_for="to"/>
235
        <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-date_to="to"/>
236
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
236
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
237
    </li>
237
    </li>
238
    <li><label for="to">To: </label>
238
    <li><label for="to">To: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-2 / +2 lines)
Lines 189-195 Link Here
189
189
190
    <li>
190
    <li>
191
    <label class="required" for="from">Start date: </label>
191
    <label class="required" for="from">Start date: </label>
192
    <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-start_for="to" />
192
    <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-date_to="to" />
193
        <span class="required">Required</span>
193
        <span class="required">Required</span>
194
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
194
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
195
    </li>
195
    </li>
Lines 259-265 Link Here
259
    <ol>
259
    <ol>
260
    <li>
260
    <li>
261
    <label class="required" for="from">Start date: </label>
261
    <label class="required" for="from">Start date: </label>
262
    <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-start_for="to" />
262
    <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-date_to="to" />
263
        <span class="required">Required</span>
263
        <span class="required">Required</span>
264
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
264
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
265
    </li>
265
    </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-1 / +1 lines)
Lines 132-138 Link Here
132
                                        <input type="text" name="contractdescription" id="contractdescription" size="40" maxlength="80" value="[% contractdescription | html %]" />
132
                                        <input type="text" name="contractdescription" id="contractdescription" size="40" maxlength="80" value="[% contractdescription | html %]" />
133
                                </li>
133
                                </li>
134
                                <li><label for="from" class="required">Start date:</label> &nbsp;
134
                                <li><label for="from" class="required">Start date:</label> &nbsp;
135
                                        <input type="text" name="contractstartdate" id="from" value="[% contractstartdate | $KohaDates %]" maxlength="10" size="10" class="flatpickr" data-start_for="to" />
135
                                        <input type="text" name="contractstartdate" id="from" value="[% contractstartdate | $KohaDates %]" maxlength="10" size="10" class="flatpickr" data-date_to="to" />
136
                                        <span class="required">Required</span>
136
                                        <span class="required">Required</span>
137
                                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
137
                                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
138
                                </li>
138
                                </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-1 / +1 lines)
Lines 156-162 Link Here
156
156
157
            <li class="date_due_filter">
157
            <li class="date_due_filter">
158
                <label for="from">From:</label>
158
                <label for="from">From:</label>
159
                <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-start_for="to" />
159
                <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" />
160
            </li>
160
            </li>
161
            <li class="date_due_filter">
161
            <li class="date_due_filter">
162
                <label for="to">To:</label>
162
                <label for="to">To:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-1 / +1 lines)
Lines 271-277 Link Here
271
<label for="from">
271
<label for="from">
272
    Start date:
272
    Start date:
273
</label>
273
</label>
274
<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-start_for="to" />
274
<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" />
275
</li>
275
</li>
276
<li><label for="to">
276
<li><label for="to">
277
    End date:
277
    End date:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +1 lines)
Lines 164-170 Link Here
164
164
165
    <li>
165
    <li>
166
        <label for="from">Start date:</label>
166
        <label for="from">Start date:</label>
167
        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-start_for="to" />
167
        <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" />
168
    </li>
168
    </li>
169
169
170
    <li>
170
    <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt (-1 / +1 lines)
Lines 73-79 Link Here
73
73
74
                        <li>
74
                        <li>
75
                            <label for="from">Start date:</label>
75
                            <label for="from">Start date:</label>
76
                            <input name="date_start" id="from" size="10" class="flatpickr" data-start_for="to" value="[% club.date_start | $KohaDates %]">
76
                            <input name="date_start" id="from" size="10" class="flatpickr" data-date_to="to" value="[% club.date_start | $KohaDates %]">
77
                        </li>
77
                        </li>
78
78
79
                        <li>
79
                        <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +2 lines)
Lines 73-79 Link Here
73
                                </li>
73
                                </li>
74
                                <li>
74
                                <li>
75
                                    <label for="illfilter_dateplaced_start">Date placed between:</label>
75
                                    <label for="illfilter_dateplaced_start">Date placed between:</label>
76
                                    <input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-start_for="illfilter_dateplaced_end"/>
76
                                    <input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-date_to="illfilter_dateplaced_end"/>
77
                                </li>
77
                                </li>
78
                                <li>
78
                                <li>
79
                                    <label for="illfilter_dateplaced_end">and:</label>
79
                                    <label for="illfilter_dateplaced_end">and:</label>
Lines 81-87 Link Here
81
                                </li>
81
                                </li>
82
                                <li>
82
                                <li>
83
                                    <label for="illfilter_datemodified_start">Updated between:</label>
83
                                    <label for="illfilter_datemodified_start">Updated between:</label>
84
                                    <input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-start_for="illfilter_datemodified_end" />
84
                                    <input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-date_to="illfilter_datemodified_end" />
85
                                </li>
85
                                </li>
86
                                <li>
86
                                <li>
87
                                    <label for="illfilter_datemodified_end">and:</label>
87
                                    <label for="illfilter_datemodified_end">and:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt (-1 / +1 lines)
Lines 90-96 to add to Batch [% batch_id | html %] Link Here
90
<ol>
90
<ol>
91
    <li>
91
    <li>
92
        <label for="from">Added on or after date: </label>
92
        <label for="from">Added on or after date: </label>
93
        <input type="text" size="10" id="from" name="datefrom" class="flatpickr" data-start_for="to" value="" />
93
        <input type="text" size="10" id="from" name="datefrom" class="flatpickr" data-date_to="to" value="" />
94
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
94
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
95
    </li>
95
    </li>
96
    <li>
96
    <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 1055-1061 legend:hover { Link Here
1055
                                                [% END %]
1055
                                                [% END %]
1056
                                                    Registration date:
1056
                                                    Registration date:
1057
                                                </label>
1057
                                                </label>
1058
                                                <input type="text" id="from" name="dateenrolled"  maxlength="10" size="10" value="[% dateenrolled | html %]" class="flatpickr" data-start_for="to" />
1058
                                                <input type="text" id="from" name="dateenrolled"  maxlength="10" size="10" value="[% dateenrolled | html %]" class="flatpickr" data-date_to="to" />
1059
                                                [% IF ( mandatorydateenrolled ) %]
1059
                                                [% IF ( mandatorydateenrolled ) %]
1060
                                                    <span class="required">Required</span>
1060
                                                    <span class="required">Required</span>
1061
                                                [% END %]
1061
                                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt (-1 / +1 lines)
Lines 163-169 Link Here
163
                    <ol>
163
                    <ol>
164
                        <li>
164
                        <li>
165
                            <label for="trange_f">From: </label>
165
                            <label for="trange_f">From: </label>
166
                            <input type="text" size="10" id="from" class="flatpickr" data-start_for="to" name="trange_f" value="[% trange_f | html %]"/>
166
                            <input type="text" size="10" id="from" class="flatpickr" data-date_to="to" name="trange_f" value="[% trange_f | html %]"/>
167
                            <label class="inline" for="trange_t">To: </label>
167
                            <label class="inline" for="trange_t">To: </label>
168
                            <input type="text" size="10" id="to" class="flatpickr" name="trange_t" value="[% trange_t | html %]" />
168
                            <input type="text" size="10" id="to" class="flatpickr" name="trange_t" value="[% trange_t | html %]" />
169
                            <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
169
                            <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-2 / +2 lines)
Lines 120-126 Link Here
120
				<td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
120
				<td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
121
				<td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
121
				<td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
122
                <td>
122
                <td>
123
                    From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-start_for="placedonto" />
123
                    From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" />
124
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
124
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
125
                    To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
125
                    To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
126
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
126
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
Lines 143-149 Link Here
143
				<td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
143
				<td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
144
				<td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
144
				<td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
145
                <td>
145
                <td>
146
                    From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-start_for="receivedonto" />
146
                    From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" />
147
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
147
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
148
                    To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
148
                    To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
149
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
149
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-2 / +2 lines)
Lines 120-126 Link Here
120
        <ol>
120
        <ol>
121
            <li>
121
            <li>
122
                <label for="checkoutfrom">Checkout date from:</label>
122
                <label for="checkoutfrom">Checkout date from:</label>
123
                <input type="text" size="10" id="checkoutfrom" name="Filter" class="flatpickr" data-start_for="checkoutto" />
123
                <input type="text" size="10" id="checkoutfrom" name="Filter" class="flatpickr" data-date_to="checkoutto" />
124
124
125
                <label class="inline" for="checkoutto">To: </label>
125
                <label class="inline" for="checkoutto">To: </label>
126
                <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
126
                <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
Lines 128-134 Link Here
128
            </li>
128
            </li>
129
            <li>
129
            <li>
130
                <label for="checkinfrom">Check-in date from:</label>
130
                <label for="checkinfrom">Check-in date from:</label>
131
                <input type="text" size="10" id="checkinfrom" name="Filter" class="flatpickr" data-start_for="checkinto" />
131
                <input type="text" size="10" id="checkinfrom" name="Filter" class="flatpickr" data-date_to="checkinto" />
132
132
133
                <label class="inline" for="checkinto">To: </label>
133
                <label class="inline" for="checkinto">To: </label>
134
                <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
134
                <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-1 / +1 lines)
Lines 181-187 Link Here
181
                <td colspan="2"></td>
181
                <td colspan="2"></td>
182
                <td>
182
                <td>
183
                    <label for="from">From</label>
183
                    <label for="from">From</label>
184
                    <input type="text" size="10" id="from" name="Filter" class="flatpickr"data-start_for="to" />
184
                    <input type="text" size="10" id="from" name="Filter" class="flatpickr"data-date_to="to" />
185
                    <label for="to">To</label>
185
                    <label for="to">To</label>
186
                    <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" />
186
                    <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" />
187
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
187
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-1 / +1 lines)
Lines 58-64 Link Here
58
                <br>
58
                <br>
59
                <li>
59
                <li>
60
                    <label for="from">From: </label>
60
                    <label for="from">From: </label>
61
                    <input type="text" size="10" id="from" name="from" value="[% beginDate | $KohaDates %]" class="flatpickr" data-start_for="to" />
61
                    <input type="text" size="10" id="from" name="from" value="[% beginDate | $KohaDates %]" class="flatpickr" data-date_to="to" />
62
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
62
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
63
                </li>
63
                </li>
64
                <li>
64
                <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (-2 / +2 lines)
Lines 97-103 Link Here
97
	<ol>
97
	<ol>
98
        <li>
98
        <li>
99
            <label for="checkoutfrom">Checkout date from: </label>
99
            <label for="checkoutfrom">Checkout date from: </label>
100
            <input type="text" size="10" id="checkoutfrom" name="Filter" data-start_for="checkoutto" class="flatpickr" />
100
            <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
101
101
102
            <label for="checkoutto" class="inline">To:</label>
102
            <label for="checkoutto" class="inline">To:</label>
103
            <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
103
            <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" />
Lines 105-111 Link Here
105
        </li>
105
        </li>
106
        <li>
106
        <li>
107
            <label for="checkinfrom">Check-in date from</label>
107
            <label for="checkinfrom">Check-in date from</label>
108
            <input type="text" size="10" id="checkinfrom" name="Filter" data-start_for="checkinto" class="flatpickr" />
108
            <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
109
109
110
            <label for="checkinto" class="inline">To: </label>
110
            <label for="checkinto" class="inline">To: </label>
111
            <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
111
            <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-2 / +2 lines)
Lines 252-258 Link Here
252
                <td><input type="radio" name="Column" value="items.dateaccessioned" /></td>
252
                <td><input type="radio" name="Column" value="items.dateaccessioned" /></td>
253
                <td>
253
                <td>
254
                    <label for="acqdateFrom">From</label>
254
                    <label for="acqdateFrom">From</label>
255
                    <input type="text" name="Filter" id="acqdateFrom" data-start_for="acqdateTo" class="flatpickr" />
255
                    <input type="text" name="Filter" id="acqdateFrom" data-date_to="acqdateTo" class="flatpickr" />
256
256
257
                    <label for="acqdateTo">To</label>
257
                    <label for="acqdateTo">To</label>
258
                    <input type="text" name="Filter" id="acqdateTo" class="flatpickr" />
258
                    <input type="text" name="Filter" id="acqdateTo" class="flatpickr" />
Lines 264-270 Link Here
264
                <td><input type="radio" name="Column" value="deleteditems.timestamp" /></td>
264
                <td><input type="radio" name="Column" value="deleteditems.timestamp" /></td>
265
                <td>
265
                <td>
266
                    <label for="deldateFrom">From</label>
266
                    <label for="deldateFrom">From</label>
267
                    <input type="text" name="Filter" id="deldateFrom" data-start_for="deldateTo" class="flatpickr" />
267
                    <input type="text" name="Filter" id="deldateFrom" data-date_to="deldateTo" class="flatpickr" />
268
268
269
                    <label for="deldateTo">To</label>
269
                    <label for="deldateTo">To</label>
270
                    <input type="text" name="Filter" id="deldateTo" class="flatpickr" />
270
                    <input type="text" name="Filter" id="deldateTo" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt (-1 / +1 lines)
Lines 259-265 Link Here
259
    </li>
259
    </li>
260
    <li class="radio">
260
    <li class="radio">
261
        Start of date range
261
        Start of date range
262
        <input type="text" size="10" id="from" name="[% column.name | html %]_start_value" value="" class="flatpickr" data-start_for="to" />
262
        <input type="text" size="10" id="from" name="[% column.name | html %]_start_value" value="" class="flatpickr" data-date_to="to" />
263
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
263
        <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
264
        End of date range
264
        End of date range
265
        <input type="text" size="10" id="to" name="[% column.name | html %]_end_value" value="" class="flatpickr" />
265
        <input type="text" size="10" id="to" name="[% column.name | html %]_end_value" value="" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +1 lines)
Lines 619-625 Link Here
619
                                                [% IF ( criteri.daterange ) %]
619
                                                [% IF ( criteri.daterange ) %]
620
                                                    <td>
620
                                                    <td>
621
                                                        from
621
                                                        from
622
                                                        <input type="text" size="10" id="from_[% criteri.name.remove('\.') | html %]_value" name="from_[% criteri.name | html %]_value" value="" data-start_for="to_[% criteri.name.remove('\.') | html %]_value" class="flatpickr" />
622
                                                        <input type="text" size="10" id="from_[% criteri.name.remove('\.') | html %]_value" name="from_[% criteri.name | html %]_value" value="" data-date_to="to_[% criteri.name.remove('\.') | html %]_value" class="flatpickr" />
623
                                                        to
623
                                                        to
624
                                                        <input type="text" size="10" id="to_[% criteri.name.remove('\.') | html %]_value" name="to_[% criteri.name | html %]_value" value="" class="flatpickr" />
624
                                                        <input type="text" size="10" id="to_[% criteri.name.remove('\.') | html %]_value" name="to_[% criteri.name | html %]_value" value="" class="flatpickr" />
625
                                                        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
625
                                                        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-2 / +2 lines)
Lines 105-111 Link Here
105
                <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td>
105
                <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td>
106
                <td>
106
                <td>
107
                    <label for="checkoutfrom">From</label>
107
                    <label for="checkoutfrom">From</label>
108
                    <input type="text" size="10" id="checkoutfrom" name="Filter" data-start_for="checkouto" class="flatpickr" />
108
                    <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkouto" class="flatpickr" />
109
109
110
                    <label for="checkouto">To</label>
110
                    <label for="checkouto">To</label>
111
                    <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" />
111
                    <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" />
Lines 130-136 Link Here
130
				<td><input type="radio" name="Column" value="returndate" /></td>
130
				<td><input type="radio" name="Column" value="returndate" /></td>
131
                <td>
131
                <td>
132
                    <label for="checkinfrom">From</label>
132
                    <label for="checkinfrom">From</label>
133
                    <input type="text" size="10" id="checkinfrom" name="Filter" data-start_for="checkinto" class="flatpickr" />
133
                    <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
134
134
135
                    <label for="checkinto">To</label>
135
                    <label for="checkinto">To</label>
136
                    <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
136
                    <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-1 / +1 lines)
Lines 128-134 Link Here
128
                <td><input type="radio" name="Column" value="datetime" /></td>
128
                <td><input type="radio" name="Column" value="datetime" /></td>
129
                <td>
129
                <td>
130
                    <label for="from">From</label>
130
                    <label for="from">From</label>
131
                    <input type="text" size="10" id="from" name="Filter" class="flatpickr" data-start_for="to" />
131
                    <input type="text" size="10" id="from" name="Filter" class="flatpickr" data-date_to="to" />
132
                    <label for="to">To</label>
132
                    <label for="to">To</label>
133
                    <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" />
133
                    <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" />
134
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
134
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-5 / +5 lines)
Lines 125-131 Link Here
125
                <td><input type="radio" name="Column" value="reservedate" /></td>
125
                <td><input type="radio" name="Column" value="reservedate" /></td>
126
                <td>
126
                <td>
127
                    <label for="filter_reservedate_begin">From</label>
127
                    <label for="filter_reservedate_begin">From</label>
128
                    <input type="text" size="10" id="filter_reservedate_begin" data-start_for="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" />
128
                    <input type="text" size="10" id="filter_reservedate_begin" data-date_to="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" />
129
129
130
                    <label for="filter_reservedate_end">To</label>
130
                    <label for="filter_reservedate_end">To</label>
131
                    <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" class="flatpickr" />
131
                    <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" class="flatpickr" />
Lines 137-143 Link Here
137
                <td><input type="radio" name="Column" value="notificationdate" /></td>
137
                <td><input type="radio" name="Column" value="notificationdate" /></td>
138
                <td>
138
                <td>
139
                    <label for="filter_notificationdate_begin">From</label>
139
                    <label for="filter_notificationdate_begin">From</label>
140
                    <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-start_for="filter_notificationdate_end" class="flatpickr" />
140
                    <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-date_to="filter_notificationdate_end" class="flatpickr" />
141
141
142
                    <label for="filter_notificationdate_end">To</label>
142
                    <label for="filter_notificationdate_end">To</label>
143
                    <input  size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" class="flatpickr" />
143
                    <input  size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" class="flatpickr" />
Lines 149-155 Link Here
149
                <td><input type="radio" name="Column" value="reminderdate" /></td>
149
                <td><input type="radio" name="Column" value="reminderdate" /></td>
150
                <td>
150
                <td>
151
                    <label for="filter_reminderdate_begin">From</label>
151
                    <label for="filter_reminderdate_begin">From</label>
152
                    <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-start_for="filter_reminderdate_end" class="flatpickr" />
152
                    <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-date_to="filter_reminderdate_end" class="flatpickr" />
153
153
154
                    <label for="filter_reminderdate_end">To</label>
154
                    <label for="filter_reminderdate_end">To</label>
155
                    <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" class="flatpickr" />
155
                    <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" class="flatpickr" />
Lines 161-167 Link Here
161
                <td><input type="radio" name="Column" value="waitingdate" /></td>
161
                <td><input type="radio" name="Column" value="waitingdate" /></td>
162
                <td>
162
                <td>
163
                    <label for="filter_waitingdate_begin">From</label>
163
                    <label for="filter_waitingdate_begin">From</label>
164
                    <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-start_for="filter_waitingdate_end" class="flatpickr" />
164
                    <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-date_to="filter_waitingdate_end" class="flatpickr" />
165
165
166
                    <label for="filter_waitingdate_end">To</label>
166
                    <label for="filter_waitingdate_end">To</label>
167
                    <input  size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" />
167
                    <input  size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" />
Lines 173-179 Link Here
173
                <td><input type="radio" name="Column" value="cancellationdate" /></td>
173
                <td><input type="radio" name="Column" value="cancellationdate" /></td>
174
                <td>
174
                <td>
175
                    <label for="filter_cancellationdate_begin">From</label>
175
                    <label for="filter_cancellationdate_begin">From</label>
176
                    <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-start_for="filter_cancellationdate_end" class="flatpickr" />
176
                    <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-date_to="filter_cancellationdate_end" class="flatpickr" />
177
177
178
                    <label for="filter_cancellationdate_end">To</label>
178
                    <label for="filter_cancellationdate_end">To</label>
179
                    <input  size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" class="flatpickr" />
179
                    <input  size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" class="flatpickr" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-1 / +1 lines)
Lines 93-99 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="flatpickr" data-start_for="to"/>
96
        <input type="text" name="begindate" id="from" value="[% begindate | html %]" size="10" maxlength="10" class="flatpickr" data-date_to="to"/>
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="flatpickr" />
98
        <input type="text" name="enddate" id="to" value="[% enddate | html %]" size="10" maxlength="10" class="flatpickr" />
99
        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
99
        <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-1 / +1 lines)
Lines 327-333 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="flatpickr required" data-start_for="to" required="required" />
330
                                        <input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="flatpickr required" data-date_to="to" 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>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt (-1 / +1 lines)
Lines 41-47 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="flatpickr" data-start_for="histenddate" /> (start date of the 1st subscription)
44
                    <input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="flatpickr" data-date_to="histenddate" /> (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>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-1 / +1 lines)
Lines 230-236 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
230
	    </li>
230
	    </li>
231
	    <li>
231
	    <li>
232
			<label for="from">Date: from </label>
232
			<label for="from">Date: from </label>
233
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-start_for="to" />
233
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
234
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
234
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
235
235
236
			<label for="to">...to </label>
236
			<label for="to">...to </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-1 / +1 lines)
Lines 214-220 Link Here
214
                [% END %]
214
                [% END %]
215
                <li>
215
                <li>
216
                    <label for="from">Publication date: </label>
216
                    <label for="from">Publication date: </label>
217
                    <input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | $KohaDates %]" class="flatpickr" data-start_for="to" />
217
                    <input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | $KohaDates %]" class="flatpickr" data-date_to="to" />
218
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
218
                    <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
219
                </li>
219
                </li>
220
                <li>
220
                <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
82
83
                                    <li>
83
                                    <li>
84
                                        <label for="from_due_date">Due date from: </label>
84
                                        <label for="from_due_date">Due date from: </label>
85
                                        <input type="text" size="10" id="from" name="from_due_date" class="flatpickr" data-start_for="to" />
85
                                        <input type="text" size="10" id="from" name="from_due_date" class="flatpickr" data-date_to="to" />
86
                                    </li>
86
                                    </li>
87
87
88
                                    <li>
88
                                    <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-1 / +1 lines)
Lines 110-116 Link Here
110
        <ol>
110
        <ol>
111
            <li>
111
            <li>
112
                    <label for="from">Start date:</label>
112
                    <label for="from">Start date:</label>
113
                    <input type="text" size="10" id="from" name="start_accession" value="[% from | html %]" class="flatpickr" data-start_for="to" />
113
                    <input type="text" size="10" id="from" name="start_accession" value="[% from | html %]" class="flatpickr" data-date_to="to" />
114
            </li>
114
            </li>
115
            <li>
115
            <li>
116
                <label for="to">End date:</label>
116
                <label for="to">End date:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-2 / +1 lines)
Lines 273-279 Link Here
273
                                [% END %]
273
                                [% END %]
274
                            </li>
274
                            </li>
275
							<li>
275
							<li>
276
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-start_for="to" />
276
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-date_to="to" />
277
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
277
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
278
							</li>
278
							</li>
279
							<li>
279
							<li>
280
- 

Return to bug 29240