<%= simple_form_for(@survey, :url => origami_create_surveys_path) do |f| %> <%= f.error_notification %>
<%= f.input :child , input_html: { class: 'col-md-10' }%> <%= f.input :adult , input_html: { class: 'col-md-10' }%> <%= f.input :male , input_html: { class: 'col-md-10' }%> <%= f.input :female , input_html: { class: 'col-md-10' }%> <%= f.input :total_customer, input_html: { class: 'col-md-10'} %> <%= f.input :local , input_html: { class: 'col-md-10' }%>

<%= f.input :dining_name, :as => :hidden, :input_html => { :value => @dining_facility.name } %> <%= f.input :created_by, :as => :hidden, :input_html => { :value => current_login_employee.name } %> <%= f.input :receipt_no, :as => :hidden, :input_html => { :value => @receipt_no} %> <%= f.input :total_amount, :as => :hidden, :input_html => { :value => @grand_total } %>
<%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %>
<% end %>
1
2
3
4
5
6
7
8
9
0
.
00
DEL
CLR