@extends('layouts.app') @section('content') @php use SimpleSoftwareIO\QrCode\Facades\QrCode; @endphp
{{-- ================= PENDING ================= --}} @if($pending && $pending->status === 'pending')
{{-- ================= BANK ================= --}} @if( $pending->payment_type === 'deposit' && !empty($pending->account_number) && !empty($pending->account_name) )

Bank Transfer

Permintaan Deposit anda sudah kami terima, jika anda belum melakukan pembayaran, harap melakukan pembayaran ke:

  • Nama Bank

    {{ $pending->bank }}

  • Nama Rekening

    {{ $pending->account_name }}

  • Nomor Rekening

    {{ $pending->account_number }}

  • Jumlah

    Rp {{ number_format($pending->amount,0,',','.') }}

  • Biaya Layanan

    Rp {{ number_format($pending->unique_code, 0, ',', '.') }}

  • Total

    Rp {{ number_format($pending->amount,0,',','.') }}

Jika anda sudah melakukan pembayaran, mohon menunggu beberapa saat, saldo anda akan bertambah secara otomatis. Terima kasih dan selamat bermain!

{{-- ================= QRIS MANUAL ================= --}} @elseif( $pending->payment_type === 'deposit' && empty($pending->account_number) && !empty($pending->qrdata) )

QRIS

  • Metode

    QRIS Payment

  • Jumlah

    Rp {{ number_format($pending->amount, 0, ',', '.') }}

  • @if($pending->unique_code)
  • Kode Unik

    Rp {{ number_format($pending->unique_code, 0, ',', '.') }}

  • @endif
  • Total

    Rp {{ number_format($pending->amount, 0, ',', '.') }}

{!! QrCode::size(220)->generate($pending->qrdata) !!}

Jika anda sudah melakukan pembayaran, mohon menunggu beberapa saat, saldo anda akan bertambah secara otomatis. Terima kasih dan selamat bermain!

{{-- ================= QRIS OTOMATIS ================= --}} @elseif($pending->payment_type === 'otomatis')

QRIS Otomatis

  • Metode

    QRIS Otomatis

  • Nominal

    Rp {{ number_format($pending->amount, 0, ',', '.') }}

  • Total

    Rp {{ number_format($pending->amount, 0, ',', '.') }}

{!! QrCode::size(240)->generate($pending->qrdata) !!}

QR berlaku beberapa menit. Segera lakukan pembayaran.

Setelah pembayaran berhasil, saldo akan masuk otomatis tanpa perlu konfirmasi.

@endif
{{-- ================= JIKA TIDAK ADA PENDING ================= --}} @else @if(!$pending && request()->routeIs('deposit.status'))

Anda tidak memiliki transaksi pending

@endif {{-- ================= FORM (HANYA SAAT TIDAK ADA PENDING) ================= --}}
@if($mode === 'bank')
@include('mobile.partials.pages.dpbank')
@endif @if($mode === 'qris')
@include('mobile.partials.pages.dpqris')
@endif @if($mode === 'otomatis')
@include('mobile.partials.pages.otomatis')
@endif
@endif
@endsection