46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
<div class="row ">
|
|
<nav class="breadcrumb">
|
|
<a class="breadcrumb-item active" href="<%= dashboard_path %>">Home</a>
|
|
<a class="breadcrumb-item active" href="#">Batch Line Item List</a>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<div class="row content">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<strong>Batch Line Item List</strong>
|
|
</div>
|
|
<div class="card-block">
|
|
<table class="table" style="border-top:none">
|
|
<thead>
|
|
<tr>
|
|
<th>Serail No</th>
|
|
<th>Wristband Code</th>
|
|
<th>Manufacture UID</th>
|
|
<th>Batch No</th>
|
|
<th>Card Type</th>
|
|
<th>Created At </th>
|
|
<th>Update At </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @batchLineItems.each do |item| %>
|
|
<tr>
|
|
<td><%= item.serial_no rescue '' %></td>
|
|
<td><%= item.wristband_code rescue '' %></td>
|
|
<td><%= item.manufacture_uid rescue '' %></td>
|
|
<td><%= item.batch_name rescue '' %></td>
|
|
<td><%= item.card_type rescue '' %></td>
|
|
<td><%= item.created_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
|
|
<td><%= item.updated_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<%=paginate @batchLineItems %>
|
|
</div>
|
|
</div>
|
|
</div>
|