@extends('layouts.app') @section('title', $service->title) @section('page-title', 'Service Details') @section('breadcrumbs') @endsection @section('content')

{{ $service->title }}

{{ ucfirst($service->status) }}
Customer
{{ $service->customer->name }}
Category
{{ $service->category->name ?? '-' }}
Price
${{ number_format($service->price, 2) }} ({{ ucfirst(str_replace('_', ' ', $service->billing_cycle)) }})
Period
{{ optional($service->start_date)->format('Y-m-d') ?? '-' }} → {{ optional($service->end_date)->format('Y-m-d') ?? '-' }}
Description
{{ $service->description ?: '-' }}
@if (auth()->user()->hasRole('Admin', 'Accountant')) Edit @endif Back
@endsection