@if(!empty($company_logo)) logo @endif

{{$company_name}}

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

{{ trans_choice('client::general.client',1) }} @if(!empty($loan->client)) {{$loan->client->first_name}} {{$loan->client->last_name}} @endif
{{ trans_choice('loan::general.loan',1) }} # {{$loan->id}}
{{ trans_choice('loan::general.disbursed',1) }} {{$loan->disbursed_on_date}}
{{ trans_choice('loan::general.maturity',1) }} {{ trans_choice('core::general.date',1) }} {{$loan->expected_maturity_date}}
{{ trans_choice('loan::general.repayment',1) }} {{trans_choice('loan::general.every',1)}} {{$loan->repayment_frequency}} @if($loan->repayment_frequency_type=='days') {{trans_choice('loan::general.day',2)}} @endif @if($loan->repayment_frequency_type=='weeks') {{trans_choice('loan::general.week',2)}} @endif @if($loan->repayment_frequency_type=='months') {{trans_choice('loan::general.month',2)}} @endif @if($loan->repayment_frequency_type=='years') {{trans_choice('loan::general.year',2)}} @endif
{{ trans_choice('loan::general.principal',1) }} {{number_format($loan->principal,$loan->decimals)}}
{{ trans_choice('loan::general.interest',1) }} % {{round($loan->interest_rate,2)}} {{trans_choice('loan::general.per',1)}} @if($loan->interest_rate_type=='month') {{trans_choice('loan::general.month',1)}} @endif @if($loan->interest_rate_type=='year') {{trans_choice('loan::general.year',1)}} @endif
{{ trans_choice('loan::general.interest',1) }}
{{ trans_choice('loan::general.fee',2) }}
{{ trans_choice('loan::general.penalty',2) }}
{{ trans_choice('loan::general.due',1) }}
{{ trans_choice('loan::general.paid',2) }}
{{ trans_choice('loan::general.balance',2) }}
@foreach($loan->repayment_schedules as $key)
  {{trans_choice('loan::general.loan_amount_and_balance',1)}} {{trans_choice('loan::general.total_cost_of_loan',1)}}  
# {{trans_choice('core::general.date',1)}} # {{trans_choice('loan::general.day',2)}} {{trans_choice('loan::general.paid',1)}} {{trans_choice('core::general.by',1)}} {{trans_choice('loan::general.disbursement',1)}} {{trans_choice('loan::general.principal',1)}} {{trans_choice('loan::general.due',1)}} {{trans_choice('loan::general.principal',1)}} {{trans_choice('loan::general.balance',1)}} {{trans_choice('loan::general.interest',1)}} {{trans_choice('loan::general.due',1)}} {{trans_choice('loan::general.fee',2)}} {{trans_choice('loan::general.penalty',2)}} {{trans_choice('loan::general.total',1)}} {{trans_choice('loan::general.due',1)}} {{trans_choice('loan::general.total',1)}} {{trans_choice('loan::general.paid',1)}} {{trans_choice('loan::general.total',1)}} {{trans_choice('loan::general.outstanding',1)}}
{{$loan->disbursed_on_date}}   {{number_format($loan->principal,$loan->decimals)}} {{number_format($loan->principal,$loan->decimals)}} {{number_format($loan->disbursement_charges,$loan->decimals)}} {{number_format($loan->disbursement_charges,$loan->decimals)}} {{number_format($loan->disbursement_charges,$loan->decimals)}}