change checkin time checked
This commit is contained in:
@@ -86,12 +86,8 @@ class Origami::HomeController < BaseOrigamiController
|
|||||||
end
|
end
|
||||||
|
|
||||||
#for bank integration
|
#for bank integration
|
||||||
bank_integration = Lookup.collection_of('bank_integration')
|
@checkout_time = Lookup.collection_of('checkout_time')
|
||||||
@bank_integration = 0
|
@checkout_alert_time = Lookup.collection_of('checkout_alert_time')
|
||||||
if !bank_integration[0].nil?
|
|
||||||
@bank_integration = bank_integration[0][1]
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
@@ -431,7 +431,7 @@
|
|||||||
|
|
||||||
<!-- <button type="button" id="re-print" class="btn btn-block bg-blue waves-effect" >Re.Print</button> -->
|
<!-- <button type="button" id="re-print" class="btn btn-block bg-blue waves-effect" >Re.Print</button> -->
|
||||||
<% else %>
|
<% else %>
|
||||||
<% if @bank_integration == '1' %>
|
<% if !@checkout_time.empty? && !@checkout_alert_time.empty? %>
|
||||||
<button type="button" id="check_in" class="btn btn-block bg-blue waves-effect"><%= t("views.btn.check_in") %></button>
|
<button type="button" id="check_in" class="btn btn-block bg-blue waves-effect"><%= t("views.btn.check_in") %></button>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user