Customer
{{ $customer->CustomerName }}
{{ $customer->AccountNo }}
Service
{{ $service->ServiceName }}
Current Price
{{ number_format($pivot->Price, 2) }} {{ config('app.currency', 'Ksh.') }}
Status
@if($pivot->IsActive)
Active
@else
Inactive
@endif
@if($pivot->StartDate)
Service Period
{{ is_string($pivot->StartDate) ? \Carbon\Carbon::parse($pivot->StartDate)->format('M d, Y') : $pivot->StartDate->format('M d, Y') }}
@if($pivot->EndDate)
- {{ is_string($pivot->EndDate) ? \Carbon\Carbon::parse($pivot->EndDate)->format('M d, Y') : $pivot->EndDate->format('M d, Y') }}
@else
- Ongoing
@endif
@endif