{{-- Stop trying to control. --}}

Financial Categories

{{-- filter by type --}}
@livewire('finincials.new-category-model', [], key('new-fin-category-'))
@if ($categories->isEmpty()) @else @foreach ($categories as $index => $category) @endforeach @endif
Name Description SR Code Type Actions
No financial categories found.
{{ $category->name }} @php $words = explode(' ', $category->description); $shortDescription = implode(' ', array_slice($words, 0, 3)); echo strlen($category->description) > strlen($shortDescription) ? $shortDescription . '...' : $shortDescription; @endphp {{ $category->sr_code }} {{ $category->type }}
@livewire('finincials.edit-category-modal', ['category' => $category], key('edit-category-' . $category->id))