From 25f61cdb7d3719df541884cbb632333aa7aa91a3 Mon Sep 17 00:00:00 2001 From: javier Date: Wed, 17 Jun 2026 11:09:18 +0200 Subject: [PATCH] fix: close inline @if in company-management blade (bare 'endif' -> '@endif') Pre-existing bug in 7d854ff: the company type CSS-class @if block at line 258 was closed with a bare 'endif' (no @), causing a ParseError on GET /companies (unexpected 'endforeach'). Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/views/livewire/company-management.blade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/company-management.blade.php b/resources/views/livewire/company-management.blade.php index 7086cbf..db82e19 100644 --- a/resources/views/livewire/company-management.blade.php +++ b/resources/views/livewire/company-management.blade.php @@ -261,7 +261,7 @@ @elseif($company->type === 'consultant') bg-indigo-100 text-indigo-800 @elseif($company->type === 'supplier') bg-yellow-100 text-yellow-800 @else bg-gray-100 text-gray-800 - endif + @endif rounded"> {{ ucfirst($company->type) }} @@ -319,7 +319,8 @@ @if(!$loop->last)
- @endforeach + @endif + @endforeach @endif