Change variable name to keep foreach scoped

This commit is contained in:
Marcus Moore 2024-01-17 17:00:03 -08:00
parent bbfee27fd3
commit 1a1f417633
No known key found for this signature in database

View file

@ -464,9 +464,9 @@
data-allow-clear="true" data-allow-clear="true"
> >
<option></option> <option></option>
@foreach($report_templates as $template) @foreach($report_templates as $savedTemplate)
<option value="{{ $template->id }}" @if (request()->route()->parameter('reportId') == $template->id) selected @endif> <option value="{{ $savedTemplate->id }}" @if (request()->route()->parameter('reportId') == $savedTemplate->id) selected @endif>
{{ $template->name }} {{ $savedTemplate->name }}
</option> </option>
@endforeach @endforeach
</select> </select>