<?php
$html_string='';

    foreach($orders as $order) {
    $html_string.='<tr>
<td scope="row">'.$order['order_id'].'</td>
<td>'.$order['name'].'</td>
<td>'.$order['phone'].'</td>
<td>'.$order['location_name'].'</td>
<td><span id="badge-order-status'.$order['order_id'].'" class="badge badge-success">'.ucfirst($order['order_status']).'</span></td>
<td>'.$order['app_order_created_time'].'</td>
<td>$'.$order['total_amount'].'</td>';
$html_string.='<td class="dt-control" data-order-id="'.$order['order_id'].'" data-name="'.$order['name'].'"  data-address="'.$order['address'].'" data-address2="'.$order['address2'].'"  data-city="'. $order['city'] .'" data-email="'.$order['email'].'" ';
    $html_string.='data-phone="'. $order['phone'] .'" data-postal-code="'.  $order['postal_code'] .'" ';
    $html_string.='data-created-at="'. $order['app_order_created_date'].'"  data-total-amount="'.$order['total_amount'].'"  data-order-message="'.$order['order_tracking_message'].'"  data-order-time="'.$order['app_order_created_time'].'"   data-order-status="'.$order['order_status'].'">';
$html_string.='</td></tr>';
    }

    echo $html_string;
?>

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