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%> <% if !@total_member_discount[0].member_discount.nil? @member_discount = @total_member_discount[0].member_discount rescue 0.0 @overall = @shift.total_discounts - @member_discount %> <%else @overall = @shift.total_discounts %> <%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) %>
Total Member Discount <%= @member_discount %>
Total Overall Discount <%= @overall %>
Total Discount <%= @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 rescue 0.0 %> <% @total_amount = @total_amount+other.visa_amount rescue 0.0 %> <% @total_amount = @total_amount+other.jcb_amount rescue 0.0 %> <% @total_amount = @total_amount+other.master_amount rescue 0.0 %> <% @total_amount = @total_amount+other.paypar_amount rescue 0.0 %> <% @total_amount = @total_amount+other.foc_amount rescue 0.0 %> <%end%>
Cash Payment <%=@shift.cash_sales %>
Credit Payment <%=@shift.credit_sales %>
Other Payment Detail
MPU Payment <%=other.mpu_amount.round(2) rescue 0.0 %>
VISA Payment <%=other.visa_amount.round(2) rescue 0.0 %>
Master Payment <%=other.master_amount.round(2) rescue 0.0 %>
JCB Payment <%=other.jcb_amount.round(2) rescue 0.0 %>
Reedem Payment <%=other.paypar_amount.round(2) rescue 0.0 %>
FOC <%=other.foc_amount.round(2) rescue 0.0 %>
Total Other Payment <%=@shift.other_sales %>
Total Payment <%= @total_amount+@shift.cash_sales+@shift.credit_sales %>