Fix programme attachment dropdown always appearing disabled on events.
Deploy Ladill Events / deploy (push) Successful in 31s
Deploy Ladill Events / deploy (push) Successful in 31s
Load itinerary options in the event show controller and link to programme creation when none exist yet. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -629,7 +629,12 @@
|
||||
<label class="block text-[11px] font-medium text-slate-500">Programme outline <span class="text-slate-400">(optional)</span></label>
|
||||
@if($itineraryOptions->isEmpty())
|
||||
<p class="mt-1 rounded-xl border border-dashed border-slate-200 bg-slate-50 px-3.5 py-2.5 text-xs text-slate-400">
|
||||
Create an Itinerary QR code first to attach it here as the event programme.
|
||||
@if(Route::has('programmes.create'))
|
||||
<a href="{{ route('programmes.create') }}" class="font-medium text-indigo-600 hover:text-indigo-800">Create a programme</a>
|
||||
first to attach it here as the event outline.
|
||||
@else
|
||||
Create a programme first to attach it here as the event outline.
|
||||
@endif
|
||||
</p>
|
||||
@else
|
||||
<select name="programme_qr_id" class="mt-1 w-full rounded-xl border border-slate-200 px-3 py-2.5 text-sm text-slate-700 focus:border-indigo-400 focus:outline-none focus:ring-1 focus:ring-indigo-400/30">
|
||||
|
||||
Reference in New Issue
Block a user