@foreach($codigos as $c)
|
{{ $c->descricao }}
|
@if($c->cliente)
@else
@endif
|
{{ $c->codigo }}
|
{{ $c->expiracao ? \Carbon\Carbon::parse($c->expiracao)->format('d/m/Y') : '--' }}
|
@if($c->ativo)
ATIVO
@else
DESATIVADO
@endif
|
@if($c->sms)
OK
@else
PENDENTE
@endif
|
@if($c->push)
OK
@else
PENDENTE
@endif
|
{{ strtoupper($c->tipo) }}
|
{{ number_format($c->valor, 2, ',', '.') }}
|
@if($c->ativo)
@else
@endif
|
@endforeach