Bunch of changes including mpdf library for creating pdf of invoices. It now attaches a PDF invoice when marked sent. Don't mark invoice_status sent if it partial or paid, removed green text from balance under clients only use red if the client has a balance and some other cleanups were done

This commit is contained in:
root
2019-04-13 21:34:25 -04:00
parent 13723fb3c5
commit 4ba961e533
648 changed files with 112350 additions and 21 deletions

View File

@@ -23,10 +23,15 @@
$config_start_page = "clients.php";
$config_company_name = "PittPC";
$config_company_address = "";
$config_company_city = "";
$config_company_state = "";
$config_company_zip = "";
$config_company_address = "123 PittPC Street";
$config_company_city = "Pittsburgh";
$config_company_state = "PA";
$config_company_zip = "15205";
$config_company_phone = "412-500-9434";
$config_company_site = "pittpc.com";
$config_invoice_logo = "/uploads/invoice_logo.png";
$config_invoice_footer = "Please make checks payable to PittPC<br>Visit us at pittpc.com";
//Mail Settings (Host must require TLS Support)
$config_smtp_host = "";
@@ -34,7 +39,7 @@
$config_smtp_password = "";
$config_smtp_port = 587;
$config_mail_from_email = "";
$config_mail_from_name = "";
$config_mail_from_name = "Automated Billing Department";
$_SESSION['alert_message'] = '';
$_SESSION['alert_type'] = "warning";