@extends('layouts/microfin_layout') @section('title', '| Loan Waiver') @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' => 'viewMfnLoanWaiver', '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('filWaiverType', 'Waiver Type:', ['class' => 'control-label']) !!}
{!! Form::select('filWaiverType', array(''=>'Select')+$waiverType, null, array('class'=>'form-control')) !!}
{!! 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() !!}

WAIVER LIST


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