mirror of
https://github.com/itflow-org/itflow
synced 2026-11-19 02:47:26 +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:
@@ -44,6 +44,13 @@ echo settingsPageStart('quote');
|
||||
<?= settingsSectionEnd() ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (quoteImagesReady()) { ?>
|
||||
<?= settingsSectionStart('pictures', 'Pictures', 'A quote line can have a picture - uploaded, pulled from a link, or taken from its product.') ?>
|
||||
<?= settingsSwitch('config_quote_show_images', quoteImagesShown() ? 1 : 0, ['label' => 'Show pictures on quotes',
|
||||
'help' => 'Beside each line on the quote, the guest link, the client portal and the PDF - and the Picture field in a line\'s Edit window. Off, they are kept but not shown.']) ?>
|
||||
<?= settingsSectionEnd() ?>
|
||||
<?php } ?>
|
||||
|
||||
<?= settingsSaveBar('edit_quote_settings') ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user