@extends('layouts.main') @section('content')
{{ Form::open(['url' => 'journal/index', 'method' => 'POST', 'name' => 'form', 'id' => 'searchform']) }}
ジャーナルデータ(分譲)
{{ Form::label("address", "住所" ,["class"=>"control-label btn"]) }} {{ Form::select('pref', $data_pref, $request->pref, ['class'=>'form-control validate[required]', 'style'=>'width:120px', 'id'=>'pref', 'onChange' => 'makeList_City()']) }} {{ Form::select('city', $data_city, $request->city, ['class'=>'form-control validate[required]', 'style'=>'width:150px', 'id'=>'city']) }} {{ Form::text("address", $request->address, ["class"=>"form-control", 'style'=>'width:200px', "id"=>"address"]) }} {{ Form::checkbox('CAll', 1, null, ['id' => 'CAll'])}} {{ Form::label('CAll', '販売開始月', ["class"=>"control-label"]) }} {{ Form::checkbox('startmonth[]', 1, @in_array( "1", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 1]) }} {{ Form::label( 1, ' 1月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 2, @in_array( "2", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 2]) }} {{ Form::label( 2, ' 2月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 3, @in_array( "3", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 3]) }} {{ Form::label( 3, ' 3月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 4, @in_array( "4", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 4]) }} {{ Form::label( 4, ' 4月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 5, @in_array( "5", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 5]) }} {{ Form::label( 5, ' 5月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 6, @in_array( "6", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 6]) }} {{ Form::label( 6, ' 6月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 7, @in_array( "7", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 7]) }} {{ Form::label( 7, ' 7月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 8, @in_array( "8", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 8]) }} {{ Form::label( 8, ' 8月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 9, @in_array( "9", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=> 9]) }} {{ Form::label( 9, ' 9月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 10, @in_array("10", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=>10]) }} {{ Form::label(10, '10月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 11, @in_array("11", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=>11]) }} {{ Form::label(11, '11月', ["class"=>"control-label"]) }}  {{ Form::checkbox('startmonth[]', 12, @in_array("12", $request->startmonth), ['class' => 'validate[minCheckbox[1]]', 'id'=>12]) }} {{ Form::label(12, '12月', ["class"=>"control-label"]) }} 
{{ Form::submit(" 検索 ", ["class"=>"btn btn-success", "onClick" => "submitProcess(0);"]) }} {{ Form::submit("CSVダウンロード ", ["class" => "btn btn-warning csv", "onClick" => "submitProcess(1);"]) }} {{ Form::hidden("download", "", ["class"=>"form-control", "id"=>"download"]) }} {{ Form::button("クリア", ["class"=>"btn btn-default clearForm"]) }}
{!! Form::close() !!} @if (count($datas) > 0)
検索結果
@if (Auth::user()->company_id == 1 or Auth::user()->company_id == 2) @endif @if (Auth::user()->company_id == 1 or Auth::user()->company_id == 2) @endif @if (Auth::user()->company_id == 1 or Auth::user()->company_id == 2) @endif @foreach ($datas as $data) @if (Auth::user()->company_id == 1 or Auth::user()->company_id == 2) @endif @if (Auth::user()->company_id == 1 or Auth::user()->company_id == 2) @endif @endforeach
販売開始日 販売終了日 販売期間 物件名 エリア1 エリア2 郵便番号住所最寄路線 最寄駅 徒歩時間 区画 間取り 土地面積 建物面積 初期価格 最終価格特徴 会社名
{{ $data->date_st }} {{ $data->date_ed }} {{ $data->sale_age }} {{ $data->title }} {{ $data->area1 }} {{ $data->area2 }} {{ $data->zipcode }}{{ $data->address }}{{ $data->near_line }} {{ $data->near_station }} {{ $data->walk_time }} {{ $data->percel_name }} {{ $data->floor_plan }} {{ $data->land_area }} {{ $data->build_area }} {{ number_format($data->price_st) }} {{ number_format($data->price_ed) }}{{ $data->description }} {{ $data->sales_company }}
{!! $datas->appends(['address'=>$request->address, 'pref'=>$request->pref, 'city'=>$request->city, 'address'=>$request->address, 'startmonth'=>$request->startmonth, 'ymd1'=>$request->ymd1, 'ymd2'=>$request->ymd2, 'download'=>'0'])->render() !!}
@elseif (count($datas) == 0 and $_SERVER["REQUEST_METHOD"] == "POST" )
検索結果
対象となるデータがありません
販売開始月を広げる(1月~12月の全て選択)、全データもクリックする、住所範囲を広げる(○○市○○町→○○市)、郵便番号を利用する等の対応をしてみてください。
@endif
@endsection