Shipper Advise Orders

Search
Showing: {{ $orders ? $orders->count() : 0 }}
@forelse($orders as $key => $order) @empty @endforelse
# Items #ID's Date Amount (PKR) Profit (PKR) Printed Status Shopify ID Tracking ID Tracking Info Last Order Request Message Action
{{ $key + 1 }}

{{ \App\Helpers\Helper::to_local_date($order->created_at, 'Y-m-d') }}

{{ \App\Helpers\Helper::to_local_date($order->created_at, 'H:i:s') }}

{{ $order->base_amount }} {{ $order->seller_profit_amount }} {{ \App\Models\Order::STATUS[\App\Models\Order::STATUS_SHIPPER_ADVISE] }} - {{ $order->shipping_ref }} @php $latestRequest = $order->orderRequests->first(); @endphp @if($latestRequest)
{{ \App\Models\OrderRequest::REQUESTED_TYPE[$latestRequest->requested_type] ?? 'Request' }} {{ \App\Models\OrderRequest::STATUS[$latestRequest->status] ?? 'Pending' }}
{{ \Illuminate\Support\Str::limit(strip_tags($latestRequest->last_message), 50) }}
{{ \Carbon\Carbon::parse($latestRequest->last_status_change_date)->format('M d, Y H:i') }}
@else No request yet @endif
Name Mobile Address
{{ $order->customer_name }} {{ $order->customer_phone }} {{ $order->customer_address }}
@foreach($order->items as $item) @php $productVariant = $item->productVariant; $product = $productVariant?->product; @endphp @if($productVariant && $product)
  • {{ $product->title }}
    {{ $product->title }}
    • {{ @$product->brand->title }} | {{ $productVariant->getAttributeSummary() }} | Qty: {{ $item->quantity }}

    • {{ $item->unit_amount }} PKR
    • @if(!empty($item->print_details))
    • Print Details
      @if(!empty($item->print_details['text']))
      Text: {{ Str::limit($item->print_details['text'], 80) }}
      @endif @if(!empty($item->print_details['instructions']))
      Notes: {{ Str::limit($item->print_details['instructions'], 120) }}
      @endif @if(!empty($item->print_details['file'])) @endif
    • @endif
@else
Product information not available for this item.
@endif @endforeach
No orders found.
@push('styles') @endpush @push('scripts') @endpush