@extends('admin.app') @section('content')

@csrf
@if(!empty($goods_parameters) && count($goods_parameters)) @php $curr_goods_subject_id = null; if(!is_null($current_subject_id)) $curr_goods_subject_id = $current_subject_id->id; else $curr_goods_subject_id = $goods_item_id->goods_subject_id; @endphp
{{__('variables.parameters_list')}}

@foreach($goods_parameters as $one_parameter)
measure_type == 'with_measure' ? ' class=input-group' : '' }}> {{addEditParameterInItem($one_parameter->goods_parametr_id, $lang_id, $goods_item_id->id, getMainCatalogId())}}
@endforeach
@endif
{{__('variables.seo_settings')}}

@if(!empty($lang_list) && count($lang_list))
@endif
@if(!empty($brand) && count($brand))
@endif
new_element == 1 ? 'checked' : ''}}>
popular_element == 1 ? 'checked' : ''}}>
in_stoc == 1 ? 'checked' : ''}}>
@if($groupSubRelations->save == 1)
@endif

{{__('variables.drag_and_drop_images')}}

@if(!$goods_photo->isEmpty())
@if($groupSubRelations->del_to_rec == 1) @endif
@if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1) @endif @foreach($goods_photo as $one_goods_photo) @if($groupSubRelations->del_to_rec == 1) @endif @endforeach
{{__('variables.photo')}}{{__('variables.active_table')}}{{__('variables.position_table')}}{{__('variables.delete_table')}}
{{ $loop->iteration }} @if(!empty($one_goods_photo->img) && file_exists('upfiles/goods-items/' . $one_goods_photo->img)) @else no-image @endif
active == 1 ? 'checked' : ''}}>
@endif
@stop