Shop View
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
|
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
|
||||||
<%= current_login_employee.name %>
|
<div>Welcome <%= current_login_employee.name %> !</div><br>
|
||||||
<% if current_login_employee.role = "admin" %>
|
<% if current_login_employee.role = "admin" %>
|
||||||
<% elsif current_login_employee.role = "cashier" %>
|
<% elsif current_login_employee.role = "cashier" %>
|
||||||
<%= link_to "Cashier Station", origami_path %>
|
<%= link_to "Cashier Station", origami_path %>
|
||||||
@@ -13,7 +13,23 @@
|
|||||||
<%= link_to "Cashier Station", oishi_path %>
|
<%= link_to "Cashier Station", oishi_path %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% shop = Shop.first %>
|
||||||
|
|
||||||
|
<!-- -->
|
||||||
|
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
<div class="page-header" style="width:100%;text-align:center;background-color:#ddd;">
|
||||||
|
<h4 style="color : #ef404a;font-weight:bold;font-style:italic;"><%= shop.name %></h4>
|
||||||
|
</div>
|
||||||
|
<div class="card-block">
|
||||||
|
<%= shop.address %>
|
||||||
|
</div>
|
||||||
|
<div class="card-block">
|
||||||
|
<%= shop.phone_no %>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user