@extends('_version_02.commons.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.commons.layouts.partials._alert')
{{App\Language::trans('Product Detail')}}

@php $is_first = true; $active_language_listing = App\Opencart\Language::get_listing_by_language_status(true); @endphp
{!! Form::label('english_description', App\Language::trans('Name'), ['class'=>'control-label col-md-2']) !!}
{!! Form::text('english_description', null, ['id'=>'english_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('english_description', '')!!}
{!! Form::label('english_content', App\Language::trans('Content'), ['class'=>'control-label col-md-2']) !!}
{!! Form::textarea('english_content', null, ['id'=>'english_content', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('english_content', '')!!}
{!! Form::label('malay_description', App\Language::trans('Name'), ['class'=>'control-label col-md-2']) !!}
{!! Form::text('malay_description', null, ['id'=>'malay_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('malay_description', '')!!}
{!! Form::label('malay_content', App\Language::trans('Content'), ['class'=>'control-label col-md-2']) !!}
{!! Form::textarea('malay_content', null, ['id'=>'malay_content', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('malay_content', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Name'), ['class'=>'control-label col-md-2']) !!}
{!! Form::text('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('chinese_content', App\Language::trans('Content'), ['class'=>'control-label col-md-2']) !!}
{!! Form::textarea('chinese_content', null, ['id'=>'chinese_content', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_content', '')!!}
{{App\Language::trans('Product Detail')}}

{!! Form::label('chinese_description', App\Language::trans('Price'), ['class'=>'control-label col-md-2']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Quantity'), ['class'=>'control-label col-md-2']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Minimum Quantity'), ['class'=>'control-label col-md-2']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Out Of Stock Status'), ['class'=>'control-label col-md-2']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('lenght_class_id', App\Language::trans('Length Class'), ['class'=>'control-label col-md-2']) !!}
{!! Form::select('lenght_class_id', App\Opencart\LengthClassDescription::combobox(1), null, ['class'=>'form-control','onchange'=>'init_currency_rate(this)']) !!} {!!$errors->first('lenght_class_id', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Dimension (L x W x H)'), ['class'=>'control-label col-md-3']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control','placeholder'=>'Length']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control','placeholder'=>'Width']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control','placeholder'=>'Height']) !!} {!!$errors->first('chinese_description', '')!!}
{!! Form::label('weight_class_id', App\Language::trans('Weight Class'), ['class'=>'control-label col-md-2']) !!}
{!! Form::select('weight_class_id', App\Opencart\WeightClassDescription::combobox(1), null, ['class'=>'form-control','onchange'=>'init_currency_rate(this)']) !!} {!!$errors->first('weight_class_id', '')!!}
{!! Form::label('chinese_description', App\Language::trans('Weight'), ['class'=>'control-label col-md-2']) !!}
{!! Form::number('chinese_description', null, ['id'=>'chinese_description', 'rows'=>'10' , 'cols'=>'80','class'=>'form-control']) !!} {!!$errors->first('chinese_description', '')!!}
{{App\Language::trans('Product Photos')}}

{!! Form::label('category_id', App\Language::trans('Category'), ['class'=>'control-label col-md-2']) !!}
{!! Form::select('category_id', App\Opencart\CategoryDescription::combobox(1), null, ['class'=>'form-control','onchange'=>'init_currency_rate(this)']) !!} {!!$errors->first('category_id', '')!!}
{!! Form::label('product_images', App\Language::trans('Photo'), ['class'=>'control-label col-md-2']) !!}

{{App\Language::trans('Click to select product cover photo.')}}
{!! Form::close() !!} @endsection @section('script') $(function () { // Replace the