remove checkin if checkin not used

This commit is contained in:
phyusin
2018-02-01 16:25:11 +06:30
parent 383aeded60
commit 6c33040173
4 changed files with 19 additions and 2 deletions

View File

@@ -431,7 +431,9 @@
<!-- <button type="button" id="re-print" class="btn btn-block bg-blue waves-effect" >Re.Print</button> -->
<% else %>
<button type="button" id="check_in" class="btn btn-block bg-blue waves-effect"><%= t("views.btn.check_in") %></button>
<% if @bank_integration == '1' %>
<button type="button" id="check_in" class="btn btn-block bg-blue waves-effect"><%= t("views.btn.check_in") %></button>
<% end %>
<% end %>
<input type="hidden" id="server_mode" value="<%= ENV["SERVER_MODE"] %>">
<span class="hidden" id="member_discount"><%= @membership.discount%></span>