Deploy Ladill QR Plus / deploy (push) Failing after 1s
Utility QR types only (URL, WiFi, link list, business, app download) with SSO, Billing API integration, public /q resolver, and qr-plus:import for platform migration. vCard and commerce types stay on the platform. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
1.5 KiB
PHP
24 lines
1.5 KiB
PHP
<x-user-layout>
|
|
<x-slot name="title">Wallet</x-slot>
|
|
@php $fmt = fn ($m) => 'GHS '.number_format($m / 100, 2); @endphp
|
|
<div class="mx-auto max-w-3xl">
|
|
<h1 class="text-xl font-semibold tracking-tight text-slate-900">Wallet</h1>
|
|
<p class="mt-0.5 text-sm text-slate-500">Your Ladill wallet funds QR Plus and other Ladill apps.</p>
|
|
<div class="mt-6 rounded-2xl bg-gradient-to-br from-indigo-700 via-indigo-600 to-blue-500 p-6 text-white shadow-sm">
|
|
<p class="text-xs font-medium uppercase tracking-wide text-indigo-100">Balance</p>
|
|
<p class="mt-1 text-3xl font-semibold">{{ $fmt($balanceMinor) }}</p>
|
|
<a href="{{ $topupUrl }}" class="mt-4 inline-block rounded-lg bg-white/15 px-4 py-2 text-sm font-semibold text-white backdrop-blur transition hover:bg-white/25">Add funds</a>
|
|
</div>
|
|
<div class="mt-4 grid gap-4 sm:grid-cols-2">
|
|
<div class="rounded-2xl border border-slate-200 bg-white p-5">
|
|
<p class="text-xs font-medium uppercase tracking-wide text-slate-400">Spent on QR Plus</p>
|
|
<p class="mt-1.5 text-2xl font-semibold text-slate-900">{{ $fmt($spentMinor) }}</p>
|
|
</div>
|
|
<div class="rounded-2xl border border-slate-200 bg-white p-5">
|
|
<p class="text-xs font-medium uppercase tracking-wide text-slate-400">Refunded / credited</p>
|
|
<p class="mt-1.5 text-2xl font-semibold text-slate-900">{{ $fmt($creditedMinor) }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-user-layout>
|