@extends('layouts.app') @section('title', 'Inwards') @section('content')

All Inwards

@include('common.alerts')
@forelse ($in_data as $data) @empty @endforelse
# Inward No Center Type Vehicle Driver Helper Created by Status Actions
{{ ($in_data->currentPage() - 1) * $in_data->perPage() + $loop->iteration }} {{ $data->inward_no }} {{ $data->center->center_name ?? 'N/A' }} {{ $data->type}} @if($data->vehicle) {{ $data->vehicle->vehicle_no }} @if($data->vehicle->vehicle_type) / {{ $data->vehicle->vehicle_type }} @endif @else N/A @endif {{ $data->driver->name ?? 'N/A' }} {{ $data->helper->name ?? 'N/A' }} {{ $data->createdBy->name ?? 'N/A' }} @if (strtolower($data->status) == 'ongoing') Ongoing @elseif (strtolower($data->status) == 'completed') Completed @else {{ $data->status }} @endif

Edit {{-- @include('outward.components.edit_outward_type2', ['outward' => $data]) --}}
No inwards found.
{{ $in_data->onEachSide(1)->links('pagination::bootstrap-5') }}
@endsection @section('styles') @endsection