@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
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
Info
Editar
Enviar e-mail
Enviar WhatsApp
Cancelar
Nome: {{$record->customer->name}}
Nome fantasia: {{$record->customer->fantasy_name}}
Loc id: {{$record->loc_id}}
Txid: {{$record->txid}}
Valor: {{'R$ '. number_format($record->original_price, 2, ',', '.') }}
Data de vencimento: {{date('d/m/Y \à\s H:i', strtotime($record->create_date_pix) + $record->expiration_pix - 60)}}
Status: {{$record->status}}
Data de pagamento: {{$record->payment_date}}
Data de cancelamento: {{$record->cancellation_date}}
Notificado por Email: {{$record->email_notify_send}}
Notificado por WhatsApp: {{$record->whatsapp_notify_send}}
Notificado por Voicer: {{$record->voicer_notify_send}}
Notificado por Sms: {{$record->sms_notify_send}}
{{-- Editar --}}
@endforeach