@extends('layouts.app') @section('title') Pembayaran Pendaftaran @endsection @section('content')

Pembayaran Pendaftaran

{{--
--}}
Rincian Pembayaran Pendaftaran
@if ($transaksi->isEmpty()) @else @foreach ($transaksi as $item) @endforeach {{-- @foreach($total as $item) --}} {{-- @endforeach --}} @endif
No Name Nominal
Tidak ada tagihan.
{{ $no++ }} {{ $item->keterangan }} {{ $item->total }}
Total: {{ $total->total_sum }}

{{--
--}}
Pembayaran/Cicilan

Total Yang di Bayarkan

Kurang

@if($transaksi->isEmpty())

: Rp.

: Rp.

@else {{-- @foreach($total as $transaksi) --}} @php $totalnya = $total->total_sum; $totalCicilan = $totalcicilan->isNotEmpty() ? $totalcicilan->first()->total_sum : 0; $saldoSisa = $totalnya - $totalCicilan; @endphp

: Rp. {{ $totalCicilan }}

: Rp. {{ $saldoSisa }}

@if ($saldoSisa == 0)

Lunas.

@foreach ($transaksi2 as $item) Cetak @endforeach @else Bayar @endif @endif {{-- @endforeach --}}
@if ($cicilan->isEmpty()) @else @foreach ($cicilan as $item) @endforeach @endif
No Tgl Pembayaran Nominal
Anda belum melakukan pembayaran.
{{ $no++ }} {{ $item->tgl }} {{ $item->total }}
@endsection @push('addon-script') @endpush