Correct the require-notes setting use in the appointments_modal.php (#1426)
This commit is contained in:
parent
49dcf21c10
commit
ec0432d515
1 changed files with 5 additions and 4 deletions
|
@ -12,6 +12,7 @@
|
||||||
* @var array $require_address
|
* @var array $require_address
|
||||||
* @var array $require_city
|
* @var array $require_city
|
||||||
* @var array $require_zip_code
|
* @var array $require_zip_code
|
||||||
|
* @var array $require_notes
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<div id="appointments-modal" class="modal fade">
|
<div id="appointments-modal" class="modal fade">
|
||||||
|
@ -334,12 +335,12 @@
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="customer-notes" class="form-label">
|
<label for="customer-notes" class="form-label">
|
||||||
<?= lang('notes') ?>
|
<?= lang('notes') ?>
|
||||||
<?php if ($require_zip_code): ?>
|
<?php if ($require_notes): ?>
|
||||||
<span class="text-danger">*</span>
|
<span class="text-danger">*</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</label>
|
</label>
|
||||||
<textarea id="customer-notes" rows="2"
|
<textarea id="customer-notes" rows="2"
|
||||||
class="<?= $require_zip_code ? 'required' : '' ?> form-control"></textarea>
|
class="<?= $require_notes ? 'required' : '' ?> form-control"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue