@extends('backend.layouts.app') @section('title') {{ __('industry_types_list') }} @endsection @section('content')
This list will be displayed on the company settings page as well as the profile setup page. The company can select which industry his company was in from a list.

{{ __('industry_types_list') }} ({{ $industrytypes ? count($industrytypes) : '0' }})

@if (userCan('industry_types.update') || userCan('industry_types.delete')) @endif @forelse ($industrytypes as $key => $industrytype) @empty @endforelse
{{ __('name') }}{{ __('action') }}
{{ $industrytype->name }}
@foreach ($industrytype->translations as $translation) @if (app()->getLocale() == $translation->locale) @else {{ getLanguageByCodeInLookUp($translation->locale,$app_language) }}: {{ $translation->name }} @endif @endforeach
@if (userCan('industry_types.update')) @endif @if (userCan('industry_types.delete'))
@method('DELETE') @csrf
@endif
{{ __('no_data_found') }}
@if (!empty($industryType) && userCan('industry_types.update'))

{{ __('edit') }} {{ __('industry_type') }}

{{ __('create') }}
@csrf @method('PUT') @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCode($language->code); $name = "name_{$language->code}"; $code = $industryType->translations[$key]['locale'] ?? ''; $data = $industryType->translations->where('locale', $language->code)->first(); $value = $data ? $data->name : ''; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@endif @if (empty($industryType) && userCan('industry_types.create'))

{{ __('create') }} {{ __('industry_type') }}

@if (userCan('industry_types.create'))
@csrf @foreach ($app_language as $key => $language) @php $label = __('name') . ' ' . getLanguageByCode($language->code); $name = "name_{$language->code}"; @endphp
@if ($errors->has($name)) {{ $errors->first($name) }} @endif
@endforeach
@else

{{ __('dont_have_permission') }}

@endif
@endif
@endsection