@extends('layouts.main') @section('content')
{{ Form::open(['url' => 'callcenter/update/' . $id, 'method' => 'POST', 'name' => 'form', 'id' => 'createform', 'files' => true]) }}
電話受付情報

電話受付情報(更新)

{{-- 通知メッセージ --}} @if ($message <> "")
{{ Form::label("message", $message, ["class"=>"form-control btn-success btn"]) }}
@endif @if (session()->has('errors'))
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ Form::label("code","作業連番",["class"=>"control-label btn"]) }} {{ Form::text("code", $data->id, ["class"=>"form-control", "id"=>"code", "style"=>"width:120px", "readonly"]) }} {{ Form::label("accept_ymd","受付日",["class"=>"control-label btn"]) }} {{ Form::text("accept_ymd", $data->accept_ymd, ["class"=>"form-control", "id"=>"accept_ymd", "style"=>"width:120px"]) }}
{{ Form::label("customer_tel","取引先TEL",["class"=>"control-label btn"]) }} {{ Form::tel("customer_tel", $data->customer_tel, ["class"=>"form-control", "id"=>"customer_tel", "maxlength"=>"12", "pattern"=>"\d{1,5}-\d{1,4}-\d{3,4}", 'onChange' => 'getCustomer()']) }} {{ Form::label("customer_name","取引先名称",["class"=>"control-label btn"]) }} {{ Form::text("customer_name", $data->customer_name, ["class"=>"form-control", "id"=>"customer_name"]) }} {{ Form::label("customer_username","取引先担当者",["class"=>"control-label btn"]) }} {{ Form::text("customer_username", $data->customer_username, ["class"=>"form-control", "id"=>"customer_username"]) }}
{{ Form::label("request_info", "依頼内容", ["class"=>"control-label btn"]) }} {{ Form::textarea("request_info", $data->request_info, ["class"=>"form-control", "id"=>"request_info", 'rows' => '4']) }}
{{ Form::label("memo", "特記事項", ["class"=>"control-label btn"]) }} {{ Form::textarea("memo", $data->memo, ["class"=>"form-control", "id"=>"memo", 'rows' => '4']) }}
{{ Form::label("reception_name", "電話受付者", ["class"=>"control-label btn"]) }} {{ Form::text("reception_name", $data->reception_name, ["class"=>"form-control", "id"=>"reception_name"]) }}
{{ Form::hidden("id", $data->id, ["id"=>"id"]) }} {{ Form::hidden("status", $data->status, ["id"=>"status"]) }} {{ Form::hidden("item_id", $data->item_id, ["id"=>"item_id"]) }} {{ Form::hidden("company_id", $data->company_id, ["id"=>"company_id"]) }} {{ Form::hidden("agency_id", $data->agency_id, ["id"=>"agency_id"]) }} {{ Form::hidden("customer_id", $data->customer_id, ["id"=>"customer_id"]) }} {{ Form::hidden("machine_id", $data->machine_id, ["id"=>"machine_id"]) }} {{ Form::hidden("company_div", $data->company_div, ["id"=>"company_div"]) }} @if ($message == "") {{ Form::button(" 登録 ", ["class"=>"btn btn-success", "id"=>"submit_btn"]) }} {{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"javascript:window.history.back(-1);return false;"]) }} @else {{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"location.href='/callcenter/index'"]) }} @endif {{ Form::close() }}
@endsection