<?php
$html_string='';

$html_string.='<div class="text-right">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
    <span aria-hidden="true">&times;</span>
  </button>
  </div>
  <div class="text-center"><img src="{{ asset("frontend/images/logo.png") }}" alt=""></div>
<div class="modal-header">
  <h5 class="modal-title col-md-6 col-12" id="exampleModalLongTitle"><strong>Order View Detail</strong></h5>
    <h5 class="modal-title col-md-6 col-12 text-right" id="exampleModalLongTitle1"><strong>Order Time : <span class="span-order-time">'.$order_time.'</span></strong></h5>
  
</div>
<div class="modal-body">
  <div>
    
    <table class="table">
<thead>
<tr>
<th scope="col" style="width: 75%;">Item</th>
<th scope="col">Qty</th>
<th scope="col">Amount</th>
</tr>
</thead>
<tbody>';

    foreach($order_items as $item) {

        $html_string.='<tr>
        <td>'.$item['item_name'].'</td>
        <td>'.$item['item_quantity'].'</td>
        <td>$'.$item['total_item_price'].'</td>
        </tr>';

    }

$html_string.='</tbody>
</table>
      <div class="row total">
      <div class="col-md-6 col-12">Total</div>
      <div class="col-md-6 col-12 text-right">$'.$total_amount.'</div>
      </div>
      <h4 class="mt-4">Delay Order Time Set:</h4>
      <div class="row">
          <div class="col-md-1"></div>
  <div class="col-md-2"><img src="'.url("frontend/images/front-end-img/delay-time.jpg").'" alt=""></div>
<div class="col-md-2 hide"><select class="form-control">
  <option>1</option>
  <option>2</option>
  <option>3</option>
  <option>4</option>
  <option>5</option>
  <option>6</option>
  <option>7</option>
  <option>8</option>
  <option>9</option>
  <option>10</option><option>11</option><option>12</option>
  
  </select></div>
  <div class="col-md-3"><select class="form-control dd-order-delay-minutes">
  <option>10</option>
  <option>15</option>
  <option>20</option>
  <option>25</option>
  <option>30</option>
  <option>35</option>
  <option>40</option>
  <option>45</option>
  <option>50</option>
  <option>55</option>
  </select>Minutes</div>
  <div class="col-md-2">
          <select class="form-control hide">
  <option>AM</option>
  <option>PM</option>		
  </select></div>
          <div class="col-md-2"><button type="button" class="btn btn-sm btn-success-light btn-order-update" data-purpose="delay" data-order-id="'.$order_id.'">Submit</button></div>
  <div class="col-md-1"></div>
<div></div></div>

  </div>
</div>';

echo $html_string;

?><?php /**PATH C:\xampp1\htdocs\globalAdmin\resources\views/order/items.blade.php ENDPATH**/ ?>