Files
sx-fc/app/views/settings/shops/index.html.erb
2020-09-09 17:19:07 +06:30

69 lines
2.7 KiB
Plaintext
Executable File

<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= root_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.shop") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), root_path %>
</span>
</ol>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<!-- <div class="m-b-10 clearfix">
<%= link_to t("views.btn.new"),new_settings_shop_path,:class => 'btn btn-primary btn-lg float-right waves-effect"' %>
</div> -->
<div class="card">
<table class="table table-striped">
<thead>
<tr>
<th>Shop Name</th>
<th>Phone No</th>
<th>Reservation No</th>
<th>Rouding Adj</th>
<th>View Sale Summary</th>
<th>Calculate Tax</th>
<th>Show Account Info</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% @settings_shops.each do |shop| %>
<tr>
<td><%= shop.name %></td>
<td><%= shop.phone_no %></td>
<td><%= shop.reservation_no %></td>
<td><%= shop.is_rounding_adj %></td>
<td><%= shop.quick_sale_summary %></td>
<td><%= shop.calc_tax_order %></td>
<td><%= shop.show_account_info %></td>
<td>
<%= link_to t("views.btn.show"), settings_shop_path(shop),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.edit"), edit_settings_shop_path(shop),:class => 'btn btn-primary btn-sm waves-effect' %>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
<div class="card">
<div class="body">
<h5><i class="material-icons md-18">list <%= t("views.right_panel.header.button_lists") %></i> </h5>
<p>
1) <%= t("views.right_panel.button.show") %> - <%= t("views.right_panel.detail.show_btn_txt") %> <%= t("views.right_panel.detail.shop_txt") %> <br>
2) <%= t("views.right_panel.button.edit") %> - <%= t("views.right_panel.detail.edit_btn_txt") %> <%= t("views.right_panel.detail.shop_txt") %> <br>
</p>
<h5><i class="material-icons md-18">list <%= t("views.right_panel.header.link_lists") %></i> </h5>
<p>
1) <%= t("views.right_panel.button.home") %> - <%= t("views.right_panel.detail.home_txt") %> <br>
2) <%= t("views.right_panel.button.back") %> - <%= t("views.right_panel.detail.back_txt") %> <%= t("views.right_panel.detail.dashboard_txt") %> <br>
</p>
</div>
</div>
</div>
</div>