@extends('layouts.layout') @section('title', 'Reports :: Gold Claim History') @section('content')

Gold Claim History

@if(Session::has('message')) @endif @if(count($claimed_history)>0) @foreach($claimed_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 @endforeach @else @endif
# CustName Group/Scheme Name Gold Claimed Claimed Date
{{ $key+1 }} @if(isset($userinfo->name)) {{ $userinfo->name }} @endif @if($chitinfo) {{ $chitinfo->chit_name }} @else {{'Gold Wallet'}} @endif {{ $item->claimed_wt }} @if($item->claimed_date && $item->claimed_date!='0000-00-00') {{ date("d/m/Y",strtotime($item->claimed_date))}} @endif
Print

No records found!

@endsection