@extends('layouts.app') @section('content')
PERSONNEL

{{ $saving->first_name . ' ' . $saving->last_name }}

TOTAL BOND

{{ number_format($saving->total_bond, 2) }}

LOAN BALANCE

{{ number_format($saving->loan_balance, 2) }}

STATUS

@if($saving->is_active) ACTIVE @else INACTIVE @endif

@foreach ($loans as $loan) @endforeach
Date Loan Type Amount Deduction Rate Current Balance Status Action
{{ $loan->created_at }} {{-- @if($loan->type == 1) SSS @elseIf($loan->type == 2) Pag-Ibig @elseIf($loan->type == 3) Cash Advance @else Office Loan @endif --}} {{ $loan->type }} {{ number_format($loan->amount, 2) }} {{ number_format($loan->deduction_rate, 2) }} {{ number_format($loan->current_balance, 2) }} @if($loan->is_active) Active @else Inactive @endif
@if($loan->is_active) @else @endif