@extends('layouts.app') @section('title', __('contact.view_contact')) @section('content') @include('layouts.partials.breadcrumb',['page_title'=> __( 'contact.view_'.$type) , 'bread_crumbs'=>array( array('title'=>__('contact.manage_your_'.$type),'url'=>route('contacts.index').'?type='.$type),array('title'=> __('contact.view_'.$type),'url'=>''))])
@component('components.widget', ['class' => 'box', 'title' => __( 'contact.view_'.$type.'_detail', ['contacts' => __('app.'.$type.'s') ])])
@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')
@endcomponent
@stop @section('javascript') @include('sale_pos.partials.sale_table_javascript') @if(in_array($contact->type, ['both', 'supplier'])) @endif @include('documents_and_notes.document_and_note_js') @if(!empty($contact_view_tabs)) @foreach($contact_view_tabs as $key => $tabs) @foreach ($tabs as $index => $value) @if(!empty($value['module_js_path'])) @include($value['module_js_path']) @endif @endforeach @endforeach @endif @php /*include('sale_pos.partials.subscriptions_table_javascript', ['contact_id' => $contact->id]) */ @endphp @endsection