@extends('layouts.app') @section('content') @php $recordRestoreTreatments = $album->exists ? $album->treatments->filter(fn ($treatment) => strtolower((string) $treatment->treatment_type) === 'record restore')->values() : collect(); $relaxedDateValue = old('relaxed_date', optional($album->relaxed_date)->format('Y-m-d')); $isRelaxed = $relaxedDateValue ? 'y' : 'n'; @endphp
Collection management

{{ $album->exists ? 'Album edit' : 'Album add' }}

Back to listing
@if ($errors->any())
Please review the highlighted information.
@endif
@csrf @if($album->exists) @method('PUT') @endif
Album details
@unless($album->exists)
or
@endunless
Digitised?
Cancel
@endsection