@extends('layouts.layoutMaster') @section('title', 'Truck Detail') @php $breadcrumbs = [ ['url' => route('dashboard'), 'label' => 'Dashboard'], ['url' => route('truck.index'), 'label' => 'Truck'], ['url' => route('truck.show', ['truck' => $model->id]), 'label' => $model->license_plate], ]; @endphp @section('content')
Truck Details
@can('truck.update') Edit @endcan
Basic Information
Truck Type {{ $model->type->name ?? '-' }}
Truck Code {{ $model->code ?: '-' }}
Brand {{ $model->brand ?: '-' }}
Body Number {{ $model->body_no ?: '-' }}
Machine Number {{ $model->machine_no ?: '-' }}
Vehicle Year {{ $model->vehicle_year ?: '-' }}
License Plate {{ $model->license_plate }}
STNK Owner {{ $model->stnk_owner ?: '-' }}
KIR Name {{ $model->kir_name ?: '-' }}
Notes {{ $model->note ?: '-' }}
Document Dates
Tax Date {{ $model->tax_date?->format('d/m/Y') ?? '-' }}
KIR Date {{ $model->kir_date?->format('d/m/Y') ?? '-' }}
STNK Date {{ $model->stnk_date?->format('d/m/Y') ?? '-' }}
Credit & GPS Information
Credit Start Date {{ $model->credit_start_date?->format('d/m/Y') ?? '-' }}
Credit End Date {{ $model->credit_end_date?->format('d/m/Y') ?? '-' }}
CCTV/GPS Number {{ $model->cctv_gps_no ?: '-' }}
GPS Contact {{ $model->gps_contact ?: '-' }}
Document Files
KIR File @if ($model->kir_file) View File @else - @endif
BPKB File @if ($model->bpkb_file) View File @else - @endif
STNK File @if ($model->stnk_file) View File @else - @endif
Created: {{ $model->created_at?->format('d/m/Y H:i') ?? '-' }} @if ($model->createdBy) by {{ $model->createdBy->name }} @endif
Last Updated: {{ $model->updated_at?->format('d/m/Y H:i') ?? '-' }} @if ($model->updatedBy) by {{ $model->updatedBy->name }} @endif
@endsection