mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 03:47:25 +00:00
Quotes: a line can have a picture beside its name on the quote, guest link, portal and PDF, uploaded or pulled from a link to a picture or a product page's main picture, fetched only from public addresses and kept as ITFlow's own resized copy in uploads/quote_images; products keep a picture that a quote line added from them copies, Copy Quote copies them, and deleting a line, quote, client or product removes the files; Admin Settings Quotes can switch pictures off; database 3.8.8 adds quote_items.item_image, products.product_image and config_quote_show_images; 26.11.9 changelog entries
This commit is contained in:
3
db.sql
3
db.sql
@@ -2416,6 +2416,7 @@ CREATE TABLE `products` (
|
||||
`product_location` varchar(250) DEFAULT NULL,
|
||||
`product_price` decimal(15,2) NOT NULL,
|
||||
`product_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
|
||||
`product_image` varchar(255) DEFAULT NULL,
|
||||
`product_currency_code` varchar(200) NOT NULL,
|
||||
`product_frequency` varchar(10) DEFAULT NULL,
|
||||
`product_seat_source` varchar(20) DEFAULT NULL,
|
||||
@@ -2530,6 +2531,7 @@ CREATE TABLE `quote_items` (
|
||||
`item_cost` decimal(15,2) DEFAULT NULL,
|
||||
`item_price_method` varchar(10) DEFAULT NULL,
|
||||
`item_price_percent` decimal(7,2) DEFAULT NULL,
|
||||
`item_image` varchar(255) 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,
|
||||
@@ -3360,6 +3362,7 @@ CREATE TABLE `settings` (
|
||||
`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_quote_show_images` tinyint(1) NOT NULL DEFAULT 1,
|
||||
`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