@extends('layouts.main') @section('content')
{{ Form::open([ 'url' => 'mstitem/update/' . $request->id, 'method' => 'POST', 'name' => 'form', 'id' => 'createform' ]) }}
製品情報登録(更新)

製品情報

{{-- 通知メッセージ --}} @if ($message <> "")
{{ Form::label("message", $message, ["class"=>"form-control btn-success btn"]) }}
@endif @if (session()->has('errors'))
    @foreach ($errors->all() as $message)
  • {{ $message }}
  • @endforeach
@endif
{{ Form::label("itemcat","製品分類",["class"=>"control-label btn"]) }} {{ Form::select('itemcat', $itemcat, $itemdata->category_id, ['class' => 'validate[required] form-control', 'id' => 'itemcat' ] ) }} {{ Form::label("itemcode","製品コード",["class"=>"control-label btn"]) }} {{ Form::text("itemcode", $itemdata->item_code, ["class"=>"validate[required,maxSize[32],funcCall[checkLtNumHifn]] form-control", "id"=>"item_code", "style" => "width:100px"]) }} {{ Form::label("itemmodel","製品型式",["class"=>"control-label btn"]) }} {{ Form::text("itemmodel", $itemdata->model, ["class"=>"validate[required,funcCall[checkLtNumHifn]] form-control", "id"=>"itemmodel"]) }}
{{ Form::label("itemname","製品名",["class"=>"control-label btn"]) }} {{ Form::text("itemname", $itemdata->item_name, ["class"=>"validate[required,maxSize[128]] form-control", "id"=>"itemname"]) }} {{ Form::label("itemnamek","製品名(カナ)",["class"=>"control-label btn"]) }} {{ Form::text("itemnamek", $itemdata->item_namek, ["class"=>"validate[maxSize[128]] form-control", "id"=>"itemnamek"]) }}
{{ Form::label("description","備考",["class"=>"control-label btn"]) }} {{ Form::textarea("description", $itemdata->item_description, ["class"=>"form-control", "id"=>"description", 'rows' => '3']) }}

定期交換部品

エラー内容

利用可能得意先

{{ Form::hidden("id", $itemdata->item_id, ["id"=>"id"]) }} {{ Form::hidden("option1", "", ["id"=>"option1"]) }} {{ Form::hidden("option2", "", ["id"=>"option2"]) }} {{ Form::hidden("users", "", ["id"=>"users"]) }} {{ Form::submit(" 更新 ", ["class" => "btn btn-success", "onClick" => "execUpdate();" ]) }} {{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"javascript:window.history.back(-1);return false;"]) }} {{ Form::close() }}
@endsection