@if ($createOrderModal) @php $paymentGateway = \App\Models\PaymentGateway::where('is_active', true)->first(); @endphp
@if ($paymentGateway && $paymentGateway->value === 'tripay' && env('TRIPAY_MODE') === 'development') Demo @endif
@if ($currentStep == 1) Rincian Pembayaran
Nama Pelanggan
{{ $invoice->customer_paket->user->full_name }}
Nomor Invoice
{{ $invoice->invoice_number }}
Periode
{{ \Carbon\Carbon::parse($invoice->start_periode)->format('d F Y') }} - {{ \Carbon\Carbon::parse($invoice->end_periode)->format('d F Y') }}
@php $totalPaid = $invoice->payments->sum('amount'); $totalRefunded = $invoice->payments->sum('refunded_amount'); $netPaid = $totalPaid - $totalRefunded; $totalBill = $invoice->amount - $invoice->discount + $invoice->tax - $netPaid; @endphp @if ($invoice->tax > 0)
PPN
@moneyIDR($invoice->tax)
@endif
Jumlah Tagihan
@moneyIDR($totalBill)
Pilih metode @foreach ($paymentChanels as $paymentChanel) {{ $paymentChanel['name'] }} @endforeach
Batal @if ($invoice->order) Kembali @endif {{ __('Bayar') }}
@endif
@if ($currentStep == 2) Menunggu Pembayaran
Nama Pelanggan
{{ $order->customer_name }}
Email Pelanggan
{{ $order->customer_email }}
Telepon Pelanggan
{{ $order->customer_phone }}
Referensi
{{ $order->reference }}
Nomor Tagihan
{{ $order->merchant_ref }}
Metode Pembayaran
{{ $order->payment_name }}
Jumlah Tagihan
@moneyIDR($order->amount)
@if (!is_null($order['qr_url'])) Kode QR:
Download QR
@elseif (!is_null($order['pay_url'])) Informasi Pembayaran Tekan tautan untuk melakukan pembayaran. Bayar Sekarang @else Kode Bayar: @endif
Tutup Lihat Cara Bayar Ganti
@endif
@if ($currentStep == 3) Cara Pembayaran
@foreach ($inctructions as $instruction)
{{ $loop->index + 1 }}. {{ $instruction['title'] }} @foreach ($instruction['steps'] as $step) {{ $loop->index + 1 }}. {!! $step !!} @endforeach
@endforeach
Tutup Kembali
@endif
@if ($currentStep === 4)
Pergi ke halaman pembayaran
Anda akan diarahkan ke halaman pembayaran.
Lanjutkan Kembali
@endif @if ($tripay->mode === 'development') Penting!!! Saat notifikasi Demo terlihat, jangan melakukan pembayaran apapun! @endif
@script @endscript @endif