@extends('layouts.app') @section('page-name','Pembayaran SPP') @section('content')

Transaksi

@if(session()->has('msg'))
@if(session()->get('type') == 'success') @else @endif {{ session()->get('msg') }}
@endif
{{--
--}} @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif
@csrf

Saldo: IDR. 0
{{--
--}}

Histori Transaksi

@foreach ($transaksi as $index => $item) @endforeach
No. Tanggal Siswa Tagihan Diskon Dibayarkan Keterangan Cetak
{{ $index+1 }} {{ $item->created_at->format('d-m-Y') }} {{ $item->siswa->nama.'('.$item->siswa->kelas->nama.')' }} {{ $item->tagihan->nama }} IDR. {{ format_idr($item->diskon) }} IDR. {{ format_idr($item->keuangan->jumlah) }} {{ $item->keterangan }}
@endsection @section('css') @endsection @section('js') @endsection