@php $manageTypePermission = user()->permission('manage_ticket_type'); $manageAgentPermission = user()->permission('manage_ticket_agent'); $manageChannelPermission = user()->permission('manage_ticket_channel'); $manageGroupPermission = user()->permission('manage_ticket_groups'); @endphp

@lang('modules.tickets.ticketDetail')

@if (!in_array('client', user_roles())) @if ($addPermission == 'all') @if (!(isset($client)) && !(isset($employee)) && in_array('clients', user_modules()) && in_array('employees', user_modules()))
@elseif(!in_array('employees', user_modules())) @elseif(!in_array('clients', user_modules())) @endif
@if (isset($client) && !is_null($client)) @else @foreach ($clients as $client) @endforeach @endif
@if(isset($employee) && !is_null($employee)) @else @endif
@else @endif @else @endif
@if($manageGroupPermission == 'all') @endif
@if (!in_array('client', user_roles()))
@if ($manageAgentPermission == 'all') @endif
@endif

@lang('modules.client.clientOtherDetails')

@if ($manageTypePermission == 'all') @endif
@if ($manageChannelPermission == 'all') @endif
@lang('app.save') @lang('app.cancel')