@extends('layouts.app') @section('content') @php // Halaman user sengaja hanya menampilkan dua status final. Transaksi yang // belum terkonfirmasi (pending) tetap dicetak sebagai LUNAS; status pending // hanya terlihat di halaman admin sampai admin memverifikasinya. $trxStatus = strtolower($transaction->status) === 'failed' ? 'failed' : 'success'; $statusLabel = $trxStatus === 'failed' ? 'GAGAL / DIBATALKAN' : 'LUNAS / SUKSES'; $statusClass = $trxStatus === 'failed' ? 'bg-rose-100 text-rose-800' : 'bg-brand-100 text-brand-800'; $statusIcon = $trxStatus === 'failed' ? 'fa-circle-xmark' : 'fa-circle-check'; @endphp
Kembali
GaSaKu Logo

GASAKU PRABUMULIH

STRUK PEMBAYARAN GAS KOTA

{{ $statusLabel }}
No. Trx: {{ $transaction->trx_code }}
Waktu: {{ $transaction->created_at->format('d/m/Y H:i') }}
Layanan: GAS KOTA PRABUMULIH
ID Pelanggan: {{ $transaction->customer_id }}
Nama Pel: {{ $transaction->customer_name }}
Periode: {{ $transaction->usage_period }}
Stand Meter: {{ $transaction->stand_meter }}
Tagihan Gas: Rp {{ number_format($transaction->bill_amount, 0, ',', '.') }}
Admin Fee: Rp {{ number_format($transaction->admin_fee, 0, ',', '.') }}
TOTAL BAYAR: Rp {{ number_format($transaction->total_amount, 0, ',', '.') }}
Nomor Referensi (SN)
{{ $transaction->receiptReference() ?? '-' }}

Terima kasih atas pembayaran Anda

Bukti pembayaran sah GaSaKu Prabumulih.

@push('scripts') @endpush @endsection