|
Lines 393-398
Link Here
|
| 393 |
size="20" |
393 |
size="20" |
| 394 |
value="[% borrower_data.dateofbirth | html UNLESS op == 'duplicate' %]" |
394 |
value="[% borrower_data.dateofbirth | html UNLESS op == 'duplicate' %]" |
| 395 |
class="flatpickr" |
395 |
class="flatpickr" |
|
|
396 |
data-flatpickr-split="true" |
| 396 |
data-flatpickr-pastinclusive="true" |
397 |
data-flatpickr-pastinclusive="true" |
| 397 |
/> |
398 |
/> |
| 398 |
[% IF ( mandatorydateofbirth ) %] |
399 |
[% IF ( mandatorydateofbirth ) %] |
|
Lines 1127-1135
Link Here
|
| 1127 |
<li [% IF nodateexpiry %]style="display:none"[% END %]> |
1128 |
<li [% IF nodateexpiry %]style="display:none"[% END %]> |
| 1128 |
<label for="to" [% IF mandatorydateexpiry %]class="required"[% END %]> Expiry date (leave blank for auto calc): </label> |
1129 |
<label for="to" [% IF mandatorydateexpiry %]class="required"[% END %]> Expiry date (leave blank for auto calc): </label> |
| 1129 |
[% UNLESS ( op == 'add_form' ) %] |
1130 |
[% UNLESS ( op == 'add_form' ) %] |
| 1130 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% borrower_data.dateexpiry | html UNLESS op == 'duplicate' %]" class="flatpickr" /> |
1131 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% borrower_data.dateexpiry | html UNLESS op == 'duplicate' %]" class="flatpickr" data-flatpickr-split="true" /> |
| 1131 |
[% ELSE %] |
1132 |
[% ELSE %] |
| 1132 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% borrower_data.dateexpiry | html %]" class="flatpickr" /> |
1133 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% borrower_data.dateexpiry | html %]" class="flatpickr" data-flatpickr-split="true" /> |
| 1133 |
[% END %] |
1134 |
[% END %] |
| 1134 |
[% IF ( mandatorydateexpiry ) %] |
1135 |
[% IF ( mandatorydateexpiry ) %] |
| 1135 |
<span class="required">Required</span> |
1136 |
<span class="required">Required</span> |