Moved invoice logo to general settings, fixed invoice and quote not displaying invoice logo, added a switch to enable disable invoice reminders

This commit is contained in:
root
2019-06-12 12:56:51 -04:00
parent a5b7004e8a
commit 0686406e07
8 changed files with 82 additions and 83 deletions

View File

@@ -7,7 +7,7 @@
<h6 class="float-left mt-1"><i class="fa fa-fw fa-file mr-2"></i>Invoice Settings</h6>
</div>
<div class="card-body">
<form class="p-3" action="post.php" method="post" autocomplete="off">
<form class="p-3" action="post.php" method="post" autocomplete="off">
<div class="form-group">
<label>Invoice Prefix</label>
@@ -19,7 +19,6 @@
</div>
</div>
<div class="form-group">
<label>Next Number</label>
<div class="input-group">
@@ -30,6 +29,13 @@
</div>
</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>
</div>
<?php if($config_send_invoice_reminders == 1){ ?>
<div class="form-group">
<label>Overdue Reminders</label>
<div class="input-group">
@@ -60,6 +66,8 @@
</div>
</div>
<?php } ?>
<div class="form-group">
<label>Invoice Footer</label>
<textarea class="form-control" rows="4" name="config_invoice_footer"><?php echo $config_invoice_footer; ?></textarea>