@if ($company_id == 0)
{{ Form::label("mobile_phone_id","作業店設定",["class"=>"control-label btn"]) }} |
{{ Form::select('mobile_phone_id', $company, $datas->mobile_phone_id, ['class' => 'form-control', 'id' => 'mobile_phone_id', 'style' => 'width:50%;', 'onChange' => 'makeList_Company()']) }} |
@endif
{{ Form::label("customer_id","顧客番号",["class"=>"control-label btn"]) }} |
{{ Form::text("customer_id", $datas->customer_id, ["class"=>"form-control", "id"=>"customer_id", "style" => "width:90px", "readonly"]) }} |
@if ($company_id <> 0)
{{ Form::hidden("company_id", $company_id) }} |
{{ Form::hidden("status", $datas->status) }} |
@endif
{{ Form::label("company_name","取引先名",["class"=>"control-label btn"]) }} |
{{ Form::text("company_name", $datas->company_name, ["class"=>"form-control validate[required]", "id"=>"company_name", 'style' => 'width:50%']) }}
|
{{ Form::label("name01","担当者名",["class"=>"control-label btn"]) }} |
{{ Form::text("name01", $datas->name01, ["class"=>"form-control validate[required]", "id"=>"name01", 'style' => 'width:25%']) }}
{{ Form::text("name02", $datas->name02, ["class"=>"form-control validate[required]", "id"=>"name02", 'style' => 'width:25%']) }}
|
{{ Form::label("kana01","担当者名(カナ)",["class"=>"control-label btn"]) }} |
{{ Form::text("kana01", $datas->kana01, ["class"=>"form-control validate[required]", "id"=>"kana01", 'style' => 'width:25%']) }}
{{ Form::text("kana02", $datas->kana02, ["class"=>"form-control validate[required]", "id"=>"kana02", 'style' => 'width:25%']) }}
|
{{ Form::label("zip01","郵便番号",["class"=>"control-label btn"]) }} |
{{ Form::text("zip01", $datas->zip01, ["class"=>"form-control imeoff", "id"=>"zip01", "maxlength" => "3", 'style' => 'width:10%']) }}
{{ Form::text("zip02", $datas->zip02, ["class"=>"form-control imeoff", "id"=>"zip02", "maxlength" => "4", 'style' => 'width:10%']) }}
|
{{ Form::label("pref","住所",["class"=>"control-label btn"]) }} |
{{ Form::select('pref', $prefs, $datas->pref, ['class' => 'form-control', 'id' => 'pref', 'style' => 'width:25%;']) }}
{{ Form::text("addr01", $datas->addr01, ["class"=>"form-control", "id"=>"addr01", "style" => "width:25%"]) }}
{{ Form::text("addr02", $datas->addr02, ["class"=>"form-control", "id"=>"addr02", "style" => "width:25%"]) }}
|
{{ Form::label("tel01","電話番号",["class"=>"control-label btn"]) }} |
{{ Form::tel("tel01", $datas->tel01, ["class"=>"form-control imeoff", "id"=>"tel01", "maxlength"=>"4", 'style' => 'width:25%', "pattern"=>"\d{1,5}-\d{1,4}-\d{3,4}", 'onChange' => 'getCustomer()']) }} -
{{ Form::tel("tel02", $datas->tel02, ["class"=>"form-control imeoff", "id"=>"tel02", "maxlength"=>"4", 'style' => 'width:25%', "pattern"=>"\d{1,5}-\d{1,4}-\d{3,4}", 'onChange' => 'getCustomer()']) }} -
{{ Form::tel("tel03", $datas->tel03, ["class"=>"form-control imeoff", "id"=>"tel03", "maxlength"=>"4", 'style' => 'width:25%', "pattern"=>"\d{1,5}-\d{1,4}-\d{3,4}", 'onChange' => 'getCustomer()']) }}
|
{{ Form::label("email","E-Mail",["class"=>"control-label btn"]) }} |
{{ Form::tel("email", $datas->email, ["class"=>"form-control imeoff", "id"=>"email", 'style' => 'width:50%']) }} |
{{ Form::label("password","パスワード",["class"=>"control-label btn"]) }} |
{{ Form::password("password", ["class"=>"form-control validate[required]", "id"=>"password", 'style' => 'width:20%']) }}
{{ Form::hidden("default_password", $datas->password) }}
|
{{ Form::label("password_confirmation","パスワード(確認用)",["class"=>"control-label btn"]) }} |
{{ Form::password("password_confirmation", ["class"=>"form-control validate[required]", "id"=>"password_confirmation", 'style' => 'width:20%']) }} |