{{trans('transactions.transaction_details')}}

{{trans('transactions.payment_date')}} : {{dateFormat($transaction['payment_date'])}} {{trans('transactions.transaction_id')}} : {{prefix(4)}}# {{$transaction['id']}} @if($transaction['trans_category_id']){{trans('transactions.trans_category_id')}} : {{$transaction->category->name}} @endif

@if($transaction['relation_id']==0) @endif @if($transaction['relation_id']==9) @endif @if($transaction['relation_id'] == 3) tt @endif
{{(config('core.cname'))}}
{{(config('core.address'))}},
{{(config('core.city'))}}, {{(config('core.region'))}}
{{(config('core.cname'))}} - {{(config('core.postbox'))}}
{{trans('general.phone')}}: {{(config('core.phone'))}}
{{trans('general.email')}}: {{(config('core.email'))}}
@if(config('core.taxid')) {{trans('general.tax_id')}}: {{config('core.taxid')}} @endif
{{trans('payments.received_from')}}
@if($transaction['payer_id']>0) {{$transaction->customer->name}}
{{$transaction->customer->address}}, {{$transaction->customer->city}}
{{$transaction->customer->region}}, {{$transaction->customer->country}} - {{$transaction->customer->postbox}}
{{trans('general.phone')}} : {{$transaction->customer->phone}}
{{trans('general.email')}} : {{$transaction->customer->email}}
@if($transaction->customer->taxid) {{trans('general.tax_id')}}: {{$transaction->customer->taxid}}
@endif @else {{$transaction['payer']}} @endif
{{trans('payments.paid_to')}}
@if($transaction['payer_id']>0) {{$transaction->supplier->name}}
{{$transaction->supplier->address}}, {{$transaction->customer->city}}
{{$transaction->supplier->region}}, {{$transaction->customer->country}} - {{$transaction->supplier->postbox}}
{{trans('general.phone')}} : {{$transaction->supplier->phone}}
{{trans('general.email')}} : {{$transaction->supplier->email}}
@if($transaction->supplier->taxid) {{trans('general.tax_id')}}: {{$transaction->supplier->taxid}}
@endif @else {{$transaction['payer']}} @endif
{{trans('payments.paid_to')}}
@if($transaction['payer_id']>0) {{$transaction->employee->first_name}} {{$transaction->employee->last_name}}
{{$transaction->profile->address_1}}, {{$transaction->profile->city}}
{{$transaction->profile->region}}, {{$transaction->profile->country}} - {{$transaction->profile->postbox}}
{{trans('general.phone')}} : {{$transaction->profile->contact}}
{{trans('general.email')}} : {{$transaction->employee->email}}
@if($transaction->profile->taxid) {{trans('general.tax_id')}}: {{$transaction->profile->taxid}}
@endif @else {{$transaction['payer']}} @endif

{{trans('transactions.debit')}} : {{amountFormat($transaction['debit'])}}

{{trans('transactions.credit')}} : {{amountFormat($transaction['credit'])}}

{{trans('general.note')}} : {{$transaction['note']}} @if($transaction['method']) ({{$transaction['method']}}) @endif