@php($labels=['projeto'=>'Projetos','entrega'=>'Entregas','tarefa'=>'Tarefas','reuniao'=>'Reuniões','pagamento'=>'Pagamentos','cobranca'=>'Cobranças','lead'=>'Leads','chamado'=>'Chamados'])
@foreach($board['lanes'] as $lane)
@forelse($lane['items'] as $item)
{{ $item['icon'] }}{{ $labels[$item['type']] ?? $item['typeLabel'] }}@if($item['priority']){{ label($item['priority']) }}@endif
{{ $item['title'] }}{{ $item['subtitle'] }}schedule{{ $item['date'] ? datetime_br($item['date'], 'd/m H:i') : ($item['type'] === 'lead' ? 'Contato sem data definida' : 'Sem data') }}@if($item['amount'] !== null){{ money($item['amount']) }}@else{{ label($item['status']) }}@endif
@if($item['extra'])@endif @if(in_array($item['type'], ['projeto','entrega','tarefa','reuniao','pagamento','lead'], true))edit_calendar Ajustar
@endif@empty
checkNenhuma operação
@endforelse
@endforeach