update stock taking form

This commit is contained in:
Aung Myo
2018-09-26 16:38:49 +06:30
parent 0158f007fa
commit b66bee810a
9 changed files with 488 additions and 150 deletions

View File

@@ -73,7 +73,11 @@
</div>
</div>
</div>
<input type="hidden" name="server_mode" value="<%=ENV["SERVER_MODE"]%>" id="server_mode">
<div class="col-lg-1 col-md-1 col-sm-1" >
<button type="button" class="btn btn-lg btn-block btn-default waves-effect m-t-5" id='back'>
<i class="material-icons">reply</i>Back
</button>
</div>
</div>
<div class="item-modal modal sx_item_detailModal" id="sx_item_detailModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
@@ -576,5 +580,9 @@
});
});
$('#back').on('click', function () {
window.location.href = '/inventory';
});
});
</script>

View File

@@ -1,4 +1,4 @@
<div class="page-header">
<!-- <div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= inventory_path %>"><%= t :inventory %></a></li>
@@ -7,6 +7,6 @@
<%= link_to t('.back', :default => t("views.btn.back")), inventory_path %>
</span>
</ol>
</div>
</div> -->
<br>
<%= render 'form', inventory: @inventory_definition %>