Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA21617D4TI04PA2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rinto
PA21617D4TI04PA2
Commits
aee6bd97
Commit
aee6bd97
authored
Jun 02, 2017
by
Rinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we got new
parent
881e5b35
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
821 additions
and
217 deletions
+821
-217
AdminController.php
app/Http/Controllers/AdminController.php
+8
-1
KlienController.php
app/Http/Controllers/KlienController.php
+23
-8
pa21617d4ti04.sql
pa21617d4ti04.sql
+0
-0
pa21617d4ti04.sql.zip
pa21617d4ti04.sql.zip
+0
-0
tambah.blade.php
resources/views/vendor/adminlte/k_klien/bus/tambah.blade.php
+1
-1
detail2.blade.php
...s/views/vendor/adminlte/k_klien/history/detail2.blade.php
+78
-13
detail3.blade.php
...s/views/vendor/adminlte/k_klien/history/detail3.blade.php
+136
-0
index.blade.php
...ces/views/vendor/adminlte/k_klien/history/index.blade.php
+12
-0
detail.blade.php
.../views/vendor/adminlte/k_klien/pemesanan/detail.blade.php
+14
-8
tolakpesanan.blade.php
.../vendor/adminlte/k_klien/pemesanan/tolakpesanan.blade.php
+5
-5
index.blade.php
...rces/views/vendor/adminlte/k_klien/profil/index.blade.php
+0
-0
tambah.blade.php
...rces/views/vendor/adminlte/k_klien/supir/tambah.blade.php
+4
-2
index.blade.php
...rces/views/vendor/adminlte/klien/batalkan/index.blade.php
+1
-1
detail.blade.php
resources/views/vendor/adminlte/klien/bus/detail.blade.php
+3
-0
index.blade.php
resources/views/vendor/adminlte/klien/bus/index.blade.php
+1
-0
index.blade.php
resources/views/vendor/adminlte/klien/index.blade.php
+1
-19
index.blade.php
resources/views/vendor/adminlte/klien/pesan/index.blade.php
+9
-119
indexform.blade.php
...ces/views/vendor/adminlte/klien/pesan/indexform.blade.php
+163
-0
pakaibus.blade.php
...rces/views/vendor/adminlte/klien/pesan/pakaibus.blade.php
+5
-5
pilih.blade.php
resources/views/vendor/adminlte/klien/pesan/pilih.blade.php
+1
-1
status.blade.php
resources/views/vendor/adminlte/klien/pesan/status.blade.php
+1
-1
statusdetail.blade.php
.../views/vendor/adminlte/klien/pesan/statusdetail.blade.php
+16
-3
detail.blade.php
...rces/views/vendor/adminlte/klien/riwayat/detail.blade.php
+81
-8
detail2.blade.php
...ces/views/vendor/adminlte/klien/riwayat/detail2.blade.php
+92
-8
detail3.blade.php
...ces/views/vendor/adminlte/klien/riwayat/detail3.blade.php
+136
-0
index.blade.php
...urces/views/vendor/adminlte/klien/riwayat/index.blade.php
+24
-12
web.php
routes/web.php
+6
-2
No files found.
app/Http/Controllers/AdminController.php
View file @
aee6bd97
...
@@ -311,7 +311,8 @@ class AdminController extends Controller
...
@@ -311,7 +311,8 @@ class AdminController extends Controller
{
{
$riwayat
=
Konfirmasi
::
all
();
$riwayat
=
Konfirmasi
::
all
();
$riwayat2
=
Batal
::
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
)
public
function
detailriwayat
(
$id
)
...
@@ -324,4 +325,9 @@ class AdminController extends Controller
...
@@ -324,4 +325,9 @@ class AdminController extends Controller
$riwayat2
=
Batal
::
find
(
$id
);
$riwayat2
=
Batal
::
find
(
$id
);
return
view
(
'adminlte::k_klien.history.detail2'
,
compact
(
'riwayat2'
));
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
app/Http/Controllers/KlienController.php
View file @
aee6bd97
<?php
<?php
namespace
App\Http\Controllers
;
namespace
App\Http\Controllers
;
use
App\Tolak
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Auth
;
use
Illuminate\Support\Facades\Auth
;
use
Illuminate\Support\Facades\DB
;
use
Illuminate\Support\Facades\DB
;
...
@@ -40,6 +41,12 @@ class KlienController extends Controller
...
@@ -40,6 +41,12 @@ class KlienController extends Controller
return
view
(
'adminlte::klien.pesan.index'
,
compact
(
'pemesanan'
));
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
()
public
function
status
()
{
{
$status
=
Pemesanan
::
all
();
$status
=
Pemesanan
::
all
();
...
@@ -134,21 +141,28 @@ class KlienController extends Controller
...
@@ -134,21 +141,28 @@ class KlienController extends Controller
$this
->
data
[
'title'
]
=
'History Pemesanan'
;
$this
->
data
[
'title'
]
=
'History Pemesanan'
;
$this
->
data
[
'users'
]
=
Users
::
find
(
$id
);
$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
[
'total'
]
=
DB
::
table
(
'batal'
)
->
where
(
'name'
,
$name
)
->
get
();
$this
->
data
[
'riwayat
2'
]
=
DB
::
table
(
'konfirmasi
'
)
->
where
(
'name'
,
$name
)
->
orderBy
(
'id'
,
'desc'
)
->
paginate
(
10
);
$this
->
data
[
'riwayat
pesan3'
]
=
DB
::
table
(
'tolak
'
)
->
where
(
'name'
,
$name
)
->
orderBy
(
'id'
,
'desc'
)
->
paginate
(
10
);
$this
->
data
[
'total'
]
=
DB
::
table
(
'konfirmasi'
)
->
where
(
'name'
,
$name
)
->
get
();
$this
->
data
[
'total'
]
=
DB
::
table
(
'konfirmasi'
)
->
where
(
'name'
,
$name
)
->
get
();
return
view
(
'adminlte::klien.riwayat.index'
,
$this
->
data
);
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
)
{
{
$riwayat
s
=
Konfirmasi
::
find
(
$id
);
$riwayat
pesan2
=
Batal
::
find
(
$id
);
return
view
(
'adminlte::klien.riwayat.detail
'
,
compact
(
'riwayats
'
));
return
view
(
'adminlte::klien.riwayat.detail
2'
,
compact
(
'riwayatpesan2
'
));
}
}
public
function
riwayat
s2
(
$id
)
public
function
riwayat
pesan3
(
$id
)
{
{
$riwayat
s2
=
Batal
::
find
(
$id
);
$riwayat
pesan3
=
Tolak
::
find
(
$id
);
return
view
(
'adminlte::klien.riwayat.detail
2'
,
compact
(
'riwayats2
'
));
return
view
(
'adminlte::klien.riwayat.detail
3'
,
compact
(
'riwayatpesan3
'
));
}
}
}
}
\ No newline at end of file
pa21617d4ti04.sql
0 → 100644
View file @
aee6bd97
This diff is collapsed.
Click to expand it.
pa21617d4ti04.sql.zip
deleted
100644 → 0
View file @
881e5b35
File deleted
resources/views/vendor/adminlte/k_klien/bus/tambah.blade.php
View file @
aee6bd97
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<div class="
form
-
group
{{
$errors
->
has
(
'image'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'image'
)
?
' has-error'
:
''
}}
">
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Gambar</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Gambar</label>
<div class="
col
-
md
-
6
">
<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'))
@if (
$errors->has
('image'))
<span class="
help
-
block
">
<span class="
help
-
block
">
<strong>{{
$errors->first
('image') }}</strong>
<strong>{{
$errors->first
('image') }}</strong>
...
...
resources/views/vendor/adminlte/k_klien/history/detail2.blade.php
View file @
aee6bd97
@
extends
(
'adminlte::layouts.app'
)
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
@
section
(
'htmlheader_title'
)
Detail
Detail
@
endsection
@
endsection
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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
-
file
-
archive
-
o
"></i> Riwayat</li>
<li class="
active
"><i class="
fa
fa
-
eye
"></i> Detail Pesanan</li>
<li class="
active
"><i class="
fa
fa
-
eye
"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
@section('main-content')
@section('main-content')
<div class="
container
-
fluid
spark
-
screen
">
<div class="
container
-
fluid
spark
-
screen
">
<div class="
container
">
<div class="
container
">
...
@@ -36,14 +36,79 @@
...
@@ -36,14 +36,79 @@
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<form class="
form
-
horizontal
" action="
{{
url
(
''
)
}}
" method="
POST
">
<form class="
form
-
horizontal
" action="
{{
url
(
''
)
}}
" method="
POST
">
{!! csrf_field() !!}
{!! csrf_field() !!}
<div class="
form
-
group
{{
$errors
->
has
(
'tujuan'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<label for="
title
" class="
col
-
md
-
5
control
-
label
">Tujuan</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</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
">
<div class="
col
-
md
-
6
">
<input type="
text
" class="
form
-
control
" name="
name
" value="
{{
$riwayat2
->
name
}}
" readonly
>
<textarea class="
form
-
control
" readonly>{{
$riwayat2->alasan_batal
}}</textarea
>
@if (
$errors->has
('name
'))
@if (
$errors->has
('alasan_batal
'))
<span class="
help
-
block
">
<span class="
help
-
block
">
<strong>{{
$errors->first
('name
') }}</strong>
<strong>{{
$errors->first
('alasan_batal
') }}</strong>
</span>
</span>
@endif
@endif
</div>
</div>
...
@@ -57,4 +122,4 @@
...
@@ -57,4 +122,4 @@
</div>
</div>
</div>
</div>
@endsection
@endsection
resources/views/vendor/adminlte/k_klien/history/detail3.blade.php
0 → 100644
View file @
aee6bd97
@
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
resources/views/vendor/adminlte/k_klien/history/index.blade.php
View file @
aee6bd97
...
@@ -49,6 +49,18 @@
...
@@ -49,6 +49,18 @@
</tr>
</tr>
</form>
</form>
@endforeach
@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>
</tbody>
</table>
</table>
</div>
</div>
...
...
resources/views/vendor/adminlte/k_klien/pemesanan/detail.blade.php
View file @
aee6bd97
...
@@ -35,14 +35,8 @@
...
@@ -35,14 +35,8 @@
<form class="
form
-
horizontal
" action="
{{
url
(
'update'
,
$pemesanan
->
id
)
}}
" method="
POST
">
<form class="
form
-
horizontal
" action="
{{
url
(
'update'
,
$pemesanan
->
id
)
}}
" method="
POST
">
{!! csrf_field() !!}
{!! csrf_field() !!}
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<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
">
<div class="
col
-
md
-
6
">
<input type="
text
" class="
form
-
control
" name="
name
" value="
{{
$pemesanan
->
name
}}
" readonly>
<input type="
hidden
" class="
form
-
control
" name="
name
" value="
{{
$pemesanan
->
name
}}
" readonly>
@if (
$errors->has
('name'))
<span class="
help
-
block
">
<strong>{{
$errors->first
('name') }}</strong>
</span>
@endif
</div>
</div>
</div>
</div>
<div class="
form
-
group
{{
$errors
->
has
(
'tujuan'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'tujuan'
)
?
' has-error'
:
''
}}
">
...
@@ -126,10 +120,22 @@
...
@@ -126,10 +120,22 @@
<div class="
form
-
group
">
<div class="
form
-
group
">
<div class="
col
-
md
-
6
col
-
md
-
offset
-
4
">
<div class="
col
-
md
-
6
col
-
md
-
offset
-
4
">
@if(
$pemesanan->status
== 'request')
<button type="
submit
" class="
btn
btn
-
primary
">
<button type="
submit
" class="
btn
btn
-
primary
">
Konfirmasi
Konfirmasi
</button>
</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>
</div>
</div>
</form>
</form>
...
...
resources/views/vendor/adminlte/k_klien/pemesanan/tolakpesanan.blade.php
View file @
aee6bd97
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
<div class="
form
-
group
{{
$errors
->
has
(
'status'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'status'
)
?
' has-error'
:
''
}}
">
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<input type="
hidden
" class="
form
-
control
" name="
status
" value="
Di
batalkan
">
<input type="
hidden
" class="
form
-
control
" name="
status
" value="
Di
tolak
">
@if (
$errors->has
('status'))
@if (
$errors->has
('status'))
<span class="
help
-
block
">
<span class="
help
-
block
">
<strong>{{
$errors->first
('status') }}</strong>
<strong>{{
$errors->first
('status') }}</strong>
...
@@ -121,13 +121,13 @@
...
@@ -121,13 +121,13 @@
@endif
@endif
</div>
</div>
</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>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Alasan Penolakan</label>
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<textarea class="
form
-
control
" name="
alasan_
batal
" value="
{{
$pemesanan
->
alasan_batal
}}
" required></textarea>
<textarea class="
form
-
control
" name="
alasan_
tolak
" value="
{{
$pemesanan
->
alasan_tolak
}}
" required></textarea>
@if (
$errors->has
('alasan_
batal
'))
@if (
$errors->has
('alasan_
tolak
'))
<span class="
help
-
block
">
<span class="
help
-
block
">
<strong>{{
$errors->first
('alasan_
batal
') }}</strong>
<strong>{{
$errors->first
('alasan_
tolak
') }}</strong>
</span>
</span>
@endif
@endif
</div>
</div>
...
...
resources/views/vendor/adminlte/k_klien/profil/index.blade.php
deleted
100644 → 0
View file @
881e5b35
resources/views/vendor/adminlte/k_klien/supir/tambah.blade.php
View file @
aee6bd97
...
@@ -104,8 +104,10 @@
...
@@ -104,8 +104,10 @@
</div>
</div>
<div class="
form
-
group
has
-
feedback
">
<div class="
form
-
group
has
-
feedback
">
<label class="
col
-
md
-
6
control
-
label
">Gambar</label>
<label class="
col
-
md
-
4
control
-
label
">Gambar</label>
<input class="
form
-
control
" name="
image
" value="
{{
old
(
'image'
)
}}
" type="
file
">
<div class="
col
-
md
-
6
">
<input name="
image
" value="
{{
old
(
'image'
)
}}
" type="
file
">
</div>
</div>
</div>
<div class="
form
-
group
">
<div class="
form
-
group
">
...
...
resources/views/vendor/adminlte/klien/batalkan/index.blade.php
View file @
aee6bd97
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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 -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
...
resources/views/vendor/adminlte/klien/bus/detail.blade.php
View file @
aee6bd97
...
@@ -67,6 +67,9 @@
...
@@ -67,6 +67,9 @@
<label class="
col
-
md
-
4
control
-
label
">Deskripsi</label>
<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>
<textarea class="
form
-
control
" placeholder="
Berikan
deskripsi
disini
" rows="
3
" name="
deskripsi
" readonly="">{{
$bus->deskripsi
}}</textarea>
</div>
</div>
<td colspan="
2
">
<a href="
{{
url
(
'klien/pesan/pakaibus'
,
$bus
->
id
)}}
" class="
btn
btn
-
info
">Gunakan Kendaraan</a>
</td>
</form><br>
</form><br>
</div>
</div>
<!-- /.box-footer -->
<!-- /.box-footer -->
...
...
resources/views/vendor/adminlte/klien/bus/index.blade.php
View file @
aee6bd97
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<td>
{
{$bu->id}
}
</td>
<td>
{
{$bu->id}
}
</td>
<td colspan="
2
">
<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
(
'/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>
</td>
</tr>
</tr>
</form>
</form>
...
...
resources/views/vendor/adminlte/klien/index.blade.php
View file @
aee6bd97
...
@@ -11,24 +11,6 @@
...
@@ -11,24 +11,6 @@
@section('main-content')
@section('main-content')
<div class="
container
-
fluid
spark
-
screen
">
<div class="
container
-
fluid
spark
-
screen
">
<div class="
col
-
md
-
4
">
<div class="
col
-
md
-
4
"></div>
<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>
</div>
@endsection
@endsection
resources/views/vendor/adminlte/klien/pesan/index.blade.php
View file @
aee6bd97
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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 -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
@@ -34,132 +34,22 @@
...
@@ -34,132 +34,22 @@
</div>
</div>
@endif
@endif
<div class="
col
-
md
-
8
col
-
md
-
offset
-
2
">
<div class="
col
-
md
-
6
col
-
md
-
offset
-
3
">
<div class="
panel
-
body
">
<div class="
panel
-
body
">
<form class="
form
-
horizontal
" action="
{{
url
(
'pemesanan'
)
}}
" method="
POST
">
{!! csrf_field() !!}
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<div class="
box
box
-
danger
">
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</label>
<div class="
box
-
header
with
-
border
">
<div class="
col
-
md
-
6
">
<h3 class="
box
-
title
">Pilih Bus ??</h3>
<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>
<div class="
box
-
body
">
<div class="
form
-
group
">
<img class="
img
-
responsive
pad
" src="
/
PA21617D4TI04
/
public
/
image
/
perkasa
.
jpg
" alt="
Photo
">
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Pilih Kendaraan (Optional)</label>
<p>Pilih bus yang akan di gunakan (Optional)</p>
<div class="
col
-
md
-
6
">
<input type="
text
" value="
nothing
" 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??'
)
"
<a href="
{{
url
(
'klien/pesan/pilih'
)}}
" type="
button
" onclick="
return
confirm
(
'Pilih Bus??'
)
"
class="
btn
btn
-
info
btn
-
flat
">Pilih Bus</a>
class="
btn
btn
-
info
btn
-
flat
">Pilih Bus</a>
</span>
<a href="
{{
url
(
'klien/pesan/pesanform'
)}}
" type="
button
" class="
btn
btn
-
warning
btn
-
flat
">Lewati</a>
</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>
</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>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/vendor/adminlte/klien/pesan/indexform.blade.php
0 → 100644
View file @
aee6bd97
@
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
resources/views/vendor/adminlte/klien/pesan/pakaibus.blade.php
View file @
aee6bd97
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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 -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
@@ -42,12 +42,12 @@
...
@@ -42,12 +42,12 @@
</div>
</div>
<div class="
form
-
group
">
<div class="
form
-
group
">
<label for="
title
" class="
col
-
md
-
4
control
-
label
">P
ilih Kendaraan (Optional)
</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">P
lat Kendaraan
</label>
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<input type="
text
" value="
{{
$bus
->
plat_bus
}}
" class="
form
-
control
" name="
plat_bus
" readonly>
<input type="
text
" value="
{{
$bus
->
plat_bus
}}
" class="
form
-
control
" name="
plat_bus
" readonly>
<span class="
col
-
md
-
4
">
<span class="
input
-
group
-
btn
">
<a href="
{{
url
(
'klien/pesan/pilih'
)}}
" type="
button
" onclick="
return
confirm
(
'Pilih Bus
??'
)
"
<a href="
{{
url
(
'klien/pesan/pilih'
)}}
" class="
btn
btn
-
success
btn
-
flat
" onclick="
return
confirm
(
'Ganti Kendaraan
??'
)
"
class="
btn
btn
-
info
btn
-
flat
">Pilih Bus
</a>
class="
btn
btn
-
info
btn
-
flat
">Ganti Kendaraan
</a>
</span>
</span>
</div>
</div>
</div>
</div>
...
...
resources/views/vendor/adminlte/klien/pesan/pilih.blade.php
View file @
aee6bd97
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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 -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
...
resources/views/vendor/adminlte/klien/pesan/status.blade.php
View file @
aee6bd97
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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 -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
...
resources/views/vendor/adminlte/klien/pesan/statusdetail.blade.php
View file @
aee6bd97
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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
-
upload
"></i> Status
</li>
<li class="
active
"><i class="
fa
fa
-
bus
"></i> Detail Kendara
an</li>
<li class="
active
"><i class="
fa
fa
-
eye
"></i> Detail Pesan
an</li>
</ol><!-- breadcrumbs -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</label>
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<input type="
text
" class="
form
-
control
" name="
nam
a_bus
" value="
{{
$status
->
name
}}
" readonly>
<input type="
text
" class="
form
-
control
" name="
nam
e
" value="
{{
$status
->
name
}}
" readonly>
@if (
$errors->has
('name'))
@if (
$errors->has
('name'))
<span class="
help
-
block
">
<span class="
help
-
block
">
<strong>{{
$errors->first
('name') }}</strong>
<strong>{{
$errors->first
('name') }}</strong>
...
@@ -120,9 +120,22 @@
...
@@ -120,9 +120,22 @@
</div>
</div>
<div class="
form
-
group
">
<div class="
form
-
group
">
@if("
$status
->
status
" == "
request
")
<div class="
col
-
md
-
6
col
-
md
-
offset
-
4
">
<div class="
col
-
md
-
6
col
-
md
-
offset
-
4
">
<a href="
{{
url
(
'/batalkan'
,
$status
->
id
)}}
" class="
btn
btn
-
danger
">Batalkan</a>
<a href="
{{
url
(
'/batalkan'
,
$status
->
id
)}}
" class="
btn
btn
-
danger
">Batalkan</a>
</div>
</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>
</div>
</form>
</form>
</div>
</div>
...
...
resources/views/vendor/adminlte/klien/riwayat/detail.blade.php
View file @
aee6bd97
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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
-
file
-
archive
-
o
"></i> Riwayat</li>
<li class="
active
"><i class="
fa
fa
-
bus
"></i> Detail Pesanan</li>
<li class="
active
"><i class="
fa
fa
-
eye
"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
@@ -18,16 +18,86 @@
...
@@ -18,16 +18,86 @@
<div class="
col
-
md
-
8
col
-
md
-
offset
-
2
">
<div class="
col
-
md
-
8
col
-
md
-
offset
-
2
">
<div class="
panel
-
body
">
<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
">
<form class="
form
-
horizontal
" action="
{{
url
(
''
)
}}
" method="
POST
">
{!! csrf_field() !!}
{!! csrf_field() !!}
<div class="
form
-
group
{{
$errors
->
has
(
'tujuan'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<label for="
title
" class="
col
-
md
-
5
control
-
label
">Tujuan</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</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
">
<div class="
col
-
md
-
6
">
<input type="
text
" class="
form
-
control
" name="
name
" value="
{{
$riwayats
->
name
}}
" readonly>
<input type="
text
" class="
form
-
control
" name="
kembali
" value="
{{
$riwayatpesan
->
kembali
}}
" readonly>
@if (
$errors->has
('name
'))
@if (
$errors->has
('kembali
'))
<span class="
help
-
block
">
<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>
</span>
@endif
@endif
</div>
</div>
...
@@ -35,6 +105,9 @@
...
@@ -35,6 +105,9 @@
</form>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/vendor/adminlte/klien/riwayat/detail2.blade.php
View file @
aee6bd97
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
@
section
(
'contentheader_title'
)
@
section
(
'contentheader_title'
)
<
ol
class
="
breadcrumb
"><li><a href="
/
"><i class="
fa
fa
-
home
"></i> Home</a></li>
<
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
-
file
-
archive
-
o
"></i> Riwayat</li>
<li class="
active
"><i class="
fa
fa
-
bus
"></i> Detail Pesanan</li>
<li class="
active
"><i class="
fa
fa
-
eye
"></i> Detail Pesanan</li>
</ol><!-- breadcrumbs -->
</ol><!-- breadcrumbs -->
@endsection
@endsection
...
@@ -18,16 +18,97 @@
...
@@ -18,16 +18,97 @@
<div class="
col
-
md
-
8
col
-
md
-
offset
-
2
">
<div class="
col
-
md
-
8
col
-
md
-
offset
-
2
">
<div class="
panel
-
body
">
<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
">
<form class="
form
-
horizontal
" action="
{{
url
(
''
)
}}
" method="
POST
">
{!! csrf_field() !!}
{!! csrf_field() !!}
<div class="
form
-
group
{{
$errors
->
has
(
'tujuan'
)
?
' has-error'
:
''
}}
">
<div class="
form
-
group
{{
$errors
->
has
(
'name'
)
?
' has-error'
:
''
}}
">
<label for="
title
" class="
col
-
md
-
5
control
-
label
">Tujuan</label>
<label for="
title
" class="
col
-
md
-
4
control
-
label
">Nama Pemesan</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
">
<div class="
col
-
md
-
6
">
<input type="
text
" class="
form
-
control
" name="
name
" value="
{{
$riwayat2
->
name
}}
" readonly>
<input type="
text
" class="
form
-
control
" name="
plat_bus
" value="
{{
$riwayatpesan2
->
plat_bus
}}
" readonly>
@if (
$errors->has
('name
'))
@if (
$errors->has
('plat_bus
'))
<span class="
help
-
block
">
<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>
</span>
@endif
@endif
</div>
</div>
...
@@ -35,6 +116,9 @@
...
@@ -35,6 +116,9 @@
</form>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/vendor/adminlte/klien/riwayat/detail3.blade.php
0 → 100644
View file @
aee6bd97
@
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
resources/views/vendor/adminlte/klien/riwayat/index.blade.php
View file @
aee6bd97
...
@@ -25,26 +25,38 @@
...
@@ -25,26 +25,38 @@
</thead>
</thead>
<tbody>
<tbody>
@foreach(
$riwayat
as
$riway
a
)
@foreach(
$riwayat
pesan
as
$riwayatpes
a
)
<tr>
<tr>
<td>
{
{$riwaya->name}
}
</td>
<td>
{
{$riwaya
tpesa
->name}
}
</td>
<td>
{
{$riwaya->tujuan}
}
</td>
<td>
{
{$riwaya
tpesa
->tujuan}
}
</td>
<td>
{
{$riwaya->alasan}
}
</td>
<td>
{
{$riwaya
tpesa
->alasan}
}
</td>
<td>
{
{$riwaya->status}
}
</td>
<td>
{
{$riwaya
tpesa
->status}
}
</td>
<td colspan="
2
">
<td colspan="
2
">
<a href="
{{
url
(
'/riwayat/detail
s'
,
$riway
a
->
id
)}}
" class="
btn
btn
-
info
"><i class="
fa
fa
-
eye
"></i> Detail</a>
<a href="
{{
url
(
'/riwayat/detail
pesan'
,
$riwayatpes
a
->
id
)}}
" class="
btn
btn
-
info
"><i class="
fa
fa
-
eye
"></i> Detail</a>
</td>
</td>
</tr>
</tr>
</form>
</form>
@endforeach
@endforeach
@foreach(
$riwayat
2
as
$riway
a2
)
@foreach(
$riwayat
pesan2
as
$riwayatpes
a2
)
<tr>
<tr>
<td>
{
{$riwaya2->name}
}
</td>
<td>
{
{$riwaya
tpesa
2->name}
}
</td>
<td>
{
{$riwaya2->tujuan}
}
</td>
<td>
{
{$riwaya
tpesa
2->tujuan}
}
</td>
<td>
{
{$riwaya2->berangkat}
}
</td>
<td>
{
{$riwaya
tpesa
2->berangkat}
}
</td>
<td>
{
{$riwaya2->status}
}
</td>
<td>
{
{$riwaya
tpesa
2->status}
}
</td>
<td colspan="
2
">
<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>
</td>
</tr>
</tr>
</form>
</form>
...
...
routes/web.php
View file @
aee6bd97
...
@@ -72,6 +72,7 @@ Route::group(['middleware' => ['web','auth','k_klien']], function () {
...
@@ -72,6 +72,7 @@ Route::group(['middleware' => ['web','auth','k_klien']], function () {
Route
::
get
(
'/history'
,
'AdminController@history'
);
Route
::
get
(
'/history'
,
'AdminController@history'
);
Route
::
get
(
'/history/details/{id}'
,
'AdminController@detailriwayat'
);
Route
::
get
(
'/history/details/{id}'
,
'AdminController@detailriwayat'
);
Route
::
get
(
'/history/details2/{id}'
,
'AdminController@detailriwayat2'
);
Route
::
get
(
'/history/details2/{id}'
,
'AdminController@detailriwayat2'
);
Route
::
get
(
'/history/details3/{id}'
,
'AdminController@detailriwayat3'
);
});
});
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'k_supir'
]],
function
()
{
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'k_supir'
]],
function
()
{
...
@@ -112,6 +113,7 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
...
@@ -112,6 +113,7 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
Route
::
get
(
'/bus'
,
'KlienController@bus'
);
Route
::
get
(
'/bus'
,
'KlienController@bus'
);
Route
::
get
(
'/bus/detail/{id}'
,
'KlienController@detailbus'
);
Route
::
get
(
'/bus/detail/{id}'
,
'KlienController@detailbus'
);
Route
::
get
(
'/pesan'
,
'KlienController@pesan'
);
Route
::
get
(
'/pesan'
,
'KlienController@pesan'
);
Route
::
get
(
'/klien/pesan/pesanform'
,
'KlienController@pesanform'
);
Route
::
get
(
'/klien/pesan/pakaibus/{id}'
,
'KlienController@pakaibus'
);
Route
::
get
(
'/klien/pesan/pakaibus/{id}'
,
'KlienController@pakaibus'
);
Route
::
get
(
'/klien/pesan/pilih'
,
'KlienController@pilihbus'
);
Route
::
get
(
'/klien/pesan/pilih'
,
'KlienController@pilihbus'
);
...
@@ -124,7 +126,8 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
...
@@ -124,7 +126,8 @@ Route::group(['middleware' => ['web','auth','klien']], function () {
Route
::
get
(
'/riwayat'
,
'KlienController@riwayat'
);
Route
::
get
(
'/riwayat'
,
'KlienController@riwayat'
);
Route
::
get
(
'/riwayat/details/{id}'
,
'KlienController@riwayats'
);
Route
::
get
(
'/riwayat/detailpesan/{id}'
,
'KlienController@riwayatpesan'
);
Route
::
get
(
'/riwayat/details2/{id}'
,
'KlienController@riwayats2'
);
Route
::
get
(
'/riwayat/detailpesan2/{id}'
,
'KlienController@riwayatpesan2'
);
Route
::
get
(
'/riwayat/detailpesan3/{id}'
,
'KlienController@riwayatpesan3'
);
});
});
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment