update commissioner

This commit is contained in:
Zin Lin Phyo
2017-08-23 11:36:36 +06:30
parent 3132bc7c34
commit d6b8e8bdee
7 changed files with 113 additions and 179 deletions

View File

@@ -20,8 +20,6 @@
//= require settings/processing_items
//= require jquery-ui
//= require bootstrap-datepicker
//= require select2
//= require select2-full
$(document).on('turbolinks:load', function() {
$('.datepicker').datepicker({

View File

@@ -4,8 +4,6 @@
@import "theme";
@import "jquery-ui";
@import "bootstrap-datepicker3";
@import "select2";
@import "select2-bootstrap";
/* Show it is fixed to the top */
// body {

View File

@@ -28,7 +28,7 @@
<td>
<%= commissioner.employee.name rescue '-' %>
</td>
<td><%= commissioner.commission.product.name rescue '-' %></td>
<td><%= commissioner.commission.menu_item.name rescue '-' %></td>
<td><%= commissioner.is_active %></td>
<td><%= link_to 'Show', origami_commissioner_path(commissioner) %></td>
<td><%= link_to 'Edit', edit_origami_commissioner_path(commissioner) %></td>