@extends('default.layout') @section('content')
# | Produto | Quantidade | Valor | Subtotal |
---|---|---|---|---|
{{$i->id}} | {{$i->produto->nome}} | {{$i->quantidade}} | {{number_format($i->valor, 2, ',', '.')}} | {{number_format($i->valor*$i->quantidade, 2, ',', '.')}} |
Soma dos Itens | {{number_format($somaItens, 2, ',', '.')}} |
Forma de pagamento: {{$venda->forma_pagamento}}
Vencimento | Valor |
---|---|
{{ \Carbon\Carbon::parse($dp->data_vencimento)->format('d/m/Y')}} | {{number_format($dp->valor_integral, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($venda->data_registro)->format('d/m/Y')}} | {{number_format($venda->valor_total, 2, ',', '.')}} |