@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}}

{{translate('receipt')}}

{{translate('borrower')}}

{{$savings_transaction->borrower->title}} {{$savings_transaction->borrower->first_name}} {{$savings_transaction->borrower->last_name}}

{{translate('account')}} #

{{$savings_transaction->savings->id}}

{{translate('transaction type')}}

@if($savings_transaction->type=='deposit') {{translate('deposit')}} @endif @if($savings_transaction->type=='withdrawal') {{translate('withdrawal')}} @endif @if($savings_transaction->type=='bank_fees') {{translate('charge')}} @endif @if($savings_transaction->type=='interest') {{translate('interest')}} @endif @if($savings_transaction->type=='dividend') {{translate('dividend')}} @endif @if($savings_transaction->type=='transfer') {{translate('transfer')}} @endif @if($savings_transaction->type=='transfer_fund') {{translate('transfer')}} @endif @if($savings_transaction->type=='transfer_loan') {{translate('transfer')}} @endif @if($savings_transaction->type=='guarantee') {{translate('on hold')}} @endif @if($savings_transaction->reversed==1) @if($savings_transaction->reversal_type=="user") ({{translate('user reversed')}} ) @endif @if($savings_transaction->reversal_type=="system") ({{translate('system reversed')}} ) @endif @endif

{{translate('date')}}:

{{$savings_transaction->date}} {{$savings_transaction->time}}

{{translate('amount')}}

@if($savings_transaction->credit>$savings_transaction->debit) {{currency_converter($savings_transaction->credit)}} @else {{currency_converter($savings_transaction->debit)}} @endif

{{translate('receipt')}}

{{$savings_transaction->receipt}}

{{translate('balance')}}

{{currency_converter(\App\Helpers\GeneralHelper::savings_account_balance($savings_transaction->savings_id))}}