@extends('Backend.Layouts.panel') @if(!empty($customer_id)) @section('title', 'Listando todos os Pixes de: ' . $records[0]->customer->name) @else @section('title','Lista de Pixes') @endif @section('content')
Novo Pix
@if(!empty($customer_id))

Listando todos os Pixes de: {{$records[0]->customer->name}}

@else

Lista de Pixes

@endif
@foreach ($records as $record) @switch(strtolower($record->status)) @case("ativa") @php $bg = "bg-info" @endphp @break @case("concluida") @php $bg = "bg-success" @endphp @break @case("removida_pelo_usuario_recebedor") @php $bg = "bg-danger" @endphp @break @case("removida_pelo_psp") @php $bg = "bg-danger" @endphp @break @default @php $bg = "bge" @endphp @endswitch
{{$record->status}}
  • ID: {{$record->id}}
  • UUID: {{$record->uuid}}
  • Nome: {{$record->customer->name}}
  • Vencimento: {{date('d/m/Y \à\s H:i', strtotime($record->create_date_pix) + $record->expiration_pix - 60)}}
  • Valor: {{'R$ '. number_format($record->original_price, 2, ',', '.') }}
  • Loc Id: {{$record->loc_id}}
  • @if(!empty($record->payment_date))
  • Data Pagamento: {{$record->payment_date}}
  • @elseif(!empty($record->cancellation_date))
  • Data Cancelamento: {{$record->cancellation_date}}
  • @endif
Enviar e-mail Enviar WhatsApp Cancelar
{{-- Editar --}} @endforeach
{!! $records->links('pagination::bootstrap-4') !!}
@endsection