@extends('layouts.layoutMaster') @section('title', 'Price Detail') @php $breadcrumbs = [ ['url' => route('dashboard'), 'label' => 'Dashboard'], ['url' => route('price.index'), 'label' => 'Price'], ['url' => route('price.show', ['price' => $model->id]), 'label' => 'Price #' . $model->id], ]; @endphp @section('content')
Price Details
@can('price.update') Edit @endcan
Route {{ $model->route ? $model->route->origin->name . ' - ' . $model->route->destination->name : '-' }}
Loadout {{ $model->loadout->name ?? '-' }}
Customer {{ $model->customer->full_name ?? '-' }}
Price {{ \App\Helpers\Helpers::formatCurrency($model->price, 2) }}
Notes {{ $model->notes ?: '-' }}
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