@extends('online.layouts.app') @section('style') @endsection @section('content')
@if($slider) @foreach($slider AS $record) @endforeach @endif
@if( onlineSystemConfig()['advertisment'] == 1) @endif

@lang('menu.RecommendedProduct')

@if($RecommendedProduct) @foreach($RecommendedProduct AS $record2)
{{substr($record2->description,0,120)}}
@endforeach @endif

@lang('menu.NewProduct')

@if($NewProduct) @foreach($NewProduct AS $record1)
{{$record1->name}}
{{substr($record1->description,0,120)}}
@endforeach @endif

@lang('menu.OurProduct')

@if($inventoryCategory) @foreach($inventoryCategory AS $recordt)
@if(array_key_exists(0, $recordt->item)) @endif
@if(array_key_exists(1, $recordt->item)) @endif @if(array_key_exists(2, $recordt->item)) @endif
@if(array_key_exists(3, $recordt->item))
{{$recordt->item[3]->name}}
@endif
@endforeach @endif

@lang('menu.IncommmingProduct')

@if($IncommmingProduct) @foreach($IncommmingProduct AS $recordI)

{{$recordI->name}}

{{substr($recordI->description,0,120)}}
@lang('layout.More')..
@endforeach @endif
@if( onlineSystemConfig()['advertisment'] == 1) @endif

@lang('menu.Comment')

{{Form::open(['route' => 'comment.store','method' => 'POST','class' => 'form mb-15','id'=>'comment-form'])}} {{ csrf_field() }}

@lang('layout.SendMessage')

@{{ errors.first('name') }}
@{{ errors.first('email') }}
@{{ errors.first('message') }}
{!! Form::close() !!}
@endsection @push('scripts')