Function prints the final cost table (data.frame) and a cumulative cost including all discounts.
1 | printReceipt(costTab, decimal = TRUE)
|
costTab |
a data.frame with a list of purchased items. Requires a column called 'Cost' |
decimal |
if TRUE then function will format cost value to have 2 decimal places. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.