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

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

{{-- @dd($cheque) --}}

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

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

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

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

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

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

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

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

@if(getWhatsAppType() == 'simpleMessage') 💵 @else @endif @lang('layout.Currency') : {{$cheque->currency}}

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

@foreach(getStatement($cheque->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($cheque->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