@extends('layouts.app') @section('title','My Virtual Card') @push('styles') @endpush @section('content') {{-- ── FEATURE DISABLED (admin turned off entirely, no coming soon) ── --}} @if(!$cardEnabled && !$comingSoon && !$card)
💳
Virtual Card Unavailable
This feature is currently disabled. Check back later or contact support.
@elseif($comingSoon && !$card) {{-- ── COMING SOON — full page takeover ── --}}
{{-- Animated background particles --}}
{{-- Floating card mockup --}}
Nabola.
•••• •••• •••• ••••
Card Holder
{{ strtoupper(auth()->user()->name) }}
Expires
••/••
Mastercard
{{-- Coming soon overlay --}}
🔒 Coming Soon
{{-- Headline --}}
In Development

Your Nabola Virtual Card
is Almost Here

Spend your Nabola Coins directly online — anywhere Mastercard is accepted. No bank account needed.

{{-- Feature pills --}}
🛡️
Secure
256-bit encrypted
Instant
Activate in seconds
🌍
Global
Works worldwide
{{-- Notify me --}}
You're on the waitlist
We'll send you a notification the moment your card is ready to activate.
Keep recycling to build your NC balance in the meantime.
Earn More NC Now
@else @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif @if($card) {{-- CARD DISPLAY --}}
{{ $card->status_label }}
{{ chunk_split($card->masked_pan, 4, ' ') }}
Card Holder
{{ strtoupper($user->name) }}
Expires
{{ $card->expiry_month }}/{{ $card->expiry_year }}
{{ strtoupper($card->card_brand) }}
{{-- Balance --}}
Card Balance
₦{{ number_format($user->getCoins() * 10) }}
{{ number_format($user->getCoins()) }} NC · 1 NC = ₦10
Today's Spend
₦{{ number_format($card->daily_spent) }}
of ₦{{ number_format($card->daily_limit) }} limit
{{-- Actions --}}
@if($card->isActive())
@csrf
@elseif($card->isFrozen())
@csrf
@endif Transactions
@if($card->isSuspended())
Card Suspended — {{ $card->suspension_reason }}. Contact support to reinstate.
@endif
{{-- Spending Limits --}}
Spending Limits
@csrf
Max ₦500,000
Must be ≤ daily limit
{{-- Recent Transactions --}} @php $recentTxns = $card->transactions()->take(5)->get(); @endphp @if($recentTxns->count())
Recent Transactions View all →
@foreach($recentTxns as $txn)
{{ $txn->merchant_name ?? 'Unknown Merchant' }}
{{ $txn->created_at->format('d M Y, H:i') }}
-₦{{ number_format($txn->amount_naira) }}
{{ $txn->coins_debited }} NC
{{ ucfirst($txn->status) }}
@endforeach
@endif @else {{-- NO CARD — REQUEST FORM --}}
💳
Get Your Nabola Virtual Card
Spend your Nabola Coins directly online. Your card balance equals your NC balance (1 NC = ₦10). Works anywhere Mastercard is accepted online.
Secure & Encrypted
Instant Activation
Custom Limits
@if($user->kyc_status !== 'approved')
KYC Verification Required
Complete identity verification to request your virtual card.
Verify Identity
@elseif($user->getCoins() < 100)
Insufficient Balance
You need at least 100 NC (₦1,000) to activate a card. You have {{ $user->getCoins() }} NC.
@else
Request Virtual Card
A one-time activation fee of 100 NC (₦1,000) will be deducted from your wallet.
@csrf
@for($i = 0; $i < 4; $i++) @endfor
@endif
@endif {{-- REVEAL MODAL --}}
Card Details
Enter your PIN to reveal full card details. They will hide after 30 seconds.
@for($i = 0; $i < 4; $i++) @endfor
{{-- Hidden high-res card for download --}}
{{-- Orbs --}}
{{-- Content --}}
Nabola.
{{ chunk_split($card->masked_pan ?? '000000000000', 4, ' ') }}
Card Holder
{{ strtoupper($user->name) }}
Expires
{{ $card->expiry_month ?? '••' }}/{{ $card->expiry_year ?? '••' }}
{{ strtoupper($card->card_brand ?? 'Mastercard') }}
nabola.bybimport.com
@push('scripts') @endpush @endif {{-- end @else (feature enabled) --}} @endsection