| <%= @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| %>
|
Total <%= amount.account_name %> Amount |
<%= amount.total_price.round(2) %> |
<%end%>
|
Net Sales |
<%=@shift.nett_sales %> |
<% @total_discount_by_account.each do |amount| %>
|
Total <%= amount.account_name %> Discount |
<%= amount.total_price.round(2) %> |
<%end%>
|
Overall Discount Amount |
<%= @shift.total_discounts %> |
<% @sale_taxes.each do |tax| %>
|
<%= tax.tax_name %> |
<%= tax.st_amount.round(2) %> |
<%end%>
|
Total Tax |
<%=@shift.total_taxes %> |
|
Rounding Adj |
<%= @shift.total_rounding.round(2) %> |
|
Grand Total |
<%= @shift.grand_total.round(2) %> |
|
|
Cash Payment |
<%=@shift.cash_sales %> |
|
Credit Payment |
<%=@shift.credit_sales %> |
<% @total_amount = 0
@other_payment.each do |other| %>
|
Other Payment Detail |
|
|
MPU Payment |
<%=other.mpu_amount.round(2) %> |
<% @total_amount = @total_amount+other.mpu_amount %>
|
VISA Payment |
<%=other.visa_amount.round(2) %> |
<% @total_amount = @total_amount+other.visa_amount %>
|
JCB Payment |
<%=other.master_amount.round(2) %> |
<% @total_amount = @total_amount+other.master_amount %>
|
Master Payment |
<%=other.jcb_amount.round(2) %> |
<% @total_amount = @total_amount+other.jcb_amount %>
|
Reedem Payment |
<%=other.paypar_amount.round(2) %> |
<% @total_amount = @total_amount+other.paypar_amount %>
<%end%>
|
Total Other Payment |
<%=@shift.other_sales %> |
|
Total Payment |
<%= @total_amount+@shift.cash_sales+@shift.credit_sales %> |
|