Details
Description
The functionality desired in user terms is;
The feature would have a document print prompt appear when invoicing an item that has a linked document.
Examples where this might be useful is the generation of patient information that you need prior to the checkout process. Another scenario might be if you have documents that are always printed, printing them during billing will make the receptionists/cashiers checkout process that tiny bit faster.
More specifically;
a) A document template has an option to "Print immediately when billed". When ticked the behavior is;
If the template is linked to a Product, when that product is committed to an invoice (either when the Invoice is finished ie. User clicks "OK" OR as the item is added to the Invoice) the document is printed.
If the template is set to Interactive, a print dialog will appear. If not, the document prints as soon as the item is added according to defaults.
b) A document template has an option for what the default value for the "Print" tick box is in the Checkout print dialog.
Questions or time estimate for this one?