Files
sx-fc/app/views/settings/order_queue_stations/show.html.erb
2017-10-24 15:22:34 +06:30

93 lines
3.4 KiB
Plaintext
Executable File

<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_order_queue_stations_path %>">Order Queue Stations</a></li>
<li class="breadcrumb-item active">Detail</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_order_queue_stations_path %>
</span>
</ol>
</div>
<br>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card">
<div class="card-block">
<table class="table">
<tbody>
<tr>
<tr>
<th>Station name</th>
<td><%= @settings_order_queue_station.station_name %></td>
</tr>
<tr>
<th>Is active</th>
<td><%= @settings_order_queue_station.is_active %></td>
</tr>
<tr>
<th>Auto Print</th>
<td><%= @settings_order_queue_station.auto_print %></td>
</tr>
<tr>
<th>Processing items</th>
<td><%= JSON.parse(@settings_order_queue_station.processing_items).count %></td>
</tr>
<tr>
<th>Print copy</th>
<td><%= @settings_order_queue_station.print_copy %></td>
</tr>
<tr>
<th>Printer name</th>
<td><%= @settings_order_queue_station.printer_name %></td>
</tr>
<tr>
<th>Font size</th>
<td><%= @settings_order_queue_station.font_size %></td>
</tr>
<tr>
<th>Cut per item</th>
<td><%= @settings_order_queue_station.cut_per_item %></td>
</tr>
<tr>
<th>Use alternate name</th>
<td><%= @settings_order_queue_station.use_alternate_name %></td>
</tr>
<tr>
<th>Created by</th>
<td><%= @settings_order_queue_station.created_by %></td>
</tr>
<tr>
<th></th>
<td colspan="">
<%= link_to t("views.btn.edit"), edit_settings_order_queue_station_path(@settings_order_queue_station),:class => 'btn btn-info btn-sm waves-effect' %>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%=settings_order_queue_station_path(@settings_order_queue_station)%>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<div class="card">
<div class="body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
</div>
</div>
</div>
</div>