<div class="row mt-3">
   
    <div class="col-12 d-flex justify-content-center">
        <h5 class="text-center text-uppercase">Member Information</h5>
    </div>
    <hr>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Name</label>
            <p><?php echo e($getMember->firstName); ?> <?php echo e($getMember->lastName); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member NIC</label>
            <p><?php echo e($getMember->nicNumber); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Profession</label>
            <p><?php echo e($getMember->profession); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Gender</label>
            <p><?php echo e($getMember->gender); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member New Account Number</label>
            <p><?php echo e($getMember->newAccountNumber); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Old Account Number</label>
            <p><?php echo e($getMember->oldAccountNumber); ?></p>
        </div>
    </div>
     <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Division</label>
            <p><?php echo e($getMember->division->divisionName); ?></p>
        </div>
    </div>
     <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Village</label>
            <p><?php if($getMember->village != null): ?>
                <?php echo e($getMember->village->villageName); ?>

            <?php endif; ?></p>
        </div>
    </div>
     <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Member Small Group</label>
            <p><?php if($getMember->smallgroup != null): ?>
                <?php echo e($getMember->smallgroup->smallGroupName); ?>

            <?php endif; ?></p>
        </div>
    </div>
    <div class="col-12 d-flex justify-content-center mt-3">
        <h5 class="text-center text-uppercase">Loan Information</h5>
    </div>
    <hr>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Loan Id</label>
            <p><?php echo e($loanDetails->loanId); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Loan Amount</label>
            <p><?php echo e(number_format($loanDetails->principal, 2)); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Loan Term</label>
            <p><?php echo e($loanDetails->loanterm); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">First RepaymentDate</label>
            <p><?php echo e($loanDetails->firstRepaymentDate); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Interest Rate</label>
            <p><?php echo e($loanDetails->interestRate); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Repayment Period</label>
            <p><?php echo e($loanDetails->repaymentPeriod); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Interest type</label>
            <p><?php echo e($loanDetails->interestType); ?></p>
        </div>
    </div>
    <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Loan Officer</label>
            <p><?php echo e($getLoanOfficer->name); ?></p>
        </div>
    </div>
     <div class="col-6 mt-2">
        <div class="form-group">
            <label class="fw-bold">Cheque No</label>
            <p><?php echo e($loanDetails->checkNo ?? "-"); ?></p>
        </div>
    </div>
    <div class="col-12 d-flex justify-content-center">
        <h5 class="text-center text-uppercase">Loan Approval Information</h5>
    </div>
    <hr>

    <?php $__currentLoopData = $getLoanApproval; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $approval): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-6 mt-2">
            <div class="form-group">
                <label class="fw-bold"><?php echo e($approval->approvalType); ?></label>
                <p>
                    <?php $__currentLoopData = $getAllUser; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($user->id == $approval->userId): ?>
                            <?php echo e($user->name); ?>

                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </p>
                <p>
                    <?php echo e($approval->reason); ?>

                </p>
            </div>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

</div>
<?php /**PATH /Users/anlex/Desktop/untitled folder/ngo/resources/views/pages/allpages/memberlogin/loan_details_view_mem.blade.php ENDPATH**/ ?>