@extends('layouts.dashboard') @section('content')
@csrf
@csrf
Reset
{{--
--}}
{{-- --}} @foreach ($order_status as $sl=>$order) @if ($order->courier_id != null) @else @endif {{-- --}} @endforeach
SL. Invoice ID Customer Info Products Total Courier Date Status Note Actions
{{ $sl+1 }} {{ $order->order_id }} {{ $order->rel_to_billing ? $order->rel_to_billing->customer_name : 'No Billing Details' }}
{{ $order->rel_to_billing ? $order->rel_to_billing->customer_phone : 'No Billing Details' }}
{{ $order->rel_to_billing ? $order->rel_to_billing->customer_address : 'No Billing Details' }}
@foreach ($order->rel_to_orderpro as $OrderProduct) @if ($OrderProduct->rel_to_product != null) {{ $OrderProduct->quantity }} x {{ $OrderProduct->rel_to_product->product_name }}
@else {{ $OrderProduct->quantity }} x {{ $OrderProduct->product_id }}
@endif @endforeach
৳ {{ $order->total }}{{ $order->rel_to_courier->name }}Null{{$order->order_date}} @if ($order->color != null) Color: {{ $order->color }}
@endif @if ($order->size != null) Size: {{ $order->size }}
@endif {{ $order->order_note }}
Mr. Employee {{-- --}}
@endsection