[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
foodclub.org • View topic - CSS for Combined Invoices
Page 1 of 1

CSS for Combined Invoices

PostPosted: Sun May 18, 2014 11:20 pm
by wlhowatt
How would I modify the following to make it work for the combined invoices?
"another complicated one which redesigns / repurposes the printer-friendly Invoices page into a page which can be used as a printout for sort / distribution time to see all items each user ordered, for that vendor (similar to Simple sorting sheet, only including all items, not just splits); NOTE: this will also remove the page-breaks (used by printers) after each member's invoice - if you don't want that, remove the entire line containing "hr.pagebreak" below:

body#invoice.normalPrintInvoices div#invoiceSummaryDiv,
body#invoice.normalPrintInvoices table.invoiceUserLineSummaryTable,
body#invoice.normalPrintInvoices table.invoiceUserTotalsAndCommentsTable,
body#invoice.normalPrintInvoices hr.pagebreak,
body#invoice.normalPrintInvoices table.invoiceUserTable th,
body#invoice.normalPrintInvoices table.invoiceUserTable td {
display: none;
}
body#invoice.normalPrintInvoices table.invoiceUserTable .QtyCol,
body#invoice.normalPrintInvoices table.invoiceUserTable .SplitUnitsCol,
body#invoice.normalPrintInvoices table.invoiceUserTable .ManufacturerCol,
body#invoice.normalPrintInvoices table.invoiceUserTable .DescriptionCol {
display: table-cell;
}

"

Re: CSS for Combined Invoices

PostPosted: Mon May 19, 2014 9:13 am
by support

Re: CSS for Combined Invoices

PostPosted: Mon May 19, 2014 1:37 pm
by wlhowatt
Super! Thank you. Any chance we will see a 'printer friendly - receipt mode' available for the combined invoices?

Re: CSS for Combined Invoices

PostPosted: Tue May 20, 2014 8:19 am
by support
Receipt mode for Combined invoices shouldn't be that hard. Will try to get it into the next release.