@extends('layouts.app') @section('title', 'Carrinho') @section('content') @include('layouts.headers.cards_prod')
Imagem | Quantidade | Valor | Total | Desconto | Ação |
---|---|---|---|---|---|
Confirmar
|
R$ {{$pedido_produto->valor_unitario_produto}} | @php $total_produto = $pedido_produto->valor_pedido_produto - $pedido_produto->desconto_pedido_produto; $total_pedido += $total_produto; @endphp R$ {{ number_format($pedido_produto->valor_pedido_produto, 2, ',', '.') }} | R$ {{ number_format($pedido_produto->desconto_pedido_produto, 2, ',', '.') }} | ||
TOTAL DO PEDIDO: R$
{{ number_format($total_pedido, 2, ',', '.') }}
@php $limite = $forma_pagamento_cliente->limite_credito_cliente - $forma_pagamento_cliente->saldo_devedor_cliente; @endphp @if($limite > 0.00) LIMITE DE CRÉDITO : R$ {{number_format($limite, 2, ',', '.') }} @elseif($limite < 0.00 ) LIMITE DE CRÉDITO : R$ {{number_format($limite, 2, ',', '.') }} @else @endif @if($forma_pagamento_cliente->credito_anterior_cliente != NULL && $forma_pagamento_cliente->credito_anterior_cliente > 0.00) CRÉDITO : R$ {{number_format($forma_pagamento_cliente->credito_anterior_cliente, 2, ',', '.') }} @else @endif |
Continuar comprando |