@extends('admin.app') @section('content')
@if($groupSubRelations->new == 1) {{ __('variables.elements_list') }} {{ __('variables.add_subject') }} {{ __('variables.elements_basket') }} @else {{ __('variables.elements_list') }} {{ __('variables.elements_basket') }} @endif @if($groupSubRelations->del_to_rec == 1) @endif

@if(!empty($goods_subject_list) && count($goods_subject_list))
@if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1) @endif @foreach($goods_subject_list as $key => $one_goods_subject_list) @if($groupSubRelations->del_to_rec == 1) @if(IfHasChildActive($one_goods_subject_list->goods_subject_id, 'goods_subject')->isEmpty() && CheckIfSubjectHasItems('goods', $one_goods_subject_list->goods_subject_id)->isEmpty()) @else @endif @endif @endforeach
{{__('variables.title_table')}} {{__('variables.parameters')}} {{__('variables.edit_table')}}{{__('variables.active_table')}}{{__('variables.position_table')}}{{__('variables.delete_table')}}
{{ $loop->iteration }} {{!empty(IfHasName($one_goods_subject_list->goods_subject_id, $lang_id, 'goods_subject')) ? IfHasName($one_goods_subject_list->goods_subject_id, $lang_id, 'goods_subject') : __('variables.another_name')}} {{__('variables.parameters')}} @foreach($lang_list as $lang_key => $one_lang) {{$one_lang->lang}} @endforeach
goodsSubjectId->active == 1 ? 'checked' : ''}}>
{{__('variables.delete_inner_modules')}}
@include('admin.templates.pagination', ['paginator' => $goods_subject_id_list]) @else @include('admin.templates.empty-list') @endif
@stop