@php
$data = json_decode($data);
$custom_kot_products = json_decode($custom_kot_products);
$print_title = "KOT";
if(count((array)$custom_kot_products) > 0){
$products = $custom_kot_products;
}else{
$products = $data->products;
}
@endphp
| Description |
Qty |
@foreach ($products as $order_products)
@php
$addon_spacing = '';
$addon_indicator = '';
if(isset($order_products->parent_order_product) && $order_products->parent_order_product == false){
$addon_spacing = ' pl-12';
$addon_indicator = '+ ';
}
@endphp
| {{ $addon_indicator }}{{ $order_products->product_code.'-'.$order_products->name }} |
{{ $order_products->quantity }} |
@endforeach