@extends('layouts.app') @section('content')

Services for {{ $customer->CustomerName }}

Back to Customer

Add New Service

@csrf
@forelse($customer->propServices as $service) @empty @endforelse
Service Name Price Start Date End Date Status Actions
{{ $service->ServiceName }}
@if($service->pivot->Notes)
{{ $service->pivot->Notes }}
@endif
Ksh {{ number_format($service->pivot->Price, 2) }}
{{ \Carbon\Carbon::parse($service->pivot->StartDate)->format('M d, Y') }}
{{ $service->pivot->EndDate ? \Carbon\Carbon::parse($service->pivot->EndDate)->format('M d, Y') : 'N/A' }}
{{ $service->pivot->IsActive ? 'Active' : 'Inactive' }}
@csrf @method('DELETE')
No services assigned to this customer yet.
@push('scripts') @endpush @endsection