@php use Illuminate\Support\Str; @endphp @extends('layouts.app') @section('title', 'Approve Installation' . ' - ' . $installation->id) @section('main-content')

Approve Installation

@if (session('success'))
{{ session('success') }}
@endif @if ($installation) @if ($installation->status === 'completed')
This installation has already been completed.
@elseif ($installation->status === 'pending')
Installation ID: {{ $installation->id }}
Vehicle: {{ $installation->customervehicle->plate_number ?? 'N/A' }}
Cylinder Type: {{ $installation->cylinderType->name ?? 'N/A' }}
Status: {{ Str::title($installation->status) }}
Payment Type: {{ Str::title($installation->payment_type) }}
@csrf @method('POST')
@error('status') {{ $message }} @enderror
@endif @else

Installation not found.

@endif
@endsection