= lang('Customers.customer') . esc(": $customer") ?>
= lang('Sales.id') . esc(": $sale_id") ?>
= lang('Sales.invoice_number') . esc(": $invoice_number") ?>
= lang('Employees.employee') . esc(": $employee") ?>
| = lang('Sales.description_abbrv') ?> |
= lang('Sales.price') ?> |
= lang('Sales.quantity') ?> |
= lang('Sales.total') ?> |
|
$item) {
if ($item['print_option'] == PRINT_YES) {
?>
| = esc(ucfirst($item['name'] . ' ' . $item['attribute_values'])) ?> |
= to_currency($item['price']) ?> |
= to_quantity_decimals($item['quantity']) ?> |
= to_currency($item[($config['receipt_show_total_discount'] ? 'total' : 'discounted_total')]) ?> |
= esc($item['taxed_flag']) ?> |
| = esc($item['description']) ?> |
= esc($item['serialnumber']) ?> |
0) { ?>
| = to_currency($item['discount']) . " " . lang('Sales.discount') ?> |
= to_decimals($item['discount']) . " " . lang('Sales.discount_included') ?> |
= to_currency($item['discounted_total']) ?> |
0) { ?>
| = lang('Sales.sub_total') ?> |
= to_currency($prediscount_subtotal) ?> |
| = lang('Sales.customer_discount') ?>: |
= to_currency($discount * -1) ?> |
| = lang('Sales.sub_total') ?> |
= to_currency($subtotal) ?> |
$tax) { ?>
| = (float)$tax['tax_rate'] . '% ' . esc($tax['tax_group']) ?>: |
= to_currency_tax($tax['sale_tax_amount']) ?> |
0)); ?>
| = lang('Sales.total') ?> |
= to_currency($total) ?> |
| |
$payment) {
$only_sale_check |= $payment['payment_type'] == lang('Sales.check');
$splitpayment = explode(':', $payment['payment_type']); // TODO: The variable splitpayment does not follow naming conventions for this project
$show_giftcard_remainder |= $splitpayment[0] == lang('Sales.giftcard');
?>
| = esc($splitpayment[0]) ?> |
= to_currency($payment['payment_amount'] * -1) ?> |
| |
| = lang('Sales.giftcard_balance') ?> |
= to_currency($cur_giftcard_value) ?> |
| = lang($amount_change >= 0 ? ($only_sale_check ? 'Sales.check_balance' : 'Sales.change_due') : 'Sales.amount_due') ?> |
= to_currency($amount_change) ?> |