@extends('layouts.app') @section('title', 'Hostel Student Payment History List') @include('admin.components.toster') @include('admin.components.select2css') @section('content')
| # | Hostel UID | Name | Payment Method | Receipt | Amount | Payment Date | Status |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($item->hostelstudent)->hostel_uid }} | {{ optional($item->hostelstudent->studentuser)->name }} | {{ optional($item->paymentmethod)->name }} | {{ $item->receipt_no }} | {{ $item->amount }} | {{ $item->payment_date }} | {{ $item->status }} |
| Total | {{ $paymenthistories->sum('amount') }} | ||||||