@extends('layouts.app') @section('content') @if(Auth::user()->user_type == 'customer' && Auth::user()->document_verified_at == null && get_option('enable_kyc') == 'yes')
{{ _lang('Loan ID') }} | {{ _lang('Next Payment Date') }} | {{ _lang('Status') }} | {{ _lang('Amount to Pay') }} | {{ _lang('Action') }} | @if(count($loans) == 0)
---|---|---|---|---|
{{ _lang('No Active Loan Available') }} |
||||
{{ $loan->loan_id }} | {{ $loan->next_payment->repayment_date }} | {!! $loan->next_payment->repayment_date >= date('Y-m-d') ? xss_clean(show_status(_lang('Upcoming'),'success')) : xss_clean(show_status(_lang('Due'),'danger')) !!} | {{ decimalPlace($loan->next_payment->amount_to_pay, currency($loan->currency->name)) }} | {{ _lang('Pay Now') }} |
{{ _lang('Date') }} | {{ _lang('Currency') }} | {{ _lang('Amount') }} | {{ _lang('Charge') }} | {{ _lang('Grand Total') }} | {{ _lang('DR/CR') }} | {{ _lang('Type') }} | {{ _lang('Method') }} | {{ _lang('Status') }} | |
---|---|---|---|---|---|---|---|---|---|
{{ $transaction->created_at }} | {{ $transaction->currency->name }} | @if($transaction->dr_cr == 'dr'){{ decimalPlace(($transaction->amount - $transaction->fee), currency($transaction->currency->name)) }} | @else{{ decimalPlace(($transaction->amount + $transaction->fee), currency($transaction->currency->name)) }} | @endif{{ $transaction->dr_cr == 'dr' ? '+ '.decimalPlace($transaction->fee, currency($transaction->currency->name)) : '- '.decimalPlace($transaction->fee, currency($transaction->currency->name)) }} | {{ $symbol.' '.decimalPlace($transaction->amount, currency($transaction->currency->name)) }} | {{ strtoupper($transaction->dr_cr) }} | {{ str_replace('_',' ',$transaction->type) }} | {{ $transaction->method }} | {!! xss_clean(transaction_status($transaction->status)) !!} |