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

CASERP

--}}

@if(getWhatsAppType() == 'simpleMessage') 🔖 @else @endif @if($currencyExch->type == 'BuyCurrency') @lang('layout.BuyCurrency') @else @lang('layout.SaleCurrency') @endif

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

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

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

@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.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(getHesabSabeqa() =='true')

@lang('layout.Bilance') : @foreach(getStatement($currencyExch->member_id) as $value ) @if($value['currency'] == $currencyExch->currency) @if($value['invoice'] > 0) {{myRound($value['invoice'])}} @else {{myRound($value['payment'])}} @endif @if($value['currency']) دالر @else افغانی @endif @endif @endforeach

@endif --}} @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 {{-- @if(getHesabSabeqa() =='true')

@lang('layout.Bilance') : @foreach(getStatement($currencyExch->member_id) as $value ) @if($value['currency'] == $currencyExch->currency) @if($value['invoice'] > 0) {{myRound($value['invoice'])}} (+) @else {{myRound($value['payment'])}} (-) @endif @if($value['currency']) دالر @else افغانی @endif @endif @endforeach

@endif --}}

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

{!!company()['whatsapp_message']!!}

@endsection