<div class="modal-dialog modal-sm" style="width: 40%;" role="document">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close no-print" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<h4 class="modal-title" id="modalTitle">Selected Items:</h4>
		</div>
		<div class="modal-body">
      <form id="form-selected-items">        
        <table  class="table table-bordered table-striped hide-footer" style="width: 100%">
          <thead>
            <tr>
              <th>Barcode</th>
              <th>Seller Sku</th>
              <th>Product Name</th>
              <th>Price</th>
              <th>Quantity</th>
            </tr>
          <thead>
          <tbody>
            @if(!empty($data))
            @foreach($data as $k => $d)
            <tr>
              <td>{{ $d['barcode'] }}</td>
              <td><input type="hidden" name="products[{{$k}}][sku]" value="{{ $d['seller_sku'] }}">{{ $d['seller_sku'] }}</td>
              <td>{{ $d['title'] }}</td>
              <td><input type="hidden" name="products[{{$k}}][old_price]" value="{{ $d['price'] }}"><input type="text" class="form-control" name="products[{{$k}}][price]" value="{{ $d['price'] }}"></td>
              <td><input type="hidden" name="products[{{$k}}][old_quantity]" value="{{ $d['qty'] }}"><input type="text" class="form-control" name="products[{{$k}}][quantity]" value="{{ $d['qty'] }}"></td>
            </tr>
            @endforeach
            @endif
          </tbody>
        </table>
      </form>
      <small style="color: red; font-weight: 700">*Notes: It may take up to 5 minutes to be effective</small>
		</div>
		<div class="modal-footer">
			<!-- <button type="button" class="btn btn-primary"
				onclick="printLabelMultiple(event)">
				<i class="fa fa-barcode"></i> @lang( 'barcode.print_labels' )
			</button> -->
			<button type="button" class="btn btn-primary"
				onclick="updateOnAllShopify(event)">
				<i class="fa fa-database"></i> @lang( 'business.update_all_on_amazon' )
			</button>
			<button type="button" class="btn btn-default" data-dismiss="modal">@lang( 'messages.close' )</button>
		</div>
	</div>
</div>