Billing stage 5: payment reminders on a schedule set in Invoice Settings (days before, on and after the due date, then every N days until paid, with a client opt-out on the Billing tab and no reminder for autopay invoices until late), Send Reminder and next-reminder status on the invoice page, a message and PDF attachment in the invoice, quote and statement Send windows, a statement PDF with aging and an optional monthly statement run, a new look for invoice, quote, reminder, receipt, statement and team notice emails sent to primary and billing contacts, late fee added as a proper invoice line, fixes for the quote answered notice link and batch payment receipts, database 2.9.8 and changelog

This commit is contained in:
johnnyq
2026-10-16 17:12:10 -04:00
parent 001cd9c658
commit 87c441b3b9
26 changed files with 1550 additions and 882 deletions

6
db.sql
View File

@@ -700,6 +700,7 @@ CREATE TABLE `clients` (
`client_rate` decimal(15,2) DEFAULT NULL,
`client_currency_code` varchar(200) NOT NULL,
`client_net_terms` int(10) NOT NULL,
`client_reminders` tinyint(1) NOT NULL DEFAULT 1,
`client_tax_id_number` varchar(255) DEFAULT NULL,
`client_abbreviation` varchar(10) DEFAULT NULL,
`client_notes` text DEFAULT NULL,
@@ -2543,6 +2544,11 @@ CREATE TABLE `settings` (
`config_recurring_auto_send_invoice` tinyint(1) NOT NULL DEFAULT 1,
`config_enable_alert_domain_expire` tinyint(1) NOT NULL DEFAULT 1,
`config_send_invoice_reminders` tinyint(1) NOT NULL DEFAULT 1,
`config_invoice_reminder_days` varchar(200) NOT NULL DEFAULT '1,30',
`config_invoice_reminder_repeat` int(11) NOT NULL DEFAULT 30,
`config_statement_monthly` tinyint(1) NOT NULL DEFAULT 0,
`config_statement_day` tinyint(2) NOT NULL DEFAULT 1,
`config_billing_email_attach_pdf` tinyint(1) NOT NULL DEFAULT 1,
`config_azure_client_id` varchar(200) DEFAULT NULL,
`config_azure_client_secret` varchar(200) DEFAULT NULL,
`config_module_enable_itdoc` tinyint(1) NOT NULL DEFAULT 1,