update receipt no twice and sale order double and report changes
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
<% end %>
|
||||
<% if @shift_from %>
|
||||
<tr>
|
||||
<% if @shift.cashier_id %>
|
||||
<% cashier_name = !@shift.nil? ? @shift.employee.name : '-' %>
|
||||
<% if @shift %>
|
||||
<% cashier_name = !@shift.nil? ? @shift[0].employee.name : '-' %>
|
||||
<% end %>
|
||||
<th colspan="3">Shift Name = <%= @shift_from rescue '-'%> - <%= @shift_to rescue '-'%> ( <%= cashier_name rescue '-'%> )</th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user