Fix alert settings switch buttons not working

This commit is contained in:
johnny@pittpc.com
2021-02-06 19:42:45 -05:00
parent 5eb1c9544c
commit 71a183993b
3 changed files with 13 additions and 6 deletions

View File

@@ -39,8 +39,8 @@
</div>
<div class="custom-control custom-switch mb-2">
<input type="checkbox" class="custom-control-input" name="config_send_invoice_reminders" <?php if($config_send_invoice_reminders == 1){ echo "checked"; } ?> value="1" id="customSwitch1">
<label class="custom-control-label" for="customSwitch1">Send Invoice Reminders</label>
<input type="checkbox" class="custom-control-input" name="config_send_invoice_reminders" <?php if($config_send_invoice_reminders == 1){ echo "checked"; } ?> value="1" id="customSwitch4">
<label class="custom-control-label" for="customSwitch4">Send Invoice Reminders</label>
</div>
<?php if($config_send_invoice_reminders == 1){ ?>