@extends('seller.layouts.app') @section('panel_content')
# | {{ translate('Order Code')}} | {{ translate('Num. of Products')}} | {{ translate('Amount')}} | {{ translate('Profit')}} | {{ translate('Pick Up Status') }} | {{ translate('Delivery Status')}} | {{ translate('Payment Status')}} | {{ translate('Options')}} |
---|---|---|---|---|---|---|---|---|
{{ $key+1 }} | {{ $order->code }} | {{ count($order->orderDetails->where('seller_id', Auth::user()->id)) }} | {{ single_price($order->grand_total) }} | @if ($order->product_storehouse_total > 0) {{ single_price($order->grand_total - $order->product_storehouse_total) }} @else {{ translate('None') }} @endif | @if ($order->product_storehouse_status) {{translate('Picked Up')}} @else @if ($order->product_storehouse_total) {{translate('Unpicked Up')}} @endif @endif | @php $status = $order->delivery_status; @endphp {{ translate(ucfirst(str_replace('_', ' ', $status))) }} | @if ($order->payment_status == 'paid') {{ translate('Paid')}} @else {{ translate('Unpaid')}} @endif |