{~@type=array(@receipt_sales=>'Продажа', @receipt_return=>'Возврат', @receipt_correct_sales=>'Коррекция/Продажа', @receipt_correct_return=>'Коррекция/Возврат', @receipt_cashin=>'Внесение', @receipt_cashout=>'Изъятие', @receipt_cashin=>'Внесение', @receipt_cashout=>'Изъятие', @receipt_change_open=>'Открытие смены', @receipt_change_close=>'Закрытие смены', @receipt_chpok=>'Вскрытие тары', @receipt_keg_connection=>'Подключение кега')~}
Чек Номенклатура

№ {{@receipt.id}} Смена {{@receipt.changes}}

{{date('d.m.Y H:i:s', @receipt.time)}}

{{@type[@receipt.type]}}

Зал: {{@receipt.room_title}}
Стол: {{@receipt.table_title}}

{{@receipt.short_name}}

{{@receipt.description}}

{~@price=@line.price+(@line.price*(@line.vat/100))*max(0, @line.vat_type)~} {~@price=round(@price, 2)~} {~@d_sum=round(@price*(@line.discount/100), 2)~} {~@price-=@d_sum~}

{{@line.product_title}} {{numberformat(@line.count, 3, '.', '')}}X{{number_format(@price, 2, '.', '')}}≡{{number_format(@price*@line.count, 2, '.', '')}}

{{number_format(abs(@receipt.sum), 2, '.', '')}}