@extends('layouts.app') @section('title') Detail Pembayaran @endsection @section('content')
| No | Name | Nominal | Aksi |
|---|---|---|---|
| Tidak ada tagihan. | |||
| {{ $no++ }} | {{ $item->keterangan }} | {{ $item->total }} |
|
| Total: | {{ $total->total_sum }} | ||
Total Yang di Bayarkan
Kurang
: Rp.
: Rp.
@else @php $totalTransaksi = $total->total_sum; $totalCicilan = $totalcicilan->isNotEmpty() ? $totalcicilan->first()->total_sum : 0; $saldoSisa = $totalTransaksi - $totalCicilan; @endphp: Rp. {{ $totalCicilan }}
: Rp. {{ $saldoSisa }}
@if ($saldoSisa == 0 ) @if($item->status == 2)