@extends('layouts.app') @php use Illuminate\Support\Facades\Auth; @endphp @section('content')

Gas Type Details

@if(session('success')) @endif
@if($gasType->image_path)
{{ $gasType->name }}
@else
@endif

{{ $gasType->name }}

@if($gasType->is_available) Available @else Unavailable @endif
Edit
@csrf @method('DELETE')

Price

${{ number_format($gasType->price, 2) }}

Weight

{{ $gasType->weight }} kg

Cylinder Size

{{ $gasType->cylinder_size ?: 'Not specified' }}

Stock Quantity

{{ $gasType->stock_quantity }}

@if(Auth::user()->role === 'super_admin')

Gas Company

{{ $gasType->gasCompany->name }}

@endif

Last Updated

{{ $gasType->updated_at->format('M d, Y H:i') }}

@if($gasType->description)

Description

{{ $gasType->description }}

@endif

Quick Actions

@endsection