@extends('layouts.app') @section('title', 'Edit Proposal') @section('content')
{{-- Back link --}} Proposals

Edit proposal

{{ $proposal->title }}

@php $currentCurrency = old('currency', $proposal->currency instanceof \App\Enums\Currency ? $proposal->currency->value : $proposal->currency); $currentStatus = old('status', $proposal->status instanceof \App\Enums\ProposalStatus ? $proposal->status->value : $proposal->status); @endphp
@csrf @method('PUT') {{-- Form card --}}
{{-- Section 1: Assignment --}}

Assignment

@error('client_id')

{{ $message }}

@enderror
@error('project_id')

{{ $message }}

@enderror
{{-- Section 2: Value & timeline --}}

Value & timeline

@error('amount')

{{ $message }}

@enderror
@error('currency')

{{ $message }}

@enderror
@error('valid_until')

{{ $message }}

@enderror
@error('status')

{{ $message }}

@enderror
{{-- Section 3: Proposal details --}}

Proposal details

@error('title')

{{ $message }}

@enderror
@error('scope')

{{ $message }}

@enderror
@error('notes')

{{ $message }}

@enderror
{{-- Contract Terms (collapsible) --}}
{{-- Footer --}}
Cancel
@endsection