@extends('layouts.factor-master') @section('style') @stop @section('content')

@if(getWhatsAppType() == 'simpleMessage') 🏦 @else @endif {!!company()['name']!!}

@if(getWhatsAppType() == 'simpleMessage') 📆 @else @endif @lang('layout.Date'): {{convertDate($currencyExch->Date)}} - {{$time}}

@if(getWhatsAppType() == 'simpleMessage') ✍️ @else @endif @lang('layout.Number') : {{$currencyExch->number}}

@if(getWhatsAppType() == 'simpleMessage') 💰 @else @endif @lang('layout.Amount') : {{ myRound($currencyExch->amount)}} @lang('currency.'.($currencyExch->currency)) @if($currencyExch->amount > 0) @else @endif

@if(getWhatsAppType() == 'simpleMessage') 💵 📝 @else @endif @lang('layout.Amount') : {{notowo(round(abs($currencyExch->amount)),'fa')}} @lang('currency.'.($currencyExch->currency))

@if(getWhatsAppType() == 'simpleMessage') 💰 @else @endif @if(getWhatsAppType() == 'simpleMessage') @else @endif @lang('layout.ToRate') : {{$currencyExch->rate}}

@if(getWhatsAppType() == 'simpleMessage') 💵 @else @endif @lang('layout.Equivalent') : {{myRound($currencyExch->ex_amount)}} @lang('currency.'.($currencyExch->ex_currency)) @if($currencyExch->ex_amount > 0)@else @endif

@if(getWhatsAppType() == 'simpleMessage') 💵 📝 @else @endif @lang('layout.Equivalent') : {{notowo(round(abs($currencyExch->ex_amount)),'fa')}} @lang('currency.'.($currencyExch->ex_currency))

@if(getWhatsAppType() == 'simpleMessage') 📋 @else @endif @lang('layout.Description') : {{$currencyExch->description}}

@if(getWhatsAppType() == 'simpleMessage') 👤 @else @endif @lang('layout.Member') : {{$currencyExch->Member}}

@if(getWhatsAppType() == 'simpleMessage') 📞 @else @endif @lang('layout.Whatsapp') : {!! company()['phone'] !!}

@if(getHesabSabeqa() =='true')

@foreach(getStatement($currencyExch->member_id) as $value ) {{-- @if($value['currency'] == $currencyExch->currency) --}} @if($value['invoice'] > 0)

@if(getWhatsAppType() == 'simpleMessage') ⚖ @else @endif @lang('layout.Balance') : @lang('layout.Receivable') - {{myRound($value['invoice'])}} @lang('currency.'.($value['currency']))

@endif
{{-- @endif --}} @endforeach

@endif @if(getHesabSabeqa() =='true')

@foreach(getStatement($currencyExch->member_id) as $value ) @if($value['payment'] > 0)

@if(getWhatsAppType() == 'simpleMessage') ⚖ @else @endif @lang('layout.Balance') : @lang('layout.Payable') - {{myRound($value['payment'])}} @lang('currency.'.($value['currency']))

@endif
@endforeach

@endif @endsection