mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 03:47:25 +00:00
Quotes: a line can carry its cost each and a markup, margin or set price in the Edit Line window, with quick-pick percentages and what the line makes, a line added from a product takes the product's cost, the cost shows under the line while the quote can be changed and the quote's Margin counts each line's own cost, all for agents only; Admin Settings Quotes sets the starting method, percent and quick picks; Copy Quote keeps each line's product; database 3.8.7 adds quote_items.item_cost, item_price_method and item_price_percent and the pricing settings; 26.11.9 changelog entries
This commit is contained in:
6
db.sql
6
db.sql
@@ -2527,6 +2527,9 @@ CREATE TABLE `quote_items` (
|
||||
`item_description` text DEFAULT NULL,
|
||||
`item_quantity` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_price` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_cost` decimal(15,2) DEFAULT NULL,
|
||||
`item_price_method` varchar(10) DEFAULT NULL,
|
||||
`item_price_percent` decimal(7,2) DEFAULT NULL,
|
||||
`item_subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`item_total` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
@@ -3354,6 +3357,9 @@ CREATE TABLE `settings` (
|
||||
`config_quote_from_name` varchar(200) DEFAULT NULL,
|
||||
`config_quote_from_email` varchar(200) DEFAULT NULL,
|
||||
`config_quote_notification_email` varchar(200) DEFAULT NULL,
|
||||
`config_quote_price_method` varchar(10) NOT NULL DEFAULT 'markup',
|
||||
`config_quote_price_percent` decimal(7,2) NOT NULL DEFAULT 20.00,
|
||||
`config_quote_price_presets` varchar(100) NOT NULL DEFAULT '15,20,25,35',
|
||||
`config_ticket_prefix` varchar(200) DEFAULT NULL,
|
||||
`config_ticket_next_number` int(11) DEFAULT NULL,
|
||||
`config_ticket_from_name` varchar(200) DEFAULT NULL,
|
||||
|
||||
Reference in New Issue
Block a user