{{ $pagamento->titulo }} |
@php
$tiposPagamento = [
1 => 'Dinheiro',
2 => 'Pix',
3 => 'Cartão Crédito',
4 => 'Cartão Débito',
5 => 'Prazo',
6 => 'Cheque',
7 => 'Depósito',
];
echo $tiposPagamento[$pagamento->tipo_pagamento];
@endphp
|
{{ number_format($pagamento->valor_pagamento, 2, ',', '.') }} |
{{ number_format($pagamento->troco, 2, ',', '.') }} |
{{ number_format($pagamento->valor_acrescimo, 2, ',', '.') }} |
{{ number_format($pagamento->valor_desconto, 2, ',', '.') }} |
{{ number_format($pagamento->valor_liquido, 2, ',', '.') }} |
{{ number_format($pagamento->valor_bruto, 2, ',', '.') }} |
@endforeach