Updated Email Quote and Invoice Templates, Invoice and Quote Guest view fully work, along with the ability for a guest to approve or reject a quote. PDF are no longer attached to emails they are provided as a link within an email and are recorded when viewed. Once viewed they can be printed or Downloaded as a PDF from the guest view pages. New option config_recurring_auto_email to automatically email the invoice on auto generated recurring Invoices

This commit is contained in:
root
2019-06-02 00:52:56 -04:00
parent d2bad1a4ba
commit 59882a3af5
12 changed files with 1037 additions and 318 deletions

View File

@@ -17,7 +17,7 @@
$config_default_payment_account = "";
$config_default_net_terms = 7;
$sql = mysqli_query($mysqli,"SELECT * FROM settings");
$sql = mysqli_query($mysqli,"SELECT * FROM settings WHERE company_id = 1");
$row = mysqli_fetch_array($sql);
$config_start_page = $row['config_start_page'];
@@ -43,6 +43,10 @@
$config_mail_from_name = $row['config_mail_from_name'];
$config_account_balance_threshold = $row['config_account_balance_threshold'];
$config_quote_email_subject = $row['config_quote_email_subject'];
$config_recurring_email_auto_send = $row['config_recurring_email_auto_send'];
$config_api_key = $row['config_api_key'];
$_SESSION['alert_message'] = '';