<div class="modal" id="modal-produk" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
   <div class="modal-dialog modal-lg">
      <div class="modal-content">
     
   <div class="modal-header bg-olive">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
      <h4 class="modal-title">Cari Product</h4>
   </div>
            
<div class="modal-body">
   <table class="table table-striped table-bordered table condensed tabel-produk" id="tabel-produk">
      <thead>
         <tr class="info">
			<th>NO.</th>
			<th>Deskripsi</th>
			<th>No.Seri</th>
			<th>Hg.Retail</th>
			<th>Stock</th>
            <th>opsi</th>
         </tr>
      </thead>
      <tbody>
         @foreach($dtstock as $data)
         <tr>
			<td>{{ $no++ }}</td>
			<td>{{ $data->nama_brg }}</td>
			<td>{{ $data->no_seri }}</td>
			<td>{{ format_uang($data->harga_retail) }}</td>
			<th>{{ format_uang($data->stock_akhir) }}</td>
            <td><a onclick="selectItem({{ $data->id_stock }})" class="btn btn-primary btn-xs"><i class="fa fa-check-circle"></i> Pilih</a></td>
          </tr>
         @endforeach
      </tbody>
   </table>

</div>
      
         </div>
      </div>
   </div>
