@extends('layouts.app') @section('content')
@if(session('success'))
✅ {{ session('success') }}
@endif @if(session('info'))
ℹ️ {{ session('info') }}
@endif

📦 Confirmação de Pedido #{{ $order->id }}

💳 Status do Pagamento

@if($order->payment_status === 'paid')

✅ Pagamento Confirmado

Seu pedido foi pago com sucesso!

@elseif($order->payment_status === 'pending')

⏳ Aguardando Pagamento

@if($order->payment_method === 'multicaixa_express') Verifique seu telemóvel e confirme o pagamento no Multicaixa Express. @else Aguardando confirmação de pagamento. @endif

@elseif($order->payment_status === 'rejected')

❌ Pagamento Rejeitado

O pagamento foi rejeitado. Tente novamente ou contacte o suporte.

@endif
@if($order->payment_method)

📄 Detalhes do Pagamento

@if($order->payment_method === 'multicaixa' && $order->payment_entity)

💳 Use os dados abaixo para pagar numa referência Multicaixa:

Entidade

{{ $order->payment_entity }}

Referência

{{ $order->payment_reference }}

Valor

Kz {{ number_format($order->total_price, 2, ',', '.') }}

⏱️ Pague em qualquer terminal ATM Multicaixa ou por Internet Banking

@endif
Método: @if($order->payment_method === 'multicaixa_express') Multicaixa Express @elseif($order->payment_method === 'multicaixa') Multicaixa @elseif($order->payment_method === 'bank_transfer') Transferência Bancária @else {{ $order->payment_method }} @endif
@if($order->payment_reference && $order->payment_method !== 'multicaixa')
Referência: {{ $order->payment_reference }}
@endif @if($order->phone_reference)
Telemóvel: {{ $order->phone_reference }}
@endif
Valor Total: Kz {{ number_format($order->total_price, 2, ',', '.') }}
@endif

🛍️ Itens do Pedido

@foreach($order->items as $item)
{{ $item->product->name }}

Quantidade: {{ $item->quantity }} × Kz {{ number_format($item->price, 2, ',', '.') }}

Kz {{ number_format($item->quantity * $item->price, 2, ',', '.') }}
@endforeach
📊 Ver no Dashboard 🏠 Voltar à Loja

Para qualquer dúvida, contacte o nosso suporte.

📧 suporte@wscb.ao | 📱 +244 900 000 000

@endsection