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 === 'consultant') bg-indigo-100 text-indigo-800
|
||||||
@elseif($company->type === 'supplier') bg-yellow-100 text-yellow-800
|
@elseif($company->type === 'supplier') bg-yellow-100 text-yellow-800
|
||||||
@else bg-gray-100 text-gray-800
|
@else bg-gray-100 text-gray-800
|
||||||
endif
|
@endif
|
||||||
rounded">
|
rounded">
|
||||||
{{ ucfirst($company->type) }}
|
{{ ucfirst($company->type) }}
|
||||||
</span>
|
</span>
|
||||||
@@ -319,7 +319,8 @@
|
|||||||
</div>
|
</div>
|
||||||
@if(!$loop->last)
|
@if(!$loop->last)
|
||||||
<div class="border-t border-gray-200"></div>
|
<div class="border-t border-gray-200"></div>
|
||||||
@endforeach
|
@endif
|
||||||
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user