@extends('layouts/microfin_layout') @section('title', '|Pass Book Add Balance') @section('content') {{-- @include('microfin/reports/passBookBalanceViews/PassBookBalanceAjax') --}}

Add Pass Book Balance

{!! Form::open(array('url' => 'PassBookBalanceSubmit', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'POST')) !!} {{-- @method('POST') @csrf --}}
{{-- Start of Branch Name --}}
{{-- Start of the Submit Button --}} {{-- --}} @php $loanTracker = 0; $savingsTracker = 0; $loanNameTracker = 0; @endphp @if (sizeof($memberInformations) > 0) @foreach ($memberInformations as $key => $memberInformation) {{-- --}} {{-- --}} {{-- --}} @foreach ($memberSavingsInformations as $key => $memberSavingsInformation) @if ($memberInformation->id == $memberSavingsInformation->id) @foreach ($memberLoanInformations as $key => $memberLoanInformation) @if ($memberLoanInformation->id == $memberInformation->id and $loanNameTracker == 0) @php $loanTracker = $loanTracker + 1; $loanNameTracker = $loanNameTracker + 1; @endphp @break @endif @endforeach @if ($loanTracker == 0) @endif @php $loanTracker = 0; @endphp @php $savingsTracker = $savingsTracker + 1; @endphp {{-- @break --}} {{-- Need to work here --}} @endif @endforeach @if ($savingsTracker == 0) @foreach ($memberLoanInformations as $key => $memberLoanInformation) @if ($memberLoanInformation->id == $memberInformation->id) @php $loanTracker = $loanTracker + 1; @endphp @break @endif @endforeach @if ($loanTracker == 0) @endif @php $loanTracker = 0; @endphp @endif @php $savingsTracker = 0; $loanNameTracker = 0; @endphp {{-- --}} @endforeach @else @endif
branchId
samityId
productId
Member Information
Loan Information
Savings Information
Member ID
Member Name
Loan ID
Outstanding
Due
Savings ID
Balance
PLEASE SELECT AT LEAST ONE SAMITY TO GET ADD FORM !
{!! Form::label('', '', ['class' => 'control-label col-md-12', 'style' => 'color:#708090; padding-top: 25px;']) !!}
{{-- End of the Submit button --}}
{{-- {!! Form::close() !!} --}}
{!! Form::close() !!} {{-- @php dd(sizeof($memberInformations)); @endphp --}}


{{--
--}}
@endsection