@extends('layouts.app') @section('title', 'Contracts') @section('content')
{{ $contracts->total() }} agreement(s) matching your filters.
| Contract | Customer | Type | Service | Monthly value | Term | Ends | Status | |
|---|---|---|---|---|---|---|---|---|
| {{ $contract->contract_number }}
{{ \Illuminate\Support\Str::limit($contract->title, 42) }} |
{{ $contract->customer?->display_name ?: '—' }} | {{ title_case_words($contract->type) }} | {{ $contract->service?->service_number ?: '—' }} | {{ money($contract->monthly_value) }} | {{ $contract->term_months }} mo @if ($contract->auto_renew)auto@endif | {{ $contract->ends_on?->format('d M Y') ?: '—' }} | {{ title_case_words($contract->status) }} | Open |