@include('contact.contact_basic_info')
@include('contact.contact_more_info')
@if( $contact->type != 'customer')
@include('contact.contact_tax_info')
@endif {{--
@include('contact.contact_payment_info')
@if( $contact->type == 'customer' || $contact->type == 'both')
@lang('lang_v1.total_sell_return')

{{ $contact->total_sell_return }}

@lang('lang_v1.total_sell_return_due')

{{ $contact->total_sell_return - $contact->total_sell_return_paid }}

@endif --}} @if( $contact->type == 'supplier' || $contact->type == 'both')
@if(($contact->total_purchase - $contact->purchase_paid) > 0) @lang("contact.pay_due_amount") @endif
@endif @can('add_discount')
@endcan @php $total_invoice = empty($contact->total_invoice) ? 0 : $contact->total_invoice; $amount = $total_invoice - $contact->invoice_received; @endphp @if($contact->type=='customer' &&($amount > 0 && $contact->balance > 0) ) @can('pay_due_by_contact_balance') @endcan @endif