@if(!empty($courier) ) {{-- --}} @if(!empty($shipmentall) && $shipmentall->shipment_status != 'pickup_created' ) @endif {{-- --}}
{{ __('Courier Name') }}{{ __('common.delivery_date') }}{{ __('common.amount') }}{{ __('common.action') }}
{{ $courier->name ?? '' }} --}} {{-- @php $date = \Carbon\Carbon::createFromFormat('M d, Y', $courier->etd); $formattedDate = $date->format('d-m-Y'); @endphp {{ $formattedDate }}{{ '₹'. $courier->total_charges ?? '' }} @if(!empty($shipmentall) && $shipmentall->shipment_status != 'shipment_created' &&$shipmentall->status != 'Cancelled' ) @endif
@else @if(empty($shipment))
@csrf
@include('includes.invalid', ['field' => 'status'])
@else {{-- --}} @endif @endif {{-- pickup request --}} @if (isset($shipment) && $shipment->shipment_status != 'shipment_selected' )
{{-- --}}
{{ __('common.order_id') }} {{ __('Awb id') }} {{ __('common.status') }} {{ __('common.ship_status') }}{{ __('common.delivery_date') }}{{ __('common.amount') }} {{ __('common.action') }}
{{ $shipment?->order_id ?? 'No Data' }} {{ $shipment?->tracking_number ?? 'No Data' }} {{ $shipment?->status ?? 'No Data' }} {{ $shipment?->shipment_status ?? 'No Data' }} {{'₹'. $shipment->amount ?? '' }} @if(!empty($shipmentall) && $shipmentall?->shipment_status == 'courier_created' && $shipmentall?->shipment_status != 'shipment_selected') @elseif(!empty($shipmentall) && $shipmentall->shipment_status == 'order_created') @elseif(!empty($shipmentall) && $shipmentall->shipment_status == 'shipment_created' ) @if($shipmentall->status == 'Cancelled') @else @endif @elseif($shipmentall->shipment_status == 'shipment_created' && $shipmentall->status != 'Cancelled') @elseif($shipmentall->status == 'Cancelled') {{-- --}} @endif
@endif @if (isset($pickups))
{{ __('Pickup Code') }} {{ __('Tracking Id') }} {{ __('common.status') }} {{ __('common.pickup_date') }} {{ __('Courier Code') }}
{{ $pickups->pickup_code ?? 'No Data' }} {{ $pickups->tracking_id ?? 'No Data' }} {{ $pickups->status ?? 'No Data' }} {{ $pickups->pickup_date ?? 'No Data' }} {{ $pickups->carrierCode ?? 'No Data' }}
@endif