@extends('layouts.homepage.main') @section('content')

Pembayaran Cicilan

Order Total Rp {{ number_format($order->total, 0, ',', '.') }}
Cicilan per Bulan @if ($order->periode_cicilan) Rp {{ number_format(ceil($order->total / $order->periode_cicilan), 0, ',', '.') }} ({{ $order->periode_cicilan }} bulan) @else - @endif
Jumlah Telah Dibayar @if ($order->jumlah_pelunasan) Rp {{ number_format($order->jumlah_pelunasan, 0, ',', '.') }}
{{ $order->updated_at ? $order->updated_at->format('d M Y H:i') : '' }} @else - @endif
Sisa Cicilan {!! $order->sisa_pelunasan == 0 || $order->sisa_pelunasan === null ? 'Lunas' : 'Rp ' . number_format($order->sisa_pelunasan, 0, ',', '.') !!}
@csrf
Kembali

Pembayaran melalui
No. Rekening : 0830 0100 3815 500 (BRI)
Dana: 087788470428
Atas Nama : Meilina Suci Ardelia

@if (isset($histories) && count($histories))
Riwayat Pembayaran Cicilan
@foreach ($histories as $h) @endforeach
Tanggal Jumlah Metode Bukti
{{ $h->created_at->format('d M Y H:i') }} Rp {{ number_format($h->jumlah_cicilan, 0, ',', '.') }} {{ ucfirst($h->metode_pembayaran) }} @if ($h->bukti) Lihat @else - @endif
@endif
@endsection @section('script') @endsection