Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
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
Juliper
pa2d4ti06
Commits
b7a08ba4
Commit
b7a08ba4
authored
Jun 10, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memperbaiki
parent
6f691c39
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
37 additions
and
90 deletions
+37
-90
CustomerController.php
app/Http/Controllers/CustomerController.php
+7
-1
OwnerController.php
app/Http/Controllers/OwnerController.php
+5
-2
RequestFasilitas.php
app/RequestFasilitas.php
+1
-1
e3.JPG
public/img/e3.JPG
+0
-0
addOwner.blade.php
...es/views/vendor/adminlte/layouts/admin/addOwner.blade.php
+7
-11
dataPemesanan.blade.php
...ews/vendor/adminlte/layouts/admin/dataPemesanan.blade.php
+1
-15
listOwner.blade.php
...s/views/vendor/adminlte/layouts/admin/listOwner.blade.php
+0
-14
listPengajuan.blade.php
...ews/vendor/adminlte/layouts/admin/listPengajuan.blade.php
+0
-15
listRequestFasilitas.blade.php
...dor/adminlte/layouts/admin/listRequestFasilitas.blade.php
+1
-12
History.blade.php
...views/vendor/adminlte/layouts/customers/History.blade.php
+5
-3
ListPengajuanFasilitas.blade.php
...r/adminlte/layouts/owner/ListPengajuanFasilitas.blade.php
+1
-5
Homestay.blade.php
...es/views/vendor/adminlte/layouts/pages/Homestay.blade.php
+2
-4
htmlheader.blade.php
...ews/vendor/adminlte/layouts/partials/htmlheader.blade.php
+2
-2
mainheader.blade.php
...ews/vendor/adminlte/layouts/partials/mainheader.blade.php
+2
-2
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+2
-2
web.php
routes/web.php
+1
-1
No files found.
app/Http/Controllers/CustomerController.php
View file @
b7a08ba4
...
@@ -33,7 +33,13 @@ class CustomerController extends Controller
...
@@ -33,7 +33,13 @@ class CustomerController extends Controller
$dataTrsaksi
=
Transaksi
::
find
(
$id
);
$dataTrsaksi
=
Transaksi
::
find
(
$id
);
$dataTrsaksi
->
delete
();
$dataTrsaksi
->
status
=
3
;
$dataTrsaksi
->
update
();
//$dataTrsaksi->delete();
DB
::
table
(
'daftar_book'
)
->
where
(
'id_transaksi'
,
'='
,
$id
)
->
delete
();
DB
::
table
(
'daftar_book'
)
->
where
(
'id_transaksi'
,
'='
,
$id
)
->
delete
();
...
...
app/Http/Controllers/OwnerController.php
View file @
b7a08ba4
...
@@ -367,11 +367,14 @@ class OwnerController extends Controller
...
@@ -367,11 +367,14 @@ class OwnerController extends Controller
->
select
(
'pemilikhomestay.id'
)
->
select
(
'pemilikhomestay.id'
)
->
where
(
'users.id'
,
'='
,
Auth
::
user
()
->
id
)
->
where
(
'users.id'
,
'='
,
Auth
::
user
()
->
id
)
->
get
();
->
get
();
//dd($request['namaRequestFasilitas']);
$data
=
new
RequestFasilitas
();
$data
=
new
RequestFasilitas
();
$data
->
id_pemilik_homestay
=
$idPemilik
[
0
]
->
id
;
$data
->
id_pemilik_homestay
=
$idPemilik
[
0
]
->
id
;
$data
->
id_kategori
Fasiltas
=
$request
[
'id_kategori_f
asiltas'
];
$data
->
id_kategori
_fasiltas
=
$request
[
'id_kategoriF
asiltas'
];
$data
->
nama
RequestFasilitas
=
$request
[
'namaRequest_f
asilitas'
];
$data
->
nama
_request_fasilitas
=
$request
[
'namaRequestF
asilitas'
];
$data
->
deskripsi
=
$request
[
'deskripsi'
];
$data
->
deskripsi
=
$request
[
'deskripsi'
];
$data
->
jumlah
=
$request
[
'jumlah'
];
$data
->
jumlah
=
$request
[
'jumlah'
];
...
...
app/RequestFasilitas.php
View file @
b7a08ba4
...
@@ -9,7 +9,7 @@ class RequestFasilitas extends Model
...
@@ -9,7 +9,7 @@ class RequestFasilitas extends Model
protected
$table
=
"requestfasilitas"
;
protected
$table
=
"requestfasilitas"
;
protected
$fillable
=
[
protected
$fillable
=
[
'id'
,
'id_pemilik_homestay'
,
'id_kategori
Fasiltas'
,
'namaRequestFasilitas'
,
'deskripsi'
,
'jumlahKamar'
,
'jumlah'
,
'gambar
'
,
'id'
,
'id_pemilik_homestay'
,
'id_kategori
_fasiltas'
,
'nama_request_fasilitas'
,
'deskripsi'
,
'jumlah'
,
'gambar'
,
'status
'
,
];
];
public
$timestamps
=
false
;
public
$timestamps
=
false
;
...
...
public/img/e3.JPG
0 → 100644
View file @
b7a08ba4
17.9 KB
resources/views/vendor/adminlte/layouts/admin/addOwner.blade.php
View file @
b7a08ba4
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
endsection
@
section
(
'main-content'
)
@
section
(
'main-content'
)
<
div
class
="
box
box
-
success
col
-
md
-
8
">
<
div
class
="
col
-
md
-
8
">
<div class="
box
box
-
primary
">
<div class="
box
-
header
with
-
border
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> Tambah Pemilik Homestay </h3>
<h3 class="
box
-
title
"> Tambah Pemilik Homestay </h3>
</div>
</div>
...
@@ -24,11 +25,11 @@
...
@@ -24,11 +25,11 @@
<form action="
{{
url
(
'admin'
)
}}
" method="
post
">
<form action="
{{
url
(
'admin'
)
}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<div class="
form
-
group
has
-
feedback
">
<div class="
form
-
group
has
-
feedback
">
<input type="
text
" class="
form
-
control
" placeholder="
{{
trans
(
'adminlte_lang::message.fullname'
)
}}
" name="
name
" value="
{{
old
(
'name'
)
}}
"/>
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Lengkap
" name="
name
" value="
{{
old
(
'name'
)
}}
"/>
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
</div>
</div>
<div class="
form
-
group
has
-
feedback
">
<div class="
form
-
group
has
-
feedback
">
<input type="
text
" class="
form
-
control
" placeholder="
{{
trans
(
'adminlte_lang::message.username'
)
}}
" name="
username
" value="
{{
old
(
'username'
)
}}
"/>
<input type="
text
" class="
form
-
control
" placeholder="
Username
" name="
username
" value="
{{
old
(
'username'
)
}}
"/>
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
</div>
</div>
<div class="
form
-
group
has
-
feedback
">
<div class="
form
-
group
has
-
feedback
">
...
@@ -50,17 +51,11 @@
...
@@ -50,17 +51,11 @@
<div class="
row
">
<div class="
row
">
<div class="
col
-
xs
-
1
">
<div class="
col
-
xs
-
1
">
<label>
<label>
<div class="
checkbox_register
icheck
">
<label>
<input type="
checkbox
" name="
terms
">
</label>
</div>
</label>
</label>
</div><!-- /.col -->
</div><!-- /.col -->
<div class="
col
-
xs
-
6
">
<div class="
col
-
xs
-
6
">
<div class="
form
-
group
">
<button type="
button
" class="
btn
btn
-
block
btn
-
flat
" data-toggle="
modal
" data-target="
#termsModal">{{ trans('adminlte_lang::message.terms') }}</button>
</
div
>
</div><!-- /.col -->
</div><!-- /.col -->
<div class="
col
-
xs
-
4
col
-
xs
-
push
-
1
">
<div class="
col
-
xs
-
4
col
-
xs
-
push
-
1
">
<button type="
submit
" class="
btn
btn
-
success
btn
-
block
btn
-
flat
">{{ trans('adminlte_lang::message.register') }}</button>
<button type="
submit
" class="
btn
btn
-
success
btn
-
block
btn
-
flat
">{{ trans('adminlte_lang::message.register') }}</button>
...
@@ -71,5 +66,6 @@
...
@@ -71,5 +66,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@endsection
resources/views/vendor/adminlte/layouts/admin/dataPemesanan.blade.php
View file @
b7a08ba4
...
@@ -20,21 +20,7 @@
...
@@ -20,21 +20,7 @@
@endif
@endif
</div>
</div>
<div class="
box
-
body
">
<div class="
box
-
body
">
<br>
<table class="
table
table
-
striped
">
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">Data Pemesanan</span>
<span class="
info
-
box
-
number
"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<tr>
<th>Nama Homestay</th>
<th>Nama Homestay</th>
<th>Nama Pemilik Homstay</th>
<th>Nama Pemilik Homstay</th>
...
...
resources/views/vendor/adminlte/layouts/admin/listOwner.blade.php
View file @
b7a08ba4
...
@@ -20,20 +20,6 @@
...
@@ -20,20 +20,6 @@
@endif
@endif
</div>
</div>
<div class="
box
-
body
">
<div class="
box
-
body
">
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Owner</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<table class="
table
table
-
striped
">
<tr>
<tr>
...
...
resources/views/vendor/adminlte/layouts/admin/listPengajuan.blade.php
View file @
b7a08ba4
...
@@ -21,21 +21,6 @@
...
@@ -21,21 +21,6 @@
</ul>
</ul>
</div>
</div>
@endif
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<table class="
table
table
-
striped
">
<tr>
<tr>
<th>Pengaju</th>
<th>Pengaju</th>
...
...
resources/views/vendor/adminlte/layouts/admin/listRequestFasilitas.blade.php
View file @
b7a08ba4
...
@@ -20,18 +20,7 @@
...
@@ -20,18 +20,7 @@
@endif
@endif
</div>
</div>
<div class="
box
-
body
">
<div class="
box
-
body
">
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<table class="
table
table
-
striped
">
<tr>
<tr>
<th>Pengaju</th>
<th>Pengaju</th>
...
...
resources/views/vendor/adminlte/layouts/customers/History.blade.php
View file @
b7a08ba4
...
@@ -35,16 +35,18 @@
...
@@ -35,16 +35,18 @@
<a href="
{{
url
(
'buktipembayaran/'
.
$a
->
id
)}}
">Upload Bukti</a>
<a href="
{{
url
(
'buktipembayaran/'
.
$a
->
id
)}}
">Upload Bukti</a>
</td>
</td>
<td>
<td>
<form action="
{{
url
(
'batalkanPemesanan/'
.
$a
->
id
)}}
" method="
POST
">
<form action="
{{
url
(
'batalkan/'
.
$a
->
id
)}}
" method="
post
">
<input type="
hidden
" name="
_method
" value="
PUT
">
</i><input type="
submit
" value="
batalkan
">
{
{csrf_field()}
}
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" id="
hapus
" value="
DELETE
">
<button type="
submit
" class="
btn
btn
-
danger
">Hapus</button>
</form>
</form>
</td>
</td>
@elseif(
$a->status
==1)
@elseif(
$a->status
==1)
<td colspan="
3
"><h3>Di Terima</h3></td>
<td colspan="
3
"><h3>Di Terima</h3></td>
@elseif(
$a->status
==2)
@elseif(
$a->status
==2)
<td colspan="
3
"><h3>Di Tolak</h3></td>
<td colspan="
3
"><h3>Di Tolak</h3></td>
@elseif(
$a->status
=3)
<td colspan="
3
"><h3>Telah Dibatalkan</h3></td>
@endif
@endif
</td>
</td>
...
...
resources/views/vendor/adminlte/layouts/owner/ListPengajuanFasilitas.blade.php
View file @
b7a08ba4
...
@@ -25,19 +25,15 @@
...
@@ -25,19 +25,15 @@
<br>
<br>
<table class="
table
table
-
striped
">
<table class="
table
table
-
striped
">
<tr>
<tr>
<th>Pengaju</th>
<th>Judul</th>
<th>Judul</th>
<td>Deskripsi</td>
<td>Keterangan</td>
<td>jumlah</td>
<td>Gambar</td>
<td>Gambar</td>
<td>Status</td>
<td>Status</td>
</tr>
</tr>
@foreach(
$data
as
$a
)
@foreach(
$data
as
$a
)
<tr>
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->nama_request_fasilitas}
}
</td>
<td>
{
{$a->nama_request_fasilitas}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->jumlah}
}
</td>
<td>
<td>
@if(
$a->gambar
==null)
@if(
$a->gambar
==null)
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
...
...
resources/views/vendor/adminlte/layouts/pages/Homestay.blade.php
View file @
b7a08ba4
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<!-- Booking -->
<!-- Booking -->
<div class="
details
agileits
w3layouts
" style="
margin
-
top
:
1
0
px
;
padding
:
0
px
">
<div class="
details
agileits
w3layouts
" style="
margin
-
top
:
2
0
px
;
padding
:
0
px
">
<br>
<br>
@if(Session::has('message'))
@if(Session::has('message'))
<div class="
alert
alert
-
danger
">
<div class="
alert
alert
-
danger
">
...
@@ -56,12 +56,11 @@
...
@@ -56,12 +56,11 @@
<!-- Booking -->
<!-- Booking -->
<div class="
details
agilets
w3layouts
" style="
margin
-
bottom
:
0
px
;
margin
-
top
:
0
px
;
">
<div class="
details
agilets
w3layouts
" style="
margin
-
bottom
:
0
px
;
margin
-
top
:
0
px
;
">
<h2 > Daftar
Booking
di
{
{$data->nama_homestay}
}
</h2>
<h2 > Daftar
Pesanan
di
{
{$data->nama_homestay}
}
</h2>
<div class="
container
">
<div class="
container
">
<table class="
table
table
-
hover
" style="
background
-
color
:
white
;
margin
-
top
:
20
px
;
">
<table class="
table
table
-
hover
" style="
background
-
color
:
white
;
margin
-
top
:
20
px
;
">
<thead>
<thead>
<tr>
<tr>
<th> Nama Pemesan </th>
<th> Tanggal Mulai </th>
<th> Tanggal Mulai </th>
<th> Tanggal Berakhir </th>
<th> Tanggal Berakhir </th>
<th> Jumlah Kamar</th>
<th> Jumlah Kamar</th>
...
@@ -70,7 +69,6 @@
...
@@ -70,7 +69,6 @@
<tbody>
<tbody>
@foreach(
$daftarBook
as
$a
)
@foreach(
$daftarBook
as
$a
)
<tr>
<tr>
<td>
{
{$a->nama_pemesan}
}
</td>
<td>
{
{$a->tanggal_mulai}
}
</td>
<td>
{
{$a->tanggal_mulai}
}
</td>
<td>
{
{$a->tanggal_berakhir}
}
</td>
<td>
{
{$a->tanggal_berakhir}
}
</td>
<td>
{
{$a->jumlah_kamar}
}
</td>
<td>
{
{$a->jumlah_kamar}
}
</td>
...
...
resources/views/vendor/adminlte/layouts/partials/htmlheader.blade.php
View file @
b7a08ba4
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
SI
Booking
Homestay - @yield('htmlheader_title', 'Your title here')
</title>
<title>
SI
Pemesanan
Homestay - @yield('htmlheader_title', 'Your title here')
</title>
<meta
content=
'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
name=
'viewport'
>
<meta
content=
'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
name=
'viewport'
>
<!-- CSRF Token -->
<!-- CSRF Token -->
<meta
name=
"csrf-token"
content=
"{{ csrf_token() }}"
>
<meta
name=
"csrf-token"
content=
"{{ csrf_token() }}"
>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<![endif]-->
<![endif]-->
<script
src=
"{{ asset('/js/app.js') }}"
type=
"text/javascript"
></script>
<script
src=
"{{ asset('/js/app.js') }}"
type=
"text/javascript"
></script>
<script>
<script>
window
.
Laravel
=
{
!!
json_encode
([
window
.
Laravel
=
{
!!
json_encode
([
'csrfToken'
=>
csrf_token
(),
'csrfToken'
=>
csrf_token
(),
])
!!
};
])
!!
};
</script>
</script>
...
...
resources/views/vendor/adminlte/layouts/partials/mainheader.blade.php
View file @
b7a08ba4
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<!-- Logo -->
<!-- Logo -->
<a
href=
"{{ url('/home') }}"
class=
"logo"
>
<a
href=
"{{ url('/home') }}"
class=
"logo"
>
<!-- mini logo for sidebar mini 50x50 pixels -->
<!-- mini logo for sidebar mini 50x50 pixels -->
<span
class=
"logo-mini"
><b>
SI
</b>
B
H
</span>
<span
class=
"logo-mini"
><b>
SI
</b>
P
H
</span>
<!-- logo for regular state and mobile devices -->
<!-- logo for regular state and mobile devices -->
<span
class=
"logo-lg"
><b>
SI
</b>
Booking
Homestay
</span>
<span
class=
"logo-lg"
style=
"font-size: 17px;"
><b>
SI
</b>
Pemesanan
Homestay
</span>
</a>
</a>
<!-- Header Navbar -->
<!-- Header Navbar -->
...
...
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
b7a08ba4
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</li>
</li>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-users'
></i>
<span>
Pemilik Homestay
</span></a>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-users'
></i>
<span>
Pemilik Homestay
</span></a>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('admin/create')}}"
><i
class=
'
fa-user
-plus'
></i>
<span>
Tambah Pemilik Homestay
</span></a></li>
<li><a
href=
"{{url('admin/create')}}"
><i
class=
'
fa fa
-plus'
></i>
<span>
Tambah Pemilik Homestay
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pemilik Homestay
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pemilik Homestay
</span></a></li>
</ul>
</ul>
</li>
</li>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-inbox'
></i>
<span>
PESANAN
</span></a>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-inbox'
></i>
<span>
PESANAN
</span></a>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('pesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pesanan
</span></a></li>
<li><a
href=
"{{url('pesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Pesanan Baru
</span></a></li>
<li><a
href=
"{{url('daftarBooking')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Booked
</span></a></li>
<li><a
href=
"{{url('daftarBooking')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Booked
</span></a></li>
<li><a
href=
"{{url('AddBook')}}"
><i
class=
'fa fa-plus'
></i>
<span>
Tambah Pesanan Manual
</span></a></li>
<li><a
href=
"{{url('AddBook')}}"
><i
class=
'fa fa-plus'
></i>
<span>
Tambah Pesanan Manual
</span></a></li>
</ul>
</ul>
...
...
routes/web.php
View file @
b7a08ba4
...
@@ -85,7 +85,7 @@ Route::get('daftar','GuestController@register');
...
@@ -85,7 +85,7 @@ Route::get('daftar','GuestController@register');
Route
::
post
(
'daftar'
,
'GuestController@registerStore'
);
Route
::
post
(
'daftar'
,
'GuestController@registerStore'
);
Route
::
group
([
'middleware'
=>
'customer'
],
function
()
{
Route
::
group
([
'middleware'
=>
'customer'
],
function
()
{
Route
::
delete
(
'batalkanPemesan
an/{id}'
,
'CustomerController@cancelPemesanan'
);
Route
::
put
(
'batalk
an/{id}'
,
'CustomerController@cancelPemesanan'
);
Route
::
put
(
'upload/{id}'
,
'CustomerController@upload'
);
Route
::
put
(
'upload/{id}'
,
'CustomerController@upload'
);
Route
::
get
(
'customerHistory'
,
'CustomerController@history'
);
Route
::
get
(
'customerHistory'
,
'CustomerController@history'
);
Route
::
post
(
'book'
,
'CustomerController@booking'
);
Route
::
post
(
'book'
,
'CustomerController@booking'
);
...
...
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