@extends('backend.layouts.app') @section('title', __('View')) @php @endphp @section('content')

Billing

Trip : {{ $tripBatch->number }}

Release Trip
This action cannot be undone. Make sure you've completed update all parcel billing before you release the trip.
Only status {{\App\Services\Trip\TripHelperService::getStatuses(\App\Services\Trip\TripHelperService::STATUS_PICKUP_POINT_PROCESS) }} can be released.
Customer only can pickup parcel once you release the trip.

@foreach($tripBatch->trips as $trip) @endforeach
Destination Status Release Trip
{{ $trip->destination->code }} {!! $trip->status_badge !!} @if($trip->status == \App\Services\Trip\TripHelperService::STATUS_PICKUP_POINT_PROCESS) Release @endif @if($trip->status == \App\Services\Trip\TripHelperService::STATUS_ARRIVED) {{ __("Released") }} @endif
@livewire('backend.billing.billing-view', ['tripBatch' => $tripBatch])
@endsection