@extends('admin.layouts.app') @section('title', 'Send to '.$courier::label()) @section('crumbs') Orders Send to {{ $courier::label() }} @endsection @section('content') @php $location = $courier::location(); $ready = $orders->filter(fn ($o) => ! $o->consignment_id && ! in_array($o->status, ['cancelled', 'delivered'], true)); $codTotal = $ready->sum(fn ($o) => $o->payment_status === 'paid' ? 0 : (float) $o->total); @endphp
@endsection @push('scripts') @endpush