Sales Summary Quick View

Cashier Cashier Terminal Opening Date Opening float Received Amount Cast In Cast Out Total Receipt Dining Count Takeaway Count Total Void
<%= @shift.employee.name%> <%=@shift.cashier_terminal.name%> <%= @shift.shift_started_at.utc.getlocal.strftime('%d-%m-%Y %I:%M %p') %> <%=@shift.opening_balance %> <%=@shift.closing_balance %> <%=@shift.cash_in %> <%=@shift.cash_out %> <%= @shift.total_receipt %> <%= @shift.dining_count %> <%= @shift.takeaway_count %> (<%= @shift.total_void.round(2) %>)
<% @total_amount_by_account.each do |amount| %> <%end%> <% @total_discount_by_account.each do |amount| %> <%end%> <% @sale_taxes.each do |tax| %> <%end%>
Total <%= amount.account_name %> Amount <%= amount.total_price.round(2) %>
Net Sales <%=@shift.nett_sales %>
Total <%= amount.account_name %> Discount <%= amount.total_price.round(2) %>
Overall Discount Amount <%= @shift.total_discounts %>
<%= tax.tax_name %> <%= tax.st_amount.round(2) %>
Total Tax <%=@shift.total_taxes %>
Rounding Adj <%= @shift.total_rounding.round(2) %>
Grand Total <%= @shift.grand_total.round(2) %>
<% @total_amount = 0 @other_payment.each do |other| %> <% @total_amount = @total_amount+other.mpu_amount %> <% @total_amount = @total_amount+other.visa_amount %> <% @total_amount = @total_amount+other.master_amount %> <% @total_amount = @total_amount+other.jcb_amount %> <% @total_amount = @total_amount+other.paypar_amount %> <%end%>
Cash Payment <%=@shift.cash_sales %>
Credit Payment <%=@shift.credit_sales %>
Other Payment Detail
MPU Payment <%=other.mpu_amount.round(2) %>
VISA Payment <%=other.visa_amount.round(2) %>
JCB Payment <%=other.master_amount.round(2) %>
Master Payment <%=other.jcb_amount.round(2) %>
Reedem Payment <%=other.paypar_amount.round(2) %>
Total Other Payment <%=@shift.other_sales %>
Total Payment <%= @total_amount+@shift.cash_sales+@shift.credit_sales %>