mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 03:47:25 +00:00
Recurring tickets book each ticket for its run day at a set time, remote or onsite, and can be raised a number of days ahead of the run or of the 1st of its month; recurring invoices can be made a number of days ahead, due on their date plus the client's terms or on their date; database 3.7.7 adds the columns; 26.11.9 changelog entries
This commit is contained in:
6
db.sql
6
db.sql
@@ -2740,6 +2740,8 @@ CREATE TABLE `recurring_invoices` (
|
||||
`recurring_invoice_last_sent` date DEFAULT NULL,
|
||||
`recurring_invoice_next_date` date NOT NULL,
|
||||
`recurring_invoice_anchor_day` tinyint(2) NOT NULL DEFAULT 0,
|
||||
`recurring_invoice_lead_days` int(11) NOT NULL DEFAULT 0,
|
||||
`recurring_invoice_due_mode` varchar(10) NOT NULL DEFAULT 'terms',
|
||||
`recurring_invoice_status` int(1) NOT NULL,
|
||||
`recurring_invoice_discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`recurring_invoice_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
@@ -2858,6 +2860,10 @@ CREATE TABLE `recurring_tickets` (
|
||||
`recurring_ticket_billable` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`recurring_ticket_start_date` date NOT NULL,
|
||||
`recurring_ticket_next_run` date NOT NULL,
|
||||
`recurring_ticket_schedule_time` time DEFAULT NULL,
|
||||
`recurring_ticket_schedule_onsite` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`recurring_ticket_lead_days` int(11) NOT NULL DEFAULT 0,
|
||||
`recurring_ticket_lead_mode` varchar(10) NOT NULL DEFAULT 'days',
|
||||
`recurring_ticket_paused_at` datetime DEFAULT NULL,
|
||||
`recurring_ticket_created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`recurring_ticket_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||||
|
||||
Reference in New Issue
Block a user