mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 11:57: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:
@@ -6752,6 +6752,29 @@ a.itflow-report-stat:focus-visible {
|
||||
min-width: 12rem;
|
||||
width: 55%;
|
||||
}
|
||||
/* A quote line's picture beside its name, and the box a picture field shows it in (functions/quote_images.php) -
|
||||
on white in both themes, as a product photo is taken */
|
||||
.itflow-line-image {
|
||||
flex-shrink: 0;
|
||||
object-fit: contain;
|
||||
background: #fff;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: var(--bs-border-radius-sm);
|
||||
}
|
||||
.itflow-line-image-box {
|
||||
width: 6.5rem;
|
||||
height: 6.5rem;
|
||||
}
|
||||
.itflow-line-image-box img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
@media print {
|
||||
.itflow-line-image {
|
||||
border-color: #dee2e6;
|
||||
}
|
||||
}
|
||||
/* A line's rate under its tax wraps, so a long name ("Quebec GST + QST
|
||||
14.975%") doesn't widen the column past the paper */
|
||||
.itflow-paper-tax-label {
|
||||
|
||||
Reference in New Issue
Block a user