update admin bsb

This commit is contained in:
Aung Myo
2017-10-20 17:02:49 +06:30
parent 9dac7198e9
commit f0494307f6
20 changed files with 232 additions and 96 deletions

View File

@@ -19,7 +19,7 @@ div.form-inputs span{
<%= f.input :print_copy %>
<%= f.hidden_field :processing_items %>
<%= f.label "Select Zones", :class => 'control-label' %>
<%= f.collection_check_boxes :zone_ids , Zone.all, :id, :name , :class => 'ta'%>
<%= f.collection_check_boxes :zone_ids , Zone.all, :id, :name , :class => 'checkbox'%>
<%= f.input :cut_per_item %>
<%= f.input :use_alternate_name %>
<%= f.input :processing_items, as: :hidden %>

View File

@@ -29,7 +29,7 @@
<th>Alternate name</th>
<!-- <th>Created by</th> -->
<th> Created At</th>
<th>Updated At</th>
<!-- <th>Updated At</th> -->
<th>Action</th>
</tr>
</thead>
@@ -47,7 +47,7 @@
<td><%= settings_order_queue_station.use_alternate_name %></td>
<!-- <td><%= settings_order_queue_station.created_by %></td> -->
<td><%= settings_order_queue_station.created_at.strftime("%m-%d-%Y") %></td>
<td><%= settings_order_queue_station.updated_at.strftime("%m-%d-%Y") %></td>
<!-- <td><%= settings_order_queue_station.updated_at.strftime("%m-%d-%Y") %></td> -->
<td><%= link_to 'Assign Processing Items', new_settings_order_queue_station_processing_item_path(settings_order_queue_station),:class => ' btn-success btn-sm waves-effect' %><%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %></td>
</tr>
<% end %>