Prior to this version, finalization occurred in either /shop/admin/customer_invoice.php
or /shop/func/gen_invoice.php, depending upon whence it was called.
All finalizing now occurs in /shop/func/gen_invoice.php, consolidating
the function in one place and allowing for simplification to /shop/admin/customer_invoice.php.
Bugfix that was causing some incorrect data to be displayed on producer listing pages ("Producers with Customers this Cycle" and "Past Producer Invoices"). Inclusion of producer email link and producer county on those pages. Minor changes to the content display.
Minor improvement to legend for the pending members page to show colors along with text.
In addition to including the pagination configuraiton options, properly configured invoice templates (ones that output "EMPTY INVOICE" for no-item invoices) will not be included in the print output.
The producer "Add/Edit Product Screen" now includes wholesale pricing display.
The order summary now incorporates the pluralizer function and also includes OUTed orders, retail pricing display (only one pricing type is possible), as well as some minor re-arrangement of layout.
Delivery location descriptions – from the deldesc field – will now
recognize the newlines that are stored in the database so there is no need to add manual html
<br> elements to break description lines. Some of the code was also reformatted to the
current standard.
When opening an order, the customer will now be defaulted to the location/configuration of their most recent order.
/shop/func/producer_labels.php and
/shop/func/producer_labelsc.php to assign previously missing $show_mem2 variable./shop/members/orders_prdcr_cust_storage.php to match current formatting style./shop/members/generate_invoices.php./shop/grfx/black_pixel.php which is used for one of the sample invoices./shop/admin/delivery_list_all.php.A few changes were made to the configuration file:
The function for generating customer invoices has been completely reworked and associated with a configurable template so the print layout can be altered without changing the code. The calculation was simplified, some bugs were fixed, and external dependencies were reduced. Two sample inovice templates are included in this distribution. Display of invoices has some HTML errors corrected.
Addition of "Wholesale Products" link on the main /shop/index.php
page which calls /shop/func/display_productinfo_wholesale.php.
The /shop/members/index.php page now includes an institutional (wholesale)
member section with link to the wholesale product listing that is displayed only when an
institutional member is logged in.