@extends('layouts.app') @section('title', __('contact.view_contact'))
{{ $contact->full_name_with_business }}@if($contact->supplier_business_name) @lang('business.business_name'){{ $contact->supplier_business_name }} @endif @lang('business.address'){!! $contact->contact_address !!} @lang('contact.tax_no'){{ $contact->tax_number }} @if($contact->pay_term_type) @lang('contact.pay_term_period'){{ __('lang_v1.' . $contact->pay_term_type) }} @endif @if($contact->pay_term_number) @lang('contact.pay_term'){{ $contact->pay_term_number }} @endif |
@lang('contact.mobile')
{{ $contact->mobile }} @if($contact->landline) @lang('contact.landline'){{ $contact->landline }} @endif @if($contact->alternate_number) @lang('contact.alternate_contact_number'){{ $contact->alternate_number }} @endif @php $custom_labels = json_decode(session('business.custom_labels'), true); @endphp @if(!empty($contact->custom_field1)) {{ $custom_labels['contact']['custom_field_1'] ?? __('lang_v1.contact_custom_field1') }}{{ $contact->custom_field1 }} @endif @if(!empty($contact->custom_field2)) {{ $custom_labels['contact']['custom_field_2'] ?? __('lang_v1.contact_custom_field2') }}{{ $contact->custom_field2 }} @endif @if(!empty($contact->custom_field3)) {{ $custom_labels['contact']['custom_field_3'] ?? __('lang_v1.contact_custom_field3') }}{{ $contact->custom_field3 }} @endif @if(!empty($contact->custom_field4)) {{ $custom_labels['contact']['custom_field_4'] ?? __('lang_v1.contact_custom_field4') }}{{ $contact->custom_field4 }} @endif @if(!empty($contact->custom_field5)) {{ $custom_labels['contact']['custom_field_5'] ?? __('lang_v1.custom_field', ['number' => 5]) }}{{ $contact->custom_field5 }} @endif @if(!empty($contact->custom_field6)) {{ $custom_labels['contact']['custom_field_6'] ?? __('lang_v1.custom_field', ['number' => 6]) }}{{ $contact->custom_field6 }} @endif @if(!empty($contact->custom_field7)) {{ $custom_labels['contact']['custom_field_7'] ?? __('lang_v1.custom_field', ['number' => 7]) }}{{ $contact->custom_field7 }} @endif @if(!empty($contact->custom_field8)) {{ $custom_labels['contact']['custom_field_8'] ?? __('lang_v1.custom_field', ['number' => 8]) }}{{ $contact->custom_field8 }} @endif @if(!empty($contact->custom_field9)) {{ $custom_labels['contact']['custom_field_9'] ?? __('lang_v1.custom_field', ['number' => 9]) }}{{ $contact->custom_field9 }} @endif @if(!empty($contact->custom_field10)) {{ $custom_labels['contact']['custom_field_10'] ?? __('lang_v1.custom_field', ['number' => 10]) }}{{ $contact->custom_field10 }} @endif |
Overall Payment Information @if( $contact->type == 'supplier' || $contact->type == 'both') @lang('report.total_purchase') {{ $contact->total_purchase }} @lang('contact.total_purchase_paid') {{ $contact->purchase_paid }} @lang('contact.total_purchase_due') {{ $contact->total_purchase - $contact->purchase_paid }} @endif @if( $contact->type == 'customer' || $contact->type == 'both') @lang('report.total_sell') {{ $contact->total_invoice }} @lang('contact.total_sale_paid') {{ $contact->invoice_received }} @lang('contact.total_sale_due') {{ $contact->total_invoice - $contact->invoice_received }} @endif @if(!empty($contact->opening_balance) && $contact->opening_balance != '0.00') @lang('lang_v1.opening_balance') {{ $contact->opening_balance }} @lang('lang_v1.opening_balance_due') {{ $contact->opening_balance - $contact->opening_balance_paid }} @endif @lang('lang_v1.advance_balance') {{ $contact->balance }} |