@extends('layouts.app') @section('title', 'Brand Contracts') @section('page-title', 'Brand Contracts πŸ“‹') @section('page-subtitle', 'Manage exclusive brand agreements per category') @section('content')
@if(session('success'))
{{ session('success') }}
@endif {{-- Add Contract --}}
@csrf
{{-- Contracts List --}}
πŸ“‹

All Contracts

{{ $contracts->count() }} total
@forelse($contracts as $contract)
{{ $contract->statusLabel }}
{{ $contract->title }}
@if($contract->client)πŸ‘€ {{ $contract->client->name }}@endif @if($contract->category)🏷️ {{ $contract->category->fullName }}@endif πŸ“… {{ $contract->start_date->format('d M Y') }} – {{ $contract->end_date->format('d M Y') }} @if($contract->isCurrentlyActive()) {{ $contract->days_remaining }}d left @endif
@if($contract->notes)
{{ $contract->notes }}
@endif
@csrf @method('PATCH')
@csrf @method('DELETE')
@empty
πŸ“‹

No contracts yet. Add your first exclusive agreement above.

@endforelse
{{-- How it works --}}
πŸ’‘

How Brand Contracts Work

@endsection