@extends('layouts.app') @section('title', $pageTitle ?? 'CSR Costing') @section('contents')

New Cost Estimate

@csrf
@error('name')

{{ $message }}

@enderror
@if (! empty($lockedBpmsSchemeId)) @php $lockedLabel = optional($bpmsSchemes->first(fn ($s) => (string) $s->id === (string) $lockedBpmsSchemeId))->name ?? ('Project #'.$lockedBpmsSchemeId); @endphp

This scheme was set from the PC form and cannot be changed here.

@else @endif @error('bpms_scheme_id')

{{ $message }}

@enderror @if ($bpmsSchemes->isEmpty())

No projects were returned. Check the core database connection (CORE_DB_*) and that projects is readable.

@endif
@error('scheme_reference')

{{ $message }}

@enderror
@endsection