@extends('layout') @section('content') @php $kindLabel = ['entrada' => 'Entradas', 'saida' => 'Saídas', 'ambos' => 'Ambos']; $iconChoices = ['sell', 'local_shipping', 'receipt_long', 'autorenew', 'campaign', 'payments', 'work', 'bolt', 'shopping_cart', 'savings', 'handshake', 'apartment']; @endphp
@include('partials.context-back')

Categorias

Classificam os lançamentos do financeiro

Categorias

@csrf
@if ($categories->isEmpty())
sell

Nenhuma categoria ainda.

@else
@foreach ($categories as $c)
archived ? 'style="opacity:.5"' : '' }}> {{ $c->icon ?: 'sell' }}

{{ $c->name }} {{ $kindLabel[$c->kind] ?? $c->kind }} {!! $c->archived ? '(arquivada)' : '' !!}

@if (!$c->archived) @endif
@endforeach
@endif
@endsection