@extends('app') @include('nav-bar') @include('left-menu') @section('content') @include('speedbar') @if($groupSubRelations->new == 1) @include('list-elements', [ 'actions' => [ trans('variables.elements_list') => urlForFunctionLanguage($lang, ''), trans('variables.add_subject') => urlForFunctionLanguage($lang, 'createGoodsSubject/creategoodssubject'), trans('variables.elements_basket') => urlForFunctionLanguage($lang, 'goodsSubjectCart/goodssubjectcart') ], 'search' => 'true' ]) @else @include('list-elements', [ 'actions' => [ trans('variables.elements_list') => urlForFunctionLanguage($lang, ''), trans('variables.elements_basket') => urlForFunctionLanguage($lang, 'goodsSubjectCart/goodssubjectcart') ], 'search' => 'true' ]) @endif @if(!empty($goods_subject_list))
| {{trans('variables.title_table')}} | {{trans('variables.parameters')}} | {{trans('variables.edit_table')}} | @if($groupSubRelations->active == 1){{trans('variables.active_table')}} | @endif{{trans('variables.position_table')}} | @if($groupSubRelations->del_to_rec == 1){{trans('variables.delete_table')}} | @endif||
|---|---|---|---|---|---|---|---|
| {{!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') : trans('variables.another_name')}} | @if(empty(IfHasChildActive($one_goods_subject_list->goods_subject_id, 'goods_subject')) && !empty(CheckIfSubjectHasItems('goods', $one_goods_subject_list->goods_subject_id)))
{{trans('variables.parameters')}}
{{trans('variables.brand')}} {{trans('variables.related_categories')}} |
@else
@endif | @foreach($lang_list as $lang_key => $one_lang) goods_subject_id, $one_lang->id, 'goods_subject')) ? '' : 'class=negative'}}>{{trans('variables.edit_'.$one_lang->lang)}} @endforeach | @if($groupSubRelations->active == 1){{$one_goods_subject_list->goodsSubjectId->active == 1 ? '+' : '-'}} | @endif@if($groupSubRelations->del_to_rec == 1) @if(empty(IfHasChildActive($one_goods_subject_list->goods_subject_id, 'goods_subject')) && empty(CheckIfSubjectHasItems('goods', $one_goods_subject_list->goods_subject_id))) | @else | {{trans('variables.delete_inner_modules')}} | @endif @endif
| {!! $goods_subject_id_list->links() !!} | |||||||