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

All Services

Manage and organize all company services and their billing information in one place

Total Services
{{ $services->total() }}
Active Services
{{ $services->count() }}

Service Directory

View and manage all property services

@if($services->count() > 0)
@foreach($services as $service)

{{ $service->ServiceName }}

Active
@if($service->Description)
{{ Str::limit($service->Description, 120) }}
@endif
Price: Ksh {{ number_format($service->Price, 2) }}
Billing Cycle: {{ $service->NoMonthPerYear == 12 ? 'Monthly' : 'Every ' . $service->NoMonthPerYear . ' months' }}
@if($service->company)
Company
{{ $service->company->CompanyName }}
@endif
@if($service->created_at) Created {{ $service->created_at->diffForHumans() }} @else N/A @endif
@endforeach
@else

No services found

Get started by creating a new property service.

@endif
@if($services->hasPages())
@if($services->onFirstPage()) Previous @else Previous @endif @if($services->hasMorePages()) Next @else Next @endif
@endif
@endsection