@extends('crm.layouts.app') @section('content')
@include('crm.customer.common.contact_inner_sidebar')
@csrf @method('PUT')
{{__('Customer Information')}}
{{--
* {{__('Username')}} {{@$errors->first('username')}}
--}}
* {{__('Company Name')}}
{{__('Website')}}
{{__('VAT Number')}}
* {{__('Customer Type')}}
*{{__('Prospect Type')}}
* {{__('Industry')}}
{{-- Customer card ends --}} {{-- SECTION: Primary contact card starts --}}
{{__('Primary Contact')}}
* {{__('Title')}}
{{@$errors->first('title_id')}}
* {{__('First Name')}}
{{@$errors->first('first_name')}}
* {{__('Last Name')}}
{{@$errors->first('last_name')}}
* {{__('Email')}} {{@$errors->first('email')}}
* {{__('Phone')}}
* {{__('WhatsApp')}}
* {{__('Customer Speaks')}}
{{__('Personal ID')}}
{{__('Birth Date')}}
first_contact->decision_maker == 'yes') checked @endif /> first_contact->decision_maker == 'no') checked @endif />
first_contact->gender == 'male') checked @endif /> first_contact->gender == 'female') checked @endif /> first_contact->gender == 'other') checked @endif />
{{__('Notes')}}
{{__('Address Line 1')}}
{{__('Address Line 2')}}
{{__('Country Name')}}
{{__('State Name')}}
{{__('City Name')}}
{{__('Zip')}}
{{__('Phone 1')}}
{{__('Phone 2')}}
{{__('Email 1 ')}}
{{__('Email 2 ')}}
is_shipping_address == 'yes') checked @endif />         is_billing_address == 'yes') checked @endif />
{{__('Linkedin')}}
{{__('Facebook')}}
{{__('Twitter')}}
{{__('Skype')}}
{{__('Instagram')}}
{{__('YouTube')}}
{{__('Tumblr')}}
{{__('Snapchat')}}
{{__('Reddit')}}
{{__('Pinterest')}}
{{__('Telegram')}}
{{__('Vimeo')}}
{{__('Patreon')}}
{{__('Flickr')}}
{{__('Discord')}}
{{__('Tiktok')}}
{{__('Vine')}}
{{-- SOCIAL MEDIA CARD ENDS --}}

{{__('Manage Contacts')}}

@php $contact_ids = response()->json(@$customer->contacts->modelKeys()); @endphp @foreach (@$customer->contacts as $contact) @endforeach
{{__('Primary')}} {{__('Name')}} {{__('Contact')}} {{__('Actions')}}
@csrf @method('PUT')
@can('update-contact', User::class) {{@$contact->first_name}} {{@$contact->last_name}} @endcan {{@$contact->phone}} @can('update-contact', User::class) @endcan {{-- Edit Contact Modal Starts Here --}} {{-- Edit Contact Modal Ends Here --}} @can('delete-contact', User::class)
@method('DELETE') @csrf
@endcan
{{-- All Modal Starts Here --}} {{-- Add Modal Ends Here --}} {{-- All Modal Starts Here --}} {{-- Add Modal Ends Here --}} @endsection @section('scripts') @include('crm.customer.show_js') @endsection