Bug 28805: (follow-up) Fix template logic error
This patch fixes a problem in the template logic that made the 'Due date' legend display when `OnSiteCheckouts` and `SpecifyDueDate` are not set, as highlighted by QA. Sponsored-by: Banco Central de la República Argentina Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
1cf021d961
commit
69c10412af
|
|
@ -100,10 +100,11 @@
|
|||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
[% IF Koha.Preference('SpecifyDueDate') || Koha.Preference('OnSiteCheckouts') %]
|
||||
<fieldset class="rows">
|
||||
<legend>Due date</legend>
|
||||
<ol>
|
||||
[% IF Koha.Preference('SpecifyDueDate') %]
|
||||
<legend>Due date</legend>
|
||||
<li>
|
||||
<label for="duedatespec">Hard due date: [% INCLUDE 'date-format.inc' %]</label>
|
||||
<input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" class="flatpickr" data-flatpickr-enable-time="true"/>
|
||||
|
|
@ -119,6 +120,7 @@
|
|||
[% END %]
|
||||
</ol>
|
||||
</fieldset>
|
||||
[% END %]
|
||||
|
||||
<input type="hidden" name="op" value="show" />
|
||||
</fieldset>
|
||||
|
|
|
|||
Loading…
Reference in New Issue