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 %>)
<% @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 %>
Net Sales <%=@shift.nett_sales %>
Total <%= amount.account_name %> Discount <%= amount.total_price %>
Total Member Discount <%= @member_discount %>
Total Overall Discount <%= @overall %>
Total Discount <%= @shift.total_discounts %>
<%= tax.tax_name %> <%= tax.st_amount %>
Total Tax <%=@shift.total_taxes %>
Rounding Adj <%= @shift.total_rounding %>
Grand Total <%= @shift.grand_total %>
<% total_other_amount = 0 %> <% @payment_methods.each do |method| %> <% total_other_amount = total_other_amount + (@other_payment[method.parameterize.to_sym] || 0.0) %> <% end %>
Cash Payment <%= @shift.cash_sales %>
Credit Payment <%= @shift.credit_sales %>
Other Payment Detail
<%= method.parameterize == 'paymal' ? 'Card' : method.parameterize %> Payment <%= @other_payment[method.parameterize.to_sym] || 0.0 %>
FOC <%= @other_payment.foc_amount rescue 0.0 %>
Total Other Payment <%= total_other_amount %>
Total Payment <%= total_other_amount + @other_payment.foc_amount.to_d + @shift.cash_sales.to_d + @shift.credit_sales.to_d %>