add shop info in split bill
This commit is contained in:
@@ -206,4 +206,10 @@ class Origami::SplitBillController < BaseOrigamiController
|
||||
end
|
||||
end
|
||||
|
||||
#Shop Name in Navbor
|
||||
helper_method :shop_detail
|
||||
def shop_detail
|
||||
@shop = Shop.first
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -40,14 +40,16 @@
|
||||
<% end %>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<%if current_login_employee.role =="administrator" %>
|
||||
<li>
|
||||
<p class="waves-effect waves-block p-l-30 m-b-5">
|
||||
<a href="/settings/shops/1" style="text-decoration: none;">
|
||||
<a href="<%= settings_shops_path %>" style="text-decoration: none;">
|
||||
<i class="material-icons font-7 logout_icon shopinfo">info</i>
|
||||
<span class="font-15 shopinfo" >Shop Info</span>
|
||||
</a>
|
||||
</p>
|
||||
</li>
|
||||
<% end %>
|
||||
<li>
|
||||
<!-- <%if current_login_employee.role !="waiter" %> -->
|
||||
<!-- <%end%> -->
|
||||
|
||||
Reference in New Issue
Block a user