@extends('layouts.layoutMaster') @section('title', 'Boletos') @php $podeOperarBoletos = \Perm::pode(auth()->user(), 'financeiro.boletos'); @endphp @section('vendor-style') @endsection @section('content')
| Nosso Número | Conta a Receber | Cliente | Valor | Vencimento | Banco | Status | Ações |
|---|---|---|---|---|---|---|---|
|
{{ $boleto->nosso_numero ?? '-' }}
@if($boleto->linha_digitavel)
{{ Str::limit($boleto->linha_digitavel, 25) }} @endif |
@if($boleto->contaAReceber)
#{{ $boleto->contaAReceber->id_contas }}
{{ Str::limit($boleto->contaAReceber->descricao ?? '', 25) }} @else - @endif |
{{ $boleto->contaAReceber->cliente->nome ?? '-' }} |
R$ {{ number_format($boleto->valor_nominal, 2, ',', '.') }}
@if($boleto->status === 'pago' && $boleto->valor_pago)
R$ {{ number_format($boleto->valor_pago, 2, ',', '.') }} @endif |
{{ $boleto->data_vencimento ? \Carbon\Carbon::parse($boleto->data_vencimento)->format('d/m/Y') : '-' }}
@if($boleto->isVencido())
Vencido @endif |
@php $nomeBanco = $boleto->banco->nome_banco ?? null; $isInter = $nomeBanco && (stripos($nomeBanco, 'inter') !== false); @endphp @if($nomeBanco) {{ $nomeBanco }} @else - @endif |
{{ $boleto->status_label }}
@if($boleto->data_pagamento)
{{ \Carbon\Carbon::parse($boleto->data_pagamento)->format('d/m/Y H:i') }} @endif |
|
|
Nenhum boleto encontrado
|
|||||||