update seed generator and remove hard-coded customer id
This commit is contained in:
@@ -267,11 +267,11 @@
|
||||
</tr>
|
||||
</table>
|
||||
<% if type && modify_order%>
|
||||
<input type="hidden" name="customer_id" id="customer_id" value="CUS-000000000001">
|
||||
<input type="hidden" name="customer_id" id="customer_id" value="<%= walkin.customer_id %>">
|
||||
|
||||
<button type="button" class="btn btn-primary action-btn create col-md-11" id="create_pay_order" disabled="disabled" style="padding-top:15px !important;padding-bottom:15px !important;">Update Order & Pay</button>
|
||||
<%elsif !modify_order && type%>
|
||||
<input type="hidden" name="customer_id" id="customer_id" value="CUS-000000000001">
|
||||
<input type="hidden" name="customer_id" id="customer_id" value="<%= walkin.customer_id %>">
|
||||
<% if current_user.role != "waiter"%>
|
||||
|
||||
<% if @quick_service_only %>
|
||||
|
||||
Reference in New Issue
Block a user