Bug 16112: Do not depend on SpecifyDueDate
It's possible to specify a renewal due date in the checkouts table even if SpecifyDueDate is off. Also change the label from "Specify due date:" to "Renewal due date:" Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
41fe5b41f9
commit
5d76558875
1 changed files with 7 additions and 9 deletions
|
@ -177,15 +177,13 @@
|
|||
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
|
||||
[% IF Koha.Preference('SpecifyDueDate') %]
|
||||
<div class="circ-settings show">
|
||||
<div class="date-select" id="renew_date_override_fields">
|
||||
<div><label for="hard_due_date" class="hint">Specify due date [% INCLUDE 'date-format.inc' %]:</label></div>
|
||||
<input type="text" size="20" id="hard_due_date" name="hard_due_date" value="[% hard_due_date | $KohaDates with_hours => 1 %]" />
|
||||
<button type="button" class="action btn btn-default btn-xs" id="cleardate" name="cleardate">Clear</button>
|
||||
</div> <!-- /.date-select -->
|
||||
</div>
|
||||
[% END %]
|
||||
<div class="circ-settings show">
|
||||
<div class="date-select" id="renew_date_override_fields">
|
||||
<div><label for="hard_due_date" class="hint">Renewal due date [% INCLUDE 'date-format.inc' %]:</label></div>
|
||||
<input type="text" size="20" id="hard_due_date" name="hard_due_date" value="[% hard_due_date | $KohaDates with_hours => 1 %]" />
|
||||
<button type="button" class="action btn btn-default btn-xs" id="cleardate" name="cleardate">Clear</button>
|
||||
</div> <!-- /.date-select -->
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
|
Loading…
Reference in a new issue