@extends('layouts.main') @section('content')
{!! Form::label("ID","製品ID",["class"=>"control-label btn"]) !!} | {!! Form::text("ID", $id, ["class"=>"form-control", "id"=>"ID", "readonly", "style" => "width:100px"]) !!} | {!! Form::label("Code","製品コード",["class"=>"control-label btn"]) !!} | {!! Form::text("Code", $ItemCode, ["class"=>"validate[required,maxSize[32],funcCall[checkLtNumHifn]] form-control", "id"=>"Code", "style" => "width:100px"]) !!} |
{!! Form::label("ItemCat","製品分類",["class"=>"control-label btn"]) !!} | @if ( $csele<0 ) @if ( !empty($ItemCat) ) {!! Form::select('ItemCat', ['' => '製品分類を選択'] + array_pluck($ItemCat, 'name', 'id'), 0, ['class' => 'validate[required] form-control', 'id' => 'itemcat' ] ) !!} @endif @else @if ( !empty($ItemCat) ) {!! Form::select('ItemCat', array_pluck($ItemCat, 'name', 'id'), $csele, ['class' => 'validate[required] form-control', 'id' => 'itemcat' ] ) !!} @endif @endif | ||
{!! Form::label("ItemName","製品名",["class"=>"control-label btn"]) !!} | {!! Form::text("ItemName", $ItemName, ["class"=>"validate[required,maxSize[128]] form-control", "id"=>"ItemName"]) !!} | {!! Form::label("ItemNameK","製品名(カナ)",["class"=>"control-label btn"]) !!} | {!! Form::text("ItemNameK", $ItemNamek, ["class"=>"validate[maxSize[128]] form-control", "id"=>"ItemNameK"]) !!} |
{!! Form::label("Memo","備考",["class"=>"control-label btn"]) !!} | {!! Form::textarea("Memo", $memo, ["class"=>"form-control", "id"=>"Memo", 'rows' => '3']) !!} |