@extends('dashboard._theme_dashboard') @section('content')
| ID do Lote: | {{ $batch->batch_id }} |
|---|---|
| Número da Requisição: | {{ $batch->request_number }} |
| Data de Pagamento: | {{ $batch->payment_date->format('d/m/Y') }} |
| Status: | @if($batch->status == 'Pending') Pendente @elseif($batch->status == 'Processing') Processando @elseif($batch->status == 'Completed') Concluído @elseif($batch->status == 'Failed') Falha @endif |
| Data de Criação: | {{ $batch->created_at->format('d/m/Y H:i') }} |
| Conta Bancária: | {{ $batch->account->account_name ?? 'N/A' }} |
|---|---|
| Conta de Remessa: | {{ $batch->shipmentAccount->shipment_account_name ?? 'N/A' }} |
| Total de Itens: | {{ $batch->total_items }} |
| Itens Processados: | {{ $batch->processed_items }} |
| Valor Total: | {{ $batch->formattedTotalValue() }} |
{{ $batch->error_message }}
| # | Movimento | Descrição | Código de Barras | Valor | Identificador de Pagamento | Status |
|---|---|---|---|---|---|---|
| {{ $item->item_id }} | {{ $item->movement_id }} | {{ $item->movement->movement_description ?? 'N/A' }} | {{ $item->barcode }} | {{ $item->formattedValue() }} | {{ $item->payment_identifier ?? 'N/A' }} |
@if($item->status == 'Pending')
Pendente
@elseif($item->status == 'Processed')
Processado
@elseif($item->status == 'Completed')
Concluído
@elseif($item->status == 'Failed')
Falha
@if($item->status_code || $item->error_message)
@else
{{ $item->status }}
@endif
@if($item->status_code)
Código: {{ $item->status_code }}
@endif
@endif @if($item->error_message) Erro: {{ $item->error_message }} @endif |
| Nenhum item encontrado neste lote. | ||||||