Commit ffc5d339 by Rinto

we got new

parent 0807fc36
......@@ -311,7 +311,8 @@ class AdminController extends Controller
{
$riwayat = Konfirmasi::all();
$riwayat2 = Batal::all();
return view('adminlte::k_klien.history.index', compact('riwayat','riwayat2'));
$riwayat3 = Tolak::all();
return view('adminlte::k_klien.history.index', compact('riwayat','riwayat2','riwayat3'));
}
public function detailriwayat($id)
......@@ -324,4 +325,9 @@ class AdminController extends Controller
$riwayat2 = Batal::find($id);
return view('adminlte::k_klien.history.detail2', compact('riwayat2'));
}
public function detailriwayat3($id)
{
$riwayat3 = Tolak::find($id);
return view('adminlte::k_klien.history.detail3', compact('riwayat3'));
}
}
\ No newline at end of file
<?php
namespace App\Http\Controllers;
use App\Tolak;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
......@@ -40,6 +41,12 @@ class KlienController extends Controller
return view('adminlte::klien.pesan.index', compact('pemesanan'));
}
public function pesanform()
{
$pemesanan = Pemesanan::all();
return view('adminlte::klien.pesan.indexform', compact('pemesanan'));
}
public function status()
{
$status = Pemesanan::all();
......@@ -134,21 +141,28 @@ class KlienController extends Controller
$this->data['title'] = 'History Pemesanan';
$this->data['users'] = Users::find($id);
$this->data['riwayat'] = DB::table('batal')->where('name' , $name)->orderBy('id','desc')->paginate(10);
$this->data['riwayatpesan'] = DB::table('konfirmasi')->where('name' , $name)->orderBy('id','desc')->paginate(10);
$this->data['total'] = DB::table('konfirmasi')->where('name' , $name)->get();
$this->data['riwayatpesan2'] = DB::table('batal')->where('name' , $name)->orderBy('id','desc')->paginate(10);
$this->data['total'] = DB::table('batal')->where('name' , $name)->get();
$this->data['riwayat2'] = DB::table('konfirmasi')->where('name' , $name)->orderBy('id','desc')->paginate(10);
$this->data['riwayatpesan3'] = DB::table('tolak')->where('name' , $name)->orderBy('id','desc')->paginate(10);
$this->data['total'] = DB::table('konfirmasi')->where('name' , $name)->get();
return view('adminlte::klien.riwayat.index',$this->data);
}
public function riwayats($id)
public function riwayatpesan($id)
{
$riwayatpesan = Konfirmasi::find($id);
return view('adminlte::klien.riwayat.detail', compact('riwayatpesan'));
}
public function riwayatpesan2($id)
{
$riwayats = Konfirmasi::find($id);
return view('adminlte::klien.riwayat.detail', compact('riwayats'));
$riwayatpesan2 = Batal::find($id);
return view('adminlte::klien.riwayat.detail2', compact('riwayatpesan2'));
}
public function riwayats2($id)
public function riwayatpesan3($id)
{
$riwayats2 = Batal::find($id);
return view('adminlte::klien.riwayat.detail2', compact('riwayats2'));
$riwayatpesan3 = Tolak::find($id);
return view('adminlte::klien.riwayat.detail3', compact('riwayatpesan3'));
}
}
\ No newline at end of file
......@@ -71,7 +71,7 @@
<div class="form-group{{ $errors->has('image') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Gambar</label>
<div class="col-md-6">
<input type="file" id="exampleInputImage" class="form-control" name="gambar" value="{{ old('gambar') }}" >
<input type="file" id="exampleInputImage" name="gambar" value="{{ old('gambar') }}" >
@if ($errors->has('image'))
<span class="help-block">
<strong>{{ $errors->first('image') }}</strong>
......
@extends('adminlte::layouts.app')
@extends('adminlte::layouts.app')
@section('htmlheader_title')
@section('htmlheader_title')
Detail
@endsection
@endsection
@section('contentheader_title')
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-file-archive-o"></i> Riwayat</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
@endsection
@section('main-content')
@section('main-content')
<div class="container-fluid spark-screen">
<div class="container">
......@@ -36,14 +36,79 @@
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayat2->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Jumlah Penumpang</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayat2->jumlah}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="alasan" value="{{ $riwayat2->alasan}}" readonly>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Berangkat</label>
<div class="col-md-6">
<input type="text" class="form-control" name="berangkat" value="{{ $riwayat2->berangkat}}" readonly>
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Kembali</label>
<div class="col-md-6">
<input type="text" class="form-control" name="kembali" value="{{ $riwayat2->kembali}}" readonly>
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="plat_bus" value="{{ $riwayat2->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('plat_bus') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan_batal') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Alasan Pembatalan Klien</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayat2->name}}" readonly>
@if ($errors->has('name'))
<textarea class="form-control" readonly>{{ $riwayat2->alasan_batal}}</textarea>
@if ($errors->has('alasan_batal'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
<strong>{{ $errors->first('alasan_batal') }}</strong>
</span>
@endif
</div>
......@@ -57,4 +122,4 @@
</div>
</div>
@endsection
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
Detail
@endsection
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-file-archive-o"></i> Riwayat</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<div class="col-md-9">
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<span class="username">{{ $riwayat3->name}}</span>
</div>
<!-- /.user-block -->
</div>
<div class="login-box-body">
<div class="user-block">
<span class="username">{{ $riwayat3->status}} Oleh Koordinator Klien</span>
</div>
<!-- /.user-block -->
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayat3->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Jumlah Penumpang</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayat3->jumlah}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="alasan" value="{{ $riwayat3->alasan}}" readonly>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Berangkat</label>
<div class="col-md-6">
<input type="text" class="form-control" name="berangkat" value="{{ $riwayat3->berangkat}}" readonly>
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Kembali</label>
<div class="col-md-6">
<input type="text" class="form-control" name="kembali" value="{{ $riwayat3->kembali}}" readonly>
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="plat_bus" value="{{ $riwayat3->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('plat_bus') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan_tolak') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Alasan Penolakan</label>
<div class="col-md-6">
<textarea class="form-control" readonly>{{ $riwayat3->alasan_tolak}}</textarea>
@if ($errors->has('alasan_tolak'))
<span class="help-block">
<strong>{{ $errors->first('alasan_tolak') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('saran') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Saran yang Diberi</label>
<div class="col-md-6">
<textarea class="form-control" readonly>{{ $riwayat3->saran}}</textarea>
@if ($errors->has('saran'))
<span class="help-block">
<strong>{{ $errors->first('saran') }}</strong>
</span>
@endif
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
......@@ -49,6 +49,18 @@
</tr>
</form>
@endforeach
@foreach($riwayat3 as $riwaya3)
<tr>
<td>{{$riwaya3->name}}</td>
<td>{{$riwaya3->tujuan}}</td>
<td>{{$riwaya3->alasan}}</td>
<td>{{$riwaya3->status}}</td>
<td colspan="2">
<a href="{{url('/history/details3',$riwaya3->id)}}" class="btn btn-info"><i class="fa fa-eye"></i>Detail</a>
</td>
</tr>
</form>
@endforeach
</tbody>
</table>
</div>
......
......@@ -35,14 +35,8 @@
<form class="form-horizontal" action="{{ url('update', $pemesanan->id) }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $pemesanan->name}}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
<input type="hidden" class="form-control" name="name" value="{{ $pemesanan->name}}" readonly>
</div>
</div>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
......@@ -126,10 +120,22 @@
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
@if($pemesanan->status == 'request')
<button type="submit" class="btn btn-primary">
Konfirmasi
</button>
<a href="{{url('k_klien/pemesanan/tolakpesanan',$pemesanan->id)}}" class="btn btn-danger"><i class="fa fa-close"></i> Tolak</a>
@elseif($pemesanan->status == 'Diproses')
<div class="direct-chat-msg right">
<img class="direct-chat-img" src="{{ asset('image/'.$user->image) }}" alt="message user image">
<div class="direct-chat-text">
Menunggu Konfirmasi Koordinator Supir
</div>
</div>
@endif
@if($pemesanan->status == 'request')
<a href="{{url('k_klien/pemesanan/tolakpesanan',$pemesanan->id)}}" class="btn btn-danger">
<i class="fa fa-close"></i> Tolak</a>
@endif
</div>
</div>
</form>
......
......@@ -113,7 +113,7 @@
<div class="form-group{{ $errors->has('status') ? ' has-error' : '' }}">
<div class="col-md-6">
<input type="hidden" class="form-control" name="status" value="Dibatalkan">
<input type="hidden" class="form-control" name="status" value="Ditolak">
@if ($errors->has('status'))
<span class="help-block">
<strong>{{ $errors->first('status') }}</strong>
......@@ -121,13 +121,13 @@
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan_batal') ? ' has-error' : '' }}">
<div class="form-group{{ $errors->has('alasan_tolak') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Alasan Penolakan</label>
<div class="col-md-6">
<textarea class="form-control" name="alasan_batal" value="{{ $pemesanan->alasan_batal}}" required></textarea>
@if ($errors->has('alasan_batal'))
<textarea class="form-control" name="alasan_tolak" value="{{ $pemesanan->alasan_tolak}}" required></textarea>
@if ($errors->has('alasan_tolak'))
<span class="help-block">
<strong>{{ $errors->first('alasan_batal') }}</strong>
<strong>{{ $errors->first('alasan_tolak') }}</strong>
</span>
@endif
</div>
......
......@@ -104,8 +104,10 @@
</div>
<div class="form-group has-feedback">
<label class="col-md-6 control-label">Gambar</label>
<input class="form-control" name="image" value="{{ old('image') }}" type="file">
<label class="col-md-4 control-label">Gambar</label>
<div class="col-md-6">
<input name="image" value="{{ old('image') }}" type="file">
</div>
</div>
<div class="form-group">
......
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Batalkan Pemesanan</li>
<li class="active"><i class="fa fa-eye-slash"></i> Batalkan Pemesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......
......@@ -67,6 +67,9 @@
<label class="col-md-4 control-label">Deskripsi</label>
<textarea class="form-control" placeholder="Berikan deskripsi disini" rows="3" name="deskripsi" readonly="">{{ $bus->deskripsi}}</textarea>
</div>
<td colspan="2">
<a href="{{url('klien/pesan/pakaibus',$bus->id)}}" class="btn btn-info">Gunakan Kendaraan</a>
</td>
</form><br>
</div>
<!-- /.box-footer -->
......
......@@ -41,6 +41,7 @@
<td>{{$bu->id}}</td>
<td colspan="2">
<a href="{{url('/bus/detail',$bu->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
<a href="{{url('klien/pesan/pakaibus',$bu->id)}}" class="btn btn-info"><i class="fa fa-key"></i> Gunakan</a>
</td>
</tr>
</form>
......
......@@ -11,24 +11,6 @@
@section('main-content')
<div class="container-fluid spark-screen">
<div class="col-md-4">
<div class="box box-solid">
<div class="box-header">
<h3 class="box-title text-blue">Sparkline line</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
</div>
</div>
<!-- /.box-header -->
<div class="box-body text-center">
<div class="sparkline" data-type="line" data-spot-radius="3" data-highlight-spot-color="#f39c12" data-highlight-line-color="#222" data-min-spot-color="#f56954" data-max-spot-color="#00a65a" data-spot-color="#39CCCC" data-offset="90" data-width="100%" data-height="100px" data-line-width="2" data-line-color="#39CCCC" data-fill-color="rgba(57, 204, 204, 0.08)"><canvas style="display: inline-block; width: 323px; height: 100px; vertical-align: top;" width="323" height="100"></canvas></div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<div class="col-md-4"></div>
</div>
@endsection
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Pemesanan</li>
<li class="active"><i class="fa fa-send"></i> Pemesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -34,132 +34,22 @@
</div>
@endif
<div class="col-md-8 col-md-offset-2">
<div class="col-md-6 col-md-offset-3">
<div class="panel-body">
<form class="form-horizontal" action="{{ url('pemesanan') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ Auth::user()->name }}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
<div class="box box-danger">
<div class="box-header with-border">
<h3 class="box-title">Pilih Bus ??</h3>
</div>
<div class="form-group">
<label for="title" class="col-md-4 control-label">Pilih Kendaraan (Optional)</label>
<div class="col-md-6">
<input type="text" value="nothing" class="form-control" name="plat_bus" readonly>
<span class="col-md-4">
<div class="box-body">
<img class="img-responsive pad" src="/PA21617D4TI04/public/image/perkasa.jpg" alt="Photo">
<p>Pilih bus yang akan di gunakan (Optional)</p>
<a href="{{url('klien/pesan/pilih')}}" type="button" onclick="return confirm('Pilih Bus??')"
class="btn btn-info btn-flat">Pilih Bus</a>
</span>
</div>
</div>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Tempat Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ old('tujuan') }}" >
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Jumlah</label>
<div class="col-md-6">
<input type="integer" class="form-control" name="jumlah" value="{{ old('jumlah') }}" >
@if ($errors->has('jumlah'))
<span class="help-block">
<strong>{{ $errors->first('jumlah') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<textarea type="text" class="form-control" name="alasan" value="{{ old('alasan') }}" ></textarea>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Berangkat </label>
<div class="col-md-6">
<div class="input-group date">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
<a href="{{url('klien/pesan/pesanform')}}" type="button" class="btn btn-warning btn-flat">Lewati</a>
</div>
<input class="form-control pull-right" name="berangkat" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Kembali </label>
<div class="col-md-6">
<div class="input-group date">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control pull-right" name="kembali" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('status') ? ' has-error' : '' }}">
<div class="col-md-6">
<input type="hidden" class="form-control" name="status" value="request" >
@if ($errors->has('status'))
<span class="help-block">
<strong>{{ $errors->first('status') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<button type="submit" class="btn btn-primary">
Pesan
</button>
</div>
</div>
</form>
</div>
</div>
</div>
......
@extends('adminlte::layouts.app')
@section('htmlheader_title')
Pesan
@endsection
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-send"></i> Pemesanan</li>
</ol><!-- breadcrumbs -->
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<script type="text/javascript">
$(document).ready(function () {
$(".datepicker").datepicker({
autoclose: true,
format: 'yyyy-mm-dd',
language: 'id'
});
});
</script>
<div class="box box-default">
@if(session()->has('message'))
<div class="alert alert-info">
{{session()->get('message')}}
</div>
@endif
@if(!empty($success))
<div class="alert alert-success">
{{$success}}
</div>
@endif
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<form class="form-horizontal" action="{{ url('pemesanan') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ Auth::user()->name }}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6">
<input type="hidden" value="nothing" class="form-control" name="plat_bus" readonly>
</div>
</div>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Tempat Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ old('tujuan') }}" >
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Jumlah</label>
<div class="col-md-6">
<input type="integer" class="form-control" name="jumlah" value="{{ old('jumlah') }}" >
@if ($errors->has('jumlah'))
<span class="help-block">
<strong>{{ $errors->first('jumlah') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<textarea type="text" class="form-control" name="alasan" value="{{ old('alasan') }}" ></textarea>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Berangkat </label>
<div class="col-md-6">
<div class="input-group date">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control pull-right" name="berangkat" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Kembali </label>
<div class="col-md-6">
<div class="input-group date">
<div class="input-group-addon">
<i class="fa fa-calendar"></i>
</div>
<input class="form-control pull-right" name="kembali" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('status') ? ' has-error' : '' }}">
<div class="col-md-6">
<input type="hidden" class="form-control" name="status" value="request" >
@if ($errors->has('status'))
<span class="help-block">
<strong>{{ $errors->first('status') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<button type="submit" class="btn btn-primary">
Pesan
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
@endsection
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Pemesanan</li>
<li class="active"><i class="fa fa-send"></i> Pemesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -42,12 +42,12 @@
</div>
<div class="form-group">
<label for="title" class="col-md-4 control-label">Pilih Kendaraan (Optional)</label>
<label for="title" class="col-md-4 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" value="{{$bus->plat_bus}}" class="form-control" name="plat_bus" readonly>
<span class="col-md-4">
<a href="{{url('klien/pesan/pilih')}}" type="button" onclick="return confirm('Pilih Bus??')"
class="btn btn-info btn-flat">Pilih Bus</a>
<span class="input-group-btn">
<a href="{{url('klien/pesan/pilih')}}" class="btn btn-success btn-flat" onclick="return confirm('Ganti Kendaraan??')"
class="btn btn-info btn-flat">Ganti Kendaraan</a>
</span>
</div>
</div>
......
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i>Pilih Bus</li>
<li class="active"><i class="fa fa-search-plus"></i> Pilih Bus</li>
</ol><!-- breadcrumbs -->
@endsection
......
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Status Pemesanan</li>
<li class="active"><i class="fa fa-upload"></i> Status Pemesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......
......@@ -6,8 +6,8 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Kendaraan</li>
<li class="active"><i class="fa fa-bus"></i> Detail Kendaraan</li>
<li class="active"><i class="fa fa-upload"></i> Status</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -24,7 +24,7 @@
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="nama_bus" value="{{ $status->name}}" readonly>
<input type="text" class="form-control" name="name" value="{{ $status->name}}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
......@@ -120,9 +120,22 @@
</div>
<div class="form-group">
@if("$status->status" == "request")
<div class="col-md-6 col-md-offset-4">
<a href="{{url('/batalkan',$status->id)}}" class="btn btn-danger">Batalkan</a>
</div>
@else
<div class="direct-chat-msg right">
<div class="col-md-5">
<img class="direct-chat-img" src="{{ asset('image/'.$user->image) }}" alt="message user image">
<div class="col-md-18">
<div class="direct-chat-text">
Menunggu Konfirmasi Koordinator Supir
</div>
</div>
</div>
</div>
@endif
</div>
</form>
</div>
......
......@@ -6,8 +6,8 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Riwayat</li>
<li class="active"><i class="fa fa-bus"></i> Detail Pesanan</li>
<li class="active"><i class="fa fa-file-archive-o"></i> Riwayat</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -18,16 +18,86 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<div class="col-md-9">
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<span class="username">{{ $riwayatpesan->name}}</span>
</div>
<!-- /.user-block -->
</div>
<div class="login-box-body">
<div class="user-block">
<span class="username">{{ $riwayatpesan->status}}</span>
</div>
<!-- /.user-block -->
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Jumlah Penumpang</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="alasan" value="{{ $riwayatpesan->alasan}}" readonly>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Berangkat</label>
<div class="col-md-6">
<input type="text" class="form-control" name="berangkat" value="{{ $riwayatpesan->berangkat}}" readonly>
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Kembali</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayats->name}}" readonly>
@if ($errors->has('name'))
<input type="text" class="form-control" name="kembali" value="{{ $riwayatpesan->kembali}}" readonly>
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="plat_bus" value="{{ $riwayatpesan->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('plat_bus') }}</strong>
</span>
@endif
</div>
......@@ -35,6 +105,9 @@
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
......
......@@ -6,8 +6,8 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Riwayat</li>
<li class="active"><i class="fa fa-bus"></i> Detail Pesanan</li>
<li class="active"><i class="fa fa-file-archive-o"></i> Riwayat</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -18,16 +18,97 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<div class="col-md-9">
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<span class="username">{{ $riwayatpesan2->name}}</span>
</div>
<!-- /.user-block -->
</div>
<div class="login-box-body">
<div class="user-block">
<span class="username">{{ $riwayatpesan2->status}}</span>
</div>
<!-- /.user-block -->
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan2->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Jumlah Penumpang</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan2->jumlah}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="alasan" value="{{ $riwayatpesan2->alasan}}" readonly>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Berangkat</label>
<div class="col-md-6">
<input type="text" class="form-control" name="berangkat" value="{{ $riwayatpesan2->berangkat}}" readonly>
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Kembali</label>
<div class="col-md-6">
<input type="text" class="form-control" name="kembali" value="{{ $riwayatpesan2->kembali}}" readonly>
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayat2->name}}" readonly>
@if ($errors->has('name'))
<input type="text" class="form-control" name="plat_bus" value="{{ $riwayatpesan2->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
<strong>{{ $errors->first('plat_bus') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan_batal') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Alasan Pembatalan</label>
<div class="col-md-6">
<textarea class="form-control" readonly>{{ $riwayatpesan2->alasan_batal}}</textarea>
@if ($errors->has('alasan_batal'))
<span class="help-block">
<strong>{{ $errors->first('alasan_batal') }}</strong>
</span>
@endif
</div>
......@@ -35,6 +116,9 @@
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
......
@extends('adminlte::layouts.app')
@section('htmlheader_title')
Detail
@endsection
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-file-archive-o"></i> Riwayat</li>
<li class="active"><i class="fa fa-eye"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<div class="col-md-9">
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<span class="username">{{ $riwayatpesan3->name}}</span>
</div>
<!-- /.user-block -->
</div>
<div class="login-box-body">
<div class="user-block">
<span class="username">{{ $riwayatpesan3->status}}</span>
</div>
<!-- /.user-block -->
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('tujuan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tujuan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan3->tujuan}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Jumlah Penumpang</label>
<div class="col-md-6">
<input type="text" class="form-control" name="tujuan" value="{{ $riwayatpesan3->jumlah}}" readonly>
@if ($errors->has('tujuan'))
<span class="help-block">
<strong>{{ $errors->first('tujuan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Keperluan Pemesanan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="alasan" value="{{ $riwayatpesan3->alasan}}" readonly>
@if ($errors->has('alasan'))
<span class="help-block">
<strong>{{ $errors->first('alasan') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Berangkat</label>
<div class="col-md-6">
<input type="text" class="form-control" name="berangkat" value="{{ $riwayatpesan3->berangkat}}" readonly>
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Tanggal Kembali</label>
<div class="col-md-6">
<input type="text" class="form-control" name="kembali" value="{{ $riwayatpesan3->kembali}}" readonly>
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="plat_bus" value="{{ $riwayatpesan3->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('plat_bus') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('alasan_tolak') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Alasan Penolakan</label>
<div class="col-md-6">
<textarea class="form-control" readonly>{{ $riwayatpesan3->alasan_tolak}}</textarea>
@if ($errors->has('alasan_tolak'))
<span class="help-block">
<strong>{{ $errors->first('alasan_tolak') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('saran') ? ' has-error' : '' }}">
<label for="title" class="col-md-5 control-label">Saran yang Diberi</label>
<div class="col-md-6">
<textarea class="form-control" readonly>{{ $riwayatpesan3->saran}}</textarea>
@if ($errors->has('saran'))
<span class="help-block">
<strong>{{ $errors->first('saran') }}</strong>
</span>
@endif
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
......@@ -25,26 +25,38 @@
</thead>
<tbody>
@foreach($riwayat as $riwaya)
@foreach($riwayatpesan as $riwayatpesa)
<tr>
<td>{{$riwaya->name}}</td>
<td>{{$riwaya->tujuan}}</td>
<td>{{$riwaya->alasan}}</td>
<td>{{$riwaya->status}}</td>
<td>{{$riwayatpesa->name}}</td>
<td>{{$riwayatpesa->tujuan}}</td>
<td>{{$riwayatpesa->alasan}}</td>
<td>{{$riwayatpesa->status}}</td>
<td colspan="2">
<a href="{{url('/riwayat/details',$riwaya->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
<a href="{{url('/riwayat/detailpesan',$riwayatpesa->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
</td>
</tr>
</form>
@endforeach
@foreach($riwayat2 as $riwaya2)
@foreach($riwayatpesan2 as $riwayatpesa2)
<tr>
<td>{{$riwaya2->name}}</td>
<td>{{$riwaya2->tujuan}}</td>
<td>{{$riwaya2->berangkat}}</td>
<td>{{$riwaya2->status}}</td>
<td>{{$riwayatpesa2->name}}</td>
<td>{{$riwayatpesa2->tujuan}}</td>
<td>{{$riwayatpesa2->berangkat}}</td>
<td>{{$riwayatpesa2->status}}</td>
<td colspan="2">
<a href="{{url('/riwayat/details2',$riwaya2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
<a href="{{url('/riwayat/detailpesan2',$riwayatpesa2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
</td>
</tr>
</form>
@endforeach
@foreach($riwayatpesan3 as $riwayatpesa3)
<tr>
<td>{{$riwayatpesa3->name}}</td>
<td>{{$riwayatpesa3->tujuan}}</td>
<td>{{$riwayatpesa3->berangkat}}</td>
<td>{{$riwayatpesa3->status}}</td>
<td colspan="2">
<a href="{{url('/riwayat/detailpesan3',$riwayatpesa3->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
</td>
</tr>
</form>
......
......@@ -72,6 +72,7 @@ Route::group(['middleware' => ['web','auth','k_klien']], function () {
Route::get('/history','AdminController@history');
Route::get('/history/details/{id}','AdminController@detailriwayat');
Route::get('/history/details2/{id}','AdminController@detailriwayat2');
Route::get('/history/details3/{id}','AdminController@detailriwayat3');
});
Route::group(['middleware' => ['web','auth','k_supir']], function () {
......@@ -112,6 +113,7 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
Route::get('/bus','KlienController@bus');
Route::get('/bus/detail/{id}','KlienController@detailbus');
Route::get('/pesan','KlienController@pesan');
Route::get('/klien/pesan/pesanform','KlienController@pesanform');
Route::get('/klien/pesan/pakaibus/{id}','KlienController@pakaibus');
Route::get('/klien/pesan/pilih','KlienController@pilihbus');
......@@ -124,7 +126,8 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
Route::get('/riwayat','KlienController@riwayat');
Route::get('/riwayat/details/{id}','KlienController@riwayats');
Route::get('/riwayat/details2/{id}','KlienController@riwayats2');
Route::get('/riwayat/detailpesan/{id}','KlienController@riwayatpesan');
Route::get('/riwayat/detailpesan2/{id}','KlienController@riwayatpesan2');
Route::get('/riwayat/detailpesan3/{id}','KlienController@riwayatpesan3');
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment