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

{{App\Language::trans('Detail Form')}}

{!! Form::label('code', App\Language::trans('Code'), ['class'=>'control-label col-md-4']) !!}

{{$model->code}}

{!! Form::label('name', App\Language::trans('Name'), ['class'=>'control-label col-md-4']) !!}

{{$model->name}}

{!! Form::label('barcode', App\Language::trans('Barcode'), ['class'=>'control-label col-md-4']) !!}

{{$model->barcode}}

{!! Form::label('lead_time', App\Language::trans('Lead Time'), ['class'=>'control-label col-md-4']) !!}

{{$model->lead_time}}

{!! Form::label('product_category_id', App\Language::trans('Category'), ['class'=>'control-label col-md-4']) !!}

{{$model->display_relationed('product_category', 'name')}}

{!! Form::label('cost_method', App\Language::trans('Cost Method'), ['class'=>'control-label col-md-4']) !!}

{{ucfirst($model->cost_method)}}

{{App\Language::trans('Price & Quantity Form')}}

{!! Form::label('uom_id', App\Language::trans('Unit Of Measurement'), ['class'=>'control-label col-md-4']) !!}

{{$model->display_relationed('uom', 'name')}}

{!! Form::label('selling_price', App\Language::trans('Selling Price'), ['class'=>'control-label col-md-4']) !!}

{{$model->selling_price}}

{!! Form::label('purchase_price', App\Language::trans('Purchase Price'), ['class'=>'control-label col-md-4']) !!}

{{$model->purchase_price}}

{!! Form::label('standard_cost', App\Language::trans('Standard Cost'), ['class'=>'control-label col-md-4']) !!}

{{$model->standard_cost}}

{!! Form::label('min_quantity', App\Language::trans('Min. Quantity'), ['class'=>'control-label col-md-4']) !!}

{{$model->min_quantity}}

{!! Form::label('max_quantity', App\Language::trans('Max. Quantity'), ['class'=>'control-label col-md-4']) !!}

{{$model->max_quantity}}

{!! Form::label('reorder_quantity', App\Language::trans('Reorder Quantity'), ['class'=>'control-label col-md-4']) !!}

{{$model->reorder_quantity}}

@include('commons.products.partials.__prices_view')

{{App\Language::trans('Other Detail Form')}}

{!! Form::label('status', App\Language::trans('Status'), ['class'=>'control-label col-md-4']) !!}

{{$model->display_status_string('status')}}

{!! Form::label('is_obsolete', App\Language::trans('Is Obsolete'), ['class'=>'control-label col-md-4']) !!}

{{$model->display_answer_string('is_obsolete')}}

{!! Form::label('remark', App\Language::trans('Remark'), ['class'=>'control-label col-md-2']) !!}

{!!nl2br($model->remark)!!}

{!! Form::close() !!} @endsection @section('script') @endsection