@extends('layouts.rider') @section('content') @if(Auth::user()->role_as == 11)
@else
@if(session('error')) @endif

AVAILABLE FOR DELIVERY

@if($activeAddress = Auth::user()->addresses()->where('is_active', 1)->first())
{{ $activeAddress->municipal }} PARCELS PICK-UP LOCATIONS
@endif
@csrf
@csrf @foreach ($matchingAddressOrders as $order) @if ($order->status === 3) @endif @endforeach
Check All
Tracking Number
Shop Name
To Customer Barangay
Seller To Pickup Barangay
Municipal
Date
{{ $order->tracking_no }}
@php $product = $order->orderItems->first()->product; $shopName = $product->user->shop->shop_name ?? 'N/A'; @endphp {{ $shopName }}
@php $address = $order->address; @endphp @if($address) {{ $address->barangay }} @else Location not found @endif
@php $product = $order->orderItems->first()->product; $shopBarangay = $product->user->shop->barangay ?? 'N/A'; @endphp {{ $shopBarangay }}
@php $product = $order->orderItems->first()->product; $shopMunicipal = $product->user->shop->municipal ?? 'N/A'; @endphp
{{ $shopMunicipal }}
{{ $order->created_at->format('d M h:i A') }}
@endif @endsection