@extends('backend.layouts.app') @section('title', __('Dashboard')) @section('content')
Welcome {{ auth()->user()->name }}!

Office : {{ auth()->user()->office() }}
Position : {{ auth()->user()->can('staff.manager')? "Manager" : "Staff" }}

Active Trip
@foreach($trip_batches as $trip_batch)

Receiver Office : {{ __(":code - :name", ["code" => $trip_batch?->office?->code, "name" => $trip_batch?->office?->name]) }} |Code : {{ $trip_batch->number }}

Drop Point Office List :
@foreach($trip_batch->trips as $trip) {{ $trip->destination->name }} @endforeach

Total : {{ $trip_batch->parcels->count() }} Parcel(s)
{{ reformatDatetime($trip_batch->date, 'M d, Y h:i A') }}
@endforeach
@endsection @push('after-scripts') {{-- --}} @endpush