@if(!empty(\App\Models\Setting::where('setting_key','company_logo')->first()->setting_value)) @endif

{{\App\Models\Setting::where('setting_key','company_name')->first()->setting_value}}

{{trans_choice('general.loan',1)}} {{trans_choice('general.repayment',1)}} {{trans_choice('general.schedule',1)}}


@if($loan->client_type=="client") @endif @if($loan->client_type=="group") @endif
{{trans_choice('general.client',1)}} @if(!empty($loan->client)) @if($loan->client->client_type=="individual") {{$loan->client->first_name}} {{$loan->client->middle_name}} {{$loan->client->last_name}} ({{trans_choice('general.individual',1)}}) @else {{$loan->client->full_name}} ({{trans_choice('general.business',1)}}) @endif @endif
{{trans_choice('general.group',1)}} @if(!empty($loan->client)) {{$loan->group->name}} @endif
{{trans_choice('general.loan',1)}} # {{$loan->id}}
{{trans_choice('general.disbursed',1)}} {{$loan->disbursement_date}}
{{trans_choice('general.maturity',1)}} {{trans_choice('general.date',1)}} {{$loan->expected_maturity_date}}
{{trans_choice('general.repayment',1)}} {{trans_choice('general.every',1)}} {{$loan->repayment_frequency}} @if($loan->repayment_frequency_type=="days") {{trans_choice('general.day',2)}} @endif @if($loan->repayment_frequency_type=="weeks") {{trans_choice('general.week',2)}} @endif @if($loan->repayment_frequency_type=="months") {{trans_choice('general.month',2)}} @endif @if($loan->repayment_frequency_type=="years") {{trans_choice('general.year',2)}} @endif
{{trans_choice('general.principal',1)}} {{number_format($loan->principal,2)}}
{{trans_choice('general.interest',1)}}% {{$loan->interest_rate}} @if($loan->override_interest==0) {{trans_choice('general.per',1)}} @if($loan->interest_rate_type=="day") {{trans_choice('general.day',1)}} @endif @if($loan->interest_rate_type=="week") {{trans_choice('general.week',1)}} @endif @if($loan->interest_rate_type=="month") {{trans_choice('general.month',1)}} @endif @if($loan->interest_rate_type=="year") {{trans_choice('general.year',1)}} @endif @endif