問い合わせ番号 | 経路 | 受付登録日時※ |
@if((isset($params->id) && $params->id && $params->is_frontend == config('const.is_frontend.yes')))
@php
if(isset($params) &&is_object($params) && empty($params->register_hour) && empty($params->register_minute)){
$params->register_hour = Carbon::parse($params->register_date)->format('H');
$params->register_minute = Carbon::parse($params->register_date)->format('i');
}
@endphp
@else
|
受付カテゴリ |
@if((isset($params->id) && $params->id && $params->is_frontend == config('const.is_frontend.yes')))
@if($department == 'parts')
category_id) }}"/>
@else
category_id) }}"/>
@endif
@else
|
受付担当※ |
|
対応 |
|
||
---|---|---|---|---|---|---|---|---|---|---|---|
対応内容等 |
個人/法人※ |
@foreach(config('const.contact_client_type') as $key => $value)
client_type) ? $params->client_type : '' ) == $key ? 'checked' : '' }}>
@endforeach
@error('client_type')
{{ $message }}
@enderror
|
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
会社名(顧客名)※ | @include('backend.share._parts._partner_search_part', ['partner_id'=>old('partner_id', isset($params->partner_id) ? $params->partner_id : '')]) @error('company') {{ $message }} @enderror | 郵便番号 |
-
@error('zip_code')
{{ $message }}
@enderror
|
会社名(顧客名)(カナ) | @error('company_kana') {{ $message }} @enderror | 都道府県 |
|
部署名 | @error('department') {{ $message }} @enderror | 市区町村 | @error('address1') {{ $message }} @enderror |
業種 | @error('job') {{ $message }} @enderror | 丁目・番地 | @error('address2') {{ $message }} @enderror | ||||||||
お名前 | @error('name') {{ $message }} @enderror | 建物名・部屋番号 | @error('building_name') {{ $message }} @enderror | お名前(カナ) | @error('name_kana') {{ $message }} @enderror | 電話番号 | - - @error('tel1') {{ $message }} @enderror @error('tel2') {{ $message }} @enderror @error('tel3') {{ $message }} @enderror | メールアドレス | @error('email') {{ $message }} @enderror | FAX |
-
-
@error('fax1')
{{ $message }}
@enderror
@error('fax2')
{{ $message }}
@enderror
@error('fax3')
{{ $message }}
@enderror
{{--
@php
$fax1 = '';
$fax2 = '';
$fax3 = '';
if(isset($params->fax)){
if(strpos($params->fax, '-')){
$fax_arr = explode('-', $params->fax);
$fax1 = isset($fax_arr[0]) ? $fax_arr[0] : '';
$fax2 = isset($fax_arr[1]) ? $fax_arr[1] : '';
$fax3 = isset($fax_arr[2]) ? $fax_arr[2] : '';
} else {
$fax1 = substr($params->fax, 0, 4);
$fax2 = substr($params->fax, 4, 4);
$fax3 = substr($params->fax, 8, 4);
}
}
@endphp
-
-
@error('fax1')
{{ $message }}
@enderror
@error('fax2')
{{ $message }}
@enderror
@error('fax3')
{{ $message }}
@enderror
--}}
|
区分 |
@foreach(config('const.question_class') as $key => $class)
question_class) ? $params->question_class : '') == $key ? 'checked' : '' }}>
@endforeach
|
@endif
管理番号 | |
---|---|
問い合わせ内容 |
{{ $department == 'parts' ? '部品追加' : '車両追加' }}--}}{{-- 受付カテゴリー追加--}}{{--
管理番号 | @if(isset($params->class_name) && $params->class_name == 'parts') | @include('backend.share._parts._parts_search_part', ['i' => '_search_question', 'parts_id'=>old('target_id', isset($params->target_id) ? $params->target_id : ''), 'is_question'=>1 ]) @else @include('backend.share._parts._vehicle_search_question', ['i' => '_search_question', 'vehicle_id'=>old('target_id', isset($params->target_id) ? $params->target_id : ''), 'is_question'=>1 ]) @endif
---|---|
問い合わせ内容 |
車検証 |
@php
$index = 1;
$file_path_field = "file_path{$index}";
$file_name_field = "file_name{$index}";
@endphp
@if(!empty(old($file_path_field, isset($params->$file_path_field) ? $params->$file_path_field : '')) && Storage::disk('temp')->has(old($file_path_field, isset($params->$file_path_field) ? $params->$file_path_field : '')))
{{ old($file_name_field, isset($params->$file_name_field) ? $params->$file_name_field : '') }}
@elseif(isset($params->id) && !empty(old($file_path_field, isset($params->$file_path_field) ? $params->$file_path_field : '')) && Storage::disk('question')->has($params->id.'/'.old('file_path', isset($params->$file_path_field) ? $params->$file_path_field : '')))
{{ old($file_name_field, isset($params->$file_name_field) ? $params->$file_name_field : '') }}
@else
@endif
@if((isset($params->id) && $params->id && $params->is_frontend == config('const.is_frontend.yes')))
@else
@endif
|
---|---|
画像 |
@if((isset($params->id) && $params->id && $params->is_frontend == config('const.is_frontend.yes')))
@if(isset($ob_files) && is_object($ob_files) && $ob_files->count())
@foreach($params->ob_files as $index => $ob_file)
@endforeach
@endif
@else
@foreach(range(2, 11) as $index)
@if(!empty(old("question_file.{$index}.file_path", isset($ob_files[$index-2]->file_path) ? $ob_files[$index-2]->file_path : '')) && Storage::disk('temp')->has(old("question_file.{$index}.file_path", isset($ob_files[$index-2]->file_path) ? $ob_files[$index-2]->file_path : '')))
file_path) ? $ob_files[$index-2]->file_path : '') }}" target="_blank">
file_path) ? $ob_files[$index-2]->file_path : '') }}">
file_name) ? $ob_files[$index-2]->file_name : '') }}">
@if(isset($ob_files[$index-2]->id) && $ob_files[$index-2]->id)
@endif
|
管理番号 | @if(isset($params->class_name) && $params->class_name == 'parts') | @include('backend.share._parts._parts_search_part', ['i' => '_search_question', 'parts_id'=>old('target_id', isset($params->target_id) ? $params->target_id : ''), 'is_question'=>1 ]) @else @include('backend.share._parts._vehicle_search_question', ['i' => '_search_question', 'vehicle_id'=>old('target_id', isset($params->target_id) ? $params->target_id : ''), 'is_question'=>1 ]) @endif
---|---|
問い合わせ内容 |
問い合わせ内容 |
---|