N° orden: {{$order->id}}
Cliente: {{isset($order->customer->contact_name) ? $order->customer->contact_name : ''}}
{{--id_categoria | --}}
Categoría |
Orden |
Nombre de producto |
Cantidad |
Unidad de medida |
Precio unitario |
Total |
Peso exacto |
Precio total |
Imagen |
Acciones |
@foreach($order_details as $order_detail)
{{$order_detail->category_name .'-'.$order_detail->orders_id.'-'.$order_detail->category_id}} |
@if($order_detail->order_checks == 1)
@else
@endif |
{{$order_detail->product_name}} |
{{$order_detail->qty}} |
{{$order_detail->units_name}} |
${{number_format($order_detail->unit_price,2,'.','')}} |
${{number_format($order_detail->total,2,'.','')}} |
{{$order_detail->exact_weight}} |
${{number_format($order_detail->total_price,2,'.','')}} |
 |
|
@endforeach
Subtotal: ${{number_format($order->subtotal,2,'.','')}}
Costo de envío: ${{number_format($order->shipping_cost,2,'.','')}}
Total: ${{number_format($order->total,2,'.','')}}