@php
// Data passed from CompanyController@show:
// $company
// $activities
// The following are now primarily for the pageData JS object,
// as company-show-interactions.js will handle form element population.
// $taskStatuses, $taskPriorities, $allPipelinesForForm, $pipelinesWithStages
use Illuminate\Support\Str;
@endphp
@extends('layouts.layoutMaster')
@section('title', __('Company Details') . ': ' . $company->name)
@section('vendor-style')
@vite([
// DataTables for potential future use in tabs, or if you prefer for lists here
// 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss',
'resources/assets/vendor/libs/select2/select2.scss', // For offcanvas forms
'resources/assets/vendor/libs/flatpickr/flatpickr.scss', // For offcanvas forms
'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss'// For notifications
])
@endsection
@section('vendor-script')
@vite([
// 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js',
'resources/assets/vendor/libs/select2/select2.js',
'resources/assets/vendor/libs/flatpickr/flatpickr.js',
'resources/assets/vendor/libs/moment/moment.js', // For Flatpickr
'resources/assets/vendor/libs/sweetalert2/sweetalert2.js'
])
@endsection
@section('page-script')
{{-- Load module JavaScript after vendor scripts --}}
@vite(['Modules/CRMCore/resources/assets/js/companies/show.js'])
{{-- forms-select2-ajax.js might not be needed if company-show.js handles all its Select2 inits --}}
@endsection
@section('content')
@php
$breadcrumbs = [
['name' => __('CRM'), 'url' => '#'],
['name' => __('Companies'), 'url' => route('companies.index')]
];
@endphp
{{-- Breadcrumb --}}
{{ $company->description }}
@endif