@if(Session::has('message'))
{{ Session::get('message') }}
@endif
| # |
CustName |
Group/Scheme Name |
Interest Added |
For Month |
Accumalated Date |
@if(count($interest_history)>0)
@foreach($interest_history as $key=>$item)
@php
if($item->chit_id) {
$chitdetails = DB::table('chit_details')->where('id',$item->chit_id)->first();
$chitinfo = DB::table('chit_scheme')->where('scheme_id',$chitdetails->scheme_id)->where('id',$chitdetails->group_id)->first();
$userinfo = DB::table('users')->where('id',$chitdetails->user_id)->first();
}
@endphp
| {{ $key+1 }} |
@if(isset($userinfo->name)) {{ $userinfo->name }} @endif |
@if($chitinfo) {{ $chitinfo->chit_name }} @else {{'Gold Wallet'}} @endif |
{{ $item->interest_accumlated }} |
{{ $item->month }} |
@if($item->accumlated_date && $item->accumlated_date!='0000-00-00')
{{ date("d/m/Y",strtotime($item->accumlated_date))}}
@endif
|
@endforeach
@else
No records found!
|
@endif