@extends('layouts.report') @section('title',"{$loan_transaction->borrower->title}-{$loan_transaction->borrower->first_name}-{$loan_transaction->borrower->last_name}-repayment-receipt") @push('styles') @endpush @section('content')
{{translate('borrower name')}} |
{{$loan_transaction->borrower->title}} . {{$loan_transaction->borrower->first_name}} {{$loan_transaction->borrower->last_name}} |
{{translate('loan')}} # |
{{$loan_transaction->loan->id}} |
{{translate('transaction type')}} |
@if($loan_transaction->transaction_type=='disbursement') {{translate('disbursement')}} @endif @if($loan_transaction->transaction_type=='specified_due_date') {{translate('specified_due_date')}} {{translate('fee')}} @endif @if($loan_transaction->transaction_type=='installment_fee') {{translate('installment_fee')}} @endif @if($loan_transaction->transaction_type=='overdue_installment_fee') {{translate('overdue_installment_fee')}} @endif @if($loan_transaction->transaction_type=='loan_rescheduling_fee') {{translate('loan_rescheduling_fee')}} @endif @if($loan_transaction->transaction_type=='overdue_maturity') {{translate('overdue_maturity')}} @endif @if($loan_transaction->transaction_type=='disbursement_fee') {{translate('disbursement charge')}} @endif @if($loan_transaction->transaction_type=='interest') {{translate('interest applied')}} @endif @if($loan_transaction->transaction_type=='repayment') {{translate('repayment')}} @endif @if($loan_transaction->transaction_type=='penalty') {{translate('penalty')}} @endif @if($loan_transaction->transaction_type=='interest_waiver') {{translate('interest waiver')}} @endif @if($loan_transaction->transaction_type=='charge_waiver') {{translate('charge waiver')}} @endif @if($loan_transaction->transaction_type=='write_off') {{translate('write_off')}} @endif @if($loan_transaction->transaction_type=='write_off_recovery') {{translate('recovery repayment')}} @endif @if($loan_transaction->transaction_type=='pay_off') {{translate('pay_off')}} @endif |
{{translate('date')}}: |
{{$loan_transaction->date}} |
{{translate('amount')}} |
@if($loan_transaction->credit>$loan_transaction->debit) {{currency_converter($loan_transaction->credit)}} @else {{currency_converter($loan_transaction->debit)}} @endif |
{{translate('receipt')}} |
{{$loan_transaction->receipt}} |
{{translate('balance')}} |
{{currency_converter(\App\Helpers\GeneralHelper::loan_total_balance($loan_transaction->loan->id))}} |
{{translate('collected_by')}}: |
{{$loan_transaction->user->first_name}} {{$loan_transaction->user->last_name}} |