@extends('layouts/microfin_layout') @section('title', '| Unsettled Recovery') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; $pageNo = isset($_GET['page']) ? (int) $_GET['page']: 1; @endphp
{!! Form::open(array('name' => 'searchForm', 'class' => 'searchForm', 'url' => 'viewLoanUnsettledRecovery', 'method' => 'GET')) !!}
@if(!in_array($userRoleId, Config('services.branch_level_user_roles')))
{!! Form::label('branch', 'Branch:', ['class' => 'control-label']) !!}
{!! Form::select('branchId', array('' => 'Select') + $branch, null, array('class'=>'form-control', 'id' => 'branchId')) !!}
@endif
{!! Form::label('samity', 'Samity:', ['class' => 'control-label']) !!}
{!! Form::select('samityId', array('' => 'Select') + $samity, null, array('class'=>'form-control', 'id' => 'samityId')) !!}
{!! Form::label('loan code', 'Loan Code:', ['class' => 'control-label']) !!}
{!! Form::text('loanCode', $value = null, ['class' => 'form-control', 'id' => 'loanCode', 'type' => 'text']) !!}
{!! Form::label('date from', 'Date From:', ['class' => 'control-label']) !!}
{!! Form::text('dateFrom', $value = null, ['class' => 'form-control datepicker', 'id' => 'dateFrom', 'type' => 'text', 'readonly' => 'readonly']) !!}
{!! Form::label('date to', 'Date To:', ['class' => 'control-label']) !!}
{!! Form::text('dateTo', $value = null, ['class' => 'form-control datepicker', 'id' => 'dateTo', 'type' => 'text', 'readonly' => 'readonly']) !!}
{!! Form::label('', '', ['class' => 'control-label']) !!}
{!! Form::submit('Search', ['id' => 'submit', 'class' => 'btn btn-search', 'style' => 'float:right;color:white']) !!}
{!! Form::close() !!}

UNSETTLED RECOVERY LIST

{{-- --}}
Warning: Undefined variable $SL in /home/shikkhaplus/public_html/demo_bk/resources/views/microfin/loan/loanUnsettledRecovery/viewLoanUnsettledRecovery.blade.php on line 80
@foreach($unsettledRecoveries as $key => $unsettledRecovery) {{-- --}} @if ($unsettledRecovery->ds==1) @else @endif @endforeach
SL# Member Name Member Code Loan Code Samity Code Settlement Type Date Recovery AmountNotesEntry By Action
{{$SL}} {{$members->where('id',$unsettledRecovery->memberIdFk)->first()->name}} {{$members->where('id',$unsettledRecovery->memberIdFk)->first()->code}} {{$loans->where('id',$unsettledRecovery->loanIdFk)->first()->loanCode}} {{$samitys->where('id',$unsettledRecovery->samityIdFk)->first()->code}} {{$unsettledRecovery->recoveryType}} {{date('d-m-Y',strtotime($unsettledRecovery->date))}} {{number_format($unsettledRecovery->amount,2)}}{{$unsettledRecovery->notes}}{{@$employees->where('id',$unsettledRecovery->entryByEmployeeIdFk)->first()->emp_name_english}} {{-- --}} {{-- --}}
{{ $unsettledRecoveries->appends(request()->input())->links() }}
{{-- View Modal --}} {{-- End View Modal --}} {{-- Edit Modal --}} {{-- End Edit Modal --}} {{-- Delete Modal --}} {{-- End Delete Modal --}} @endsection