@extends('layout.template') @section('content') @php $data = App\Models\Penalty::where('member_id', Session::get('user')->id)->get(); @endphp

Penalty Details

@if(Session::has('success'))
{{Session::get('success')}}
{{ Session::flash('alert-success', 'success') }} @endif @if(Session::has('fail'))
{{Session::get('fail')}}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(!empty($data))
₹{{totalPenaltyPaidByMembers(Session::get('user')->id)}}

Payment History

Sl.no Reason Paid amount PAID DATE Download
Receipt
Status
×
@else
No records has been added yet.
Add a new record by simpley clicking the button on top right side.
@endif
@if(!empty($data)) @endif @endsection