@endif
| # | Cliente | Data | Usuário | Total | Estado | Form. pag. | Tipo de pag. |
|---|---|---|---|---|---|---|---|
| {{ $c->id }} | {{ $c->cliente->razao_social ?? 'NAO IDENTIFCADO' }} | {{ \Carbon\Carbon::parse($c->created_at)->format('d/m/Y') }} | {{$c->usuario->nome}} | {{ number_format($c->valor_total, 2, ',', '.') }} | {{ $c->estado }} | @if($c->forma_pagamento == '30_dias') 30 Dias @elseif($c->forma_pagamento == 'a_vista') A vista @else {{ $c->forma_pagamento }} @endif | @if($c->tipo_pagamento == '99') -- @else {{$c->getTipoPagamento($c->tipo_pagamento)}} @endif |
| Total: R$ {{number_format($soma, 2, ',', '.')}} | |||||||