@extends('layouts.main') @section('head') Total Store Items @endsection @section('otherCss') @endsection @section('contents')

Consumer Management

Total Consumers

Add & Edit Consumers

{{-- @if(auth()->user()->type == 1)
@endif --}}
@foreach($consumers as $key => $consumer) @endforeach
Name PPA Upload Date PPA Aadhaar Bank Details Approved Action
{{ $consumer->name }} {{ $consumer->created_at->format('d-m-Y') }} @if($consumer->ppaUploads && $consumer->ppaUploads->ppa_agreement != null) @else @endif @if($consumer->ppaUploads && $consumer->ppaUploads->aadhaar != null) @else @endif @if($consumer->ppaUploads && $consumer->ppaUploads->bank_details != null) @else @endif @if(isset($consumer->ppaUploads)) @if($consumer->ppaUploads->status == "approved") @elseif($consumer->ppaUploads->status == "reject") @else @endif @else Upload Pending @endif

{!! $consumers->links() !!}
@endsection {{-- @section('modals') @if(auth()->user()->type == 1) @include('main.items.partials._addEditItemsModal') @endif @endsection --}} @section('otherJs') @endsection