@extends('default.layout') @section('content')

Lista de pagamentos

@foreach($representanteEmpresa->pagamentos as $p) @endforeach
Data Tipo Pagamento Valor Comissão Paga
{{ \Carbon\Carbon::parse($p->created_at)->format('d/m/Y H:i') }} {{ $p->forma_pagamento}} {{ number_format($p->valor, 2, ',', '.') }} @if($p->pagamento_comissao) Sim @else Não @endif
@endsection