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:
johnnyq
2026-11-17 21:25:57 -05:00
parent bd62f4af22
commit 475f27fc7f
27 changed files with 619 additions and 15 deletions

View File

@@ -28,6 +28,7 @@ if (!empty($quote_id)) {
$delete_count = mysqli_affected_rows($mysqli);
if ($delete_count > 0) {
quoteImagesDeleteFor("item_quote_id = $quote_id");
mysqli_query($mysqli, "DELETE FROM quote_items WHERE item_quote_id = $quote_id");
// Its history - a recurring invoice's entry for the lines it added stays theirs