@extends('template.layout') @section('style') @endsection @section('content')
| # | Code | Date | Type | Amount | {{--Action | --}}
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $payment->code }} | {{ $payment->date }} | {{ $payment->type }} | {{ number_format($payment->amount, 2) }} | @php $total_payment++; $total_amount += $payment->amount; @endphp