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) <noreply@anthropic.com>
This commit is contained in:
@@ -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) }}
|
||||
</span>
|
||||
@@ -319,6 +319,7 @@
|
||||
</div>
|
||||
@if(!$loop->last)
|
||||
<div class="border-t border-gray-200"></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user