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
ec43af1a
Commit
ec43af1a
authored
May 17, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memperindah saja
parent
716d1c5e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
381 additions
and
413 deletions
+381
-413
listRequestFasilitas.blade.php
...dor/adminlte/layouts/admin/listRequestFasilitas.blade.php
+4
-9
EditRoom.blade.php
...es/views/vendor/adminlte/layouts/owner/EditRoom.blade.php
+40
-52
ListPengajuanFasilitas.blade.php
...r/adminlte/layouts/owner/ListPengajuanFasilitas.blade.php
+64
-68
ListPengajuanHomestay.blade.php
...or/adminlte/layouts/owner/ListPengajuanHomestay.blade.php
+54
-61
PengajuanHomestay.blade.php
...vendor/adminlte/layouts/owner/PengajuanHomestay.blade.php
+35
-35
RequestFasilitas.blade.php
.../vendor/adminlte/layouts/owner/RequestFasilitas.blade.php
+41
-48
listPesanan.blade.php
...views/vendor/adminlte/layouts/owner/listPesanan.blade.php
+59
-64
listRoom.blade.php
...es/views/vendor/adminlte/layouts/owner/listRoom.blade.php
+62
-70
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+22
-6
No files found.
resources/views/vendor/adminlte/layouts/admin/listRequestFasilitas.blade.php
View file @
ec43af1a
...
...
@@ -5,7 +5,6 @@
@
endsection
@
section
(
'main-content'
)
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PERMINTAAN FASILITAS </h3>
...
...
@@ -21,10 +20,9 @@
@endif
</div>
<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>
<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>
...
...
@@ -78,9 +76,6 @@
@endforeach
</table>
</div>
</div>
@endsection
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/EditRoom.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
box
-
header
with
-
border
">
<div class="
box
box
-
primary
">
<div class="
box
-
header
with
-
border
">
<h3 clas="
box
-
title
"> Fasilitas </h3>
@if(Session::has('alert-success'))
<div class="
alert
alert
-
success
">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<<<<<<< HEAD
<form action="
{{
url
(
'editRoom/'
.
$data
->
id
)}}
" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
{
{csrf_field()}
}
<label>Jumlah Bed</label>
<input class="
form
-
control
" value="
{{
$data
->
jumlah_bed
}}
" name="
jumlah_bed
">
<label>Fasilitas</label>
<textarea name="
fasilitas
" value="
{{
$data
->
fasilitas
}}
" id="
fasilitas
" class="
form
-
control
" style="
height
:
200
px
;
"></textarea>
=======
</div>
<div class="
box
-
body
">
<form action="" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
<!--
{
{csrf_field()}
}
-->
<!-- <label>Nama</label>
<input type="
text
" name="
nama
" value="" id="
nama
" class="
form
-
control
"> -->
<textarea name="
fasilitas
" value="" id="
fasilitas
" class="
form
-
control
" style="
height
:
200
px
;
"></textarea>
>>>>>>> e284fbd4e32a23911ebcd8b9659904834dc7b2f9
<label>Foto</label>
<input type="
file
" value="
Browse
" name="
foto
" id="
picture
" >
<div class="
form
-
group
" align="
right
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
simpan
">
</div>
</form>
</div>
<div class="
box
-
footer
">
</div>
</div>
</div>
<
div
class
="
box
box
-
info
">
<div class="
box
-
header
with
-
border
">
<h3 clas="
box
-
title
"> Fasilitas </h3>
@if(Session::has('alert-success'))
<div class="
alert
alert
-
success
">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="
box
-
body
">
<form action="
{{
url
(
'editRoom/'
.
$data
->
id
)}}
" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
{
{csrf_field()}
}
<label>Jumlah Bed</label>
<input class="
form
-
control
" value="
{{
$data
->
jumlah_bed
}}
" name="
jumlah_bed
">
<label>Fasilitas</label>
<textarea name="
fasilitas
" value="
{{
$data
->
fasilitas
}}
" id="
fasilitas
" class="
form
-
control
" style="
height
:
200
px
;
"></textarea>
<label>Foto</label>
<input type="
file
" value="
Browse
" name="
foto
" id="
picture
" >
<div class="
form
-
group
" align="
right
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
simpan
">
</div>
</form>
</div>
<div class="
box
-
footer
">
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/ListPengajuanFasilitas.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
10
col
-
md
-
offset
-
1
">
<div class="
panel
panel
-
default
">
<div id="
app
">
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
info
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan Fasilitas</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Judul</th>
<td>Deskripsi</td>
<td>jumlah</td>
<td>Gambar</td>
<td>Status</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaRequestFasilitas}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->jumlah}
}
</td>
<td>
@if(
$a->gambar
==null)
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
@else
<img alt="
User
Pic
" src="
img
/
{{
$data
->
gambar
}}
" class="
img
-
circle
img
-
responsive
">
@endif
</td>
<td>@if(
$a->status
==0) Sedang Menunggu
@elseif(
$a->status
==1) Diterima
@elseif(
$a->status
==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PENGAJUAN HOMESTAY </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
</div>
<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="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
</div
>
</div
>
</div
>
<div class="
info
-
box
-
content
"
>
<span class="
info
-
box
-
text
">List Pengajuan Fasilitas</span
>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span
>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
@endsection
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Judul</th>
<td>Deskripsi</td>
<td>jumlah</td>
<td>Gambar</td>
<td>Status</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaRequestFasilitas}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->jumlah}
}
</td>
<td>
@if(
$a->gambar
==null)
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
@else
<img alt="
User
Pic
" src="
img
/
{{
$data
->
gambar
}}
" class="
img
-
circle
img
-
responsive
">
@endif
</td>
<td>@if(
$a->status
==0) Sedang Menunggu
@elseif(
$a->status
==1) Diterima
@elseif(
$a->status
==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/ListPengajuanHomestay.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
10
col
-
md
-
offset
-
1
">
<div class="
panel
panel
-
default
">
<div id="
app
">
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
info
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan Homestay</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Nama Homestay</th>
<td>Jumlah Kamar</td>
<td>Status</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaHomestay}
}
</td>
<td>
{
{$a->jumlahKamar}
}
</td>
<td>@if(
$a->status
==0) Sedang Menunggu
@elseif(
$a->status
==1) Diterima
@elseif(
$a->status
==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
</div>
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PENGAJUAN HOMESTAY </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endsection
@endif
</div>
<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="
glyphicon
glyphicon
glyphicon
-
home
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan Homestay</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
<br>
</div>
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Nama Homestay</th>
<td>Jumlah Kamar</td>
<td>Status</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaHomestay}
}
</td>
<td>
{
{$a->jumlahKamar}
}
</td>
<td>@if(
$a->status
==0) Sedang Menunggu
@elseif(
$a->status
==1) Diterima
@elseif(
$a->status
==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/PengajuanHomestay.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
10
col
-
md
-
offset
-
1
">
<div class="
panel
panel
-
default
">
<div class="
panel
-
heading
">
<div class="
panel
-
body
">
<div class="
row
">
You Aare Here!!
<form action="
{{
url
(
'pengajuanHomestay'
)
}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<br>
<label>Nama Homestay</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Homestay
" name="
namaHomestay
"/>
<span class="
fa
fa
-
sort
-
numeric
-
asc
form
-
control
-
feedback
"></span>
</div>
<label>Jumlah Kamar</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Jumlah
Kamar
" name="
jumlahKamar
" />
<span class="
fa
fa
-
sort
-
numeric
-
asc
form
-
control
-
feedback
"></span>
</div>
<br>
<div class="
col
-
xs
-
4
col
-
xs
-
push
-
8
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
">Ajukan</button>
</div><!
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<
div
class
="
box
box
-
primary
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> REQUEST FASILITAS </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endsection
\ No newline at end of file
@endif
</div>
<div class="
box
-
body
">
<form action="
{{
url
(
'pengajuanHomestay'
)
}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<label>Nama Homestay</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Homestay
" name="
namaHomestay
"/>
</div>
<label>Jumlah Kamar</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Jumlah
Kamar
" name="
jumlahKamar
" >
</div>
<br>
<div class="
form
-
group
" align="
right
" style="
color
:
black
;
">
<button type="
submit
" class="
btn
btn
-
primary
">Ajukan</button>
</div>
</form>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/RequestFasilitas.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
10
col
-
md
-
offset
-
1
">
<div class="
panel
panel
-
default
">
<div class="
panel
-
heading
">
<div class="
panel
-
body
">
<div class="
row
">
You Aare Here!!
<form action="
{{
url
(
'reqFasilitas'
)
}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<br>
<label>Judul</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Request
Fasilitas
" name="
namaRequestFasilitas
"/>
<span class="
fa
fa
-
sort
-
numeric
-
asc
form
-
control
-
feedback
"></span>
</div>
<label>Deskripsi</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Deskripsi
" name="
deskripsi
" />
<span class="
fa
fa
-
sort
-
numeric
-
asc
form
-
control
-
feedback
"></span>
</div>
<label>Jumlah</label>
<div class="">
<input type="
text
" class="
form
-
control
" placeholder="
Jumlah
" name="
jumlah
"/>
<span class="
fa
fa
-
text
-
width
form
-
control
-
feedback
"></span>
</div>
<label>Kategori</label>
<div class="">
<select name="
id_kategoriFasiltas
" class="">
<option value=1> Kamar Tidur </option>
<option value=2> Perlatan Kamar Mandi </option>
</select>
{{--<input id="
role
" class="
form
-
control
" name="
role
" required>--}}
</div>
<br>
<div class="
col
-
xs
-
4
col
-
xs
-
push
-
8
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
block
btn
-
flat
">Ajukan</button>
</div><!
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<
div
class
="
box
box
-
primary
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> REQUEST FASILITAS </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endsection
\ No newline at end of file
@endif
</div>
<div class="
box
-
body
">
<form action="
{{
url
(
'reqFasilitas'
)
}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<label>Judul</label>
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Request
Fasilitas
" name="
namaRequestFasilitas
"/>
<label>Deskripsi</label>
<input type="
text
" class="
form
-
control
" placeholder="
Deskripsi
" name="
deskripsi
" />
<label>Jumlah</label>
<input type="
text
" class="
form
-
control
" placeholder="
Jumlah
" name="
jumlah
"/>
<label>Kategori</label>
<select class="
form
-
control
select2
select2
-
hidden
-
accessible
" name="
id_kategoriFasiltas
" style="
width
:
100
%
;
" tabindex="
-
1
" aria-hidden="
true
">
<option value=1> Kamar Tidur </option>
<option value=2> Perlatan Kamar Mandi </option>
</select>
<!-- <select name="
id_kategoriFasiltas
" class="">
<option value=1> Kamar Tidur </option>
<option value=2> Perlatan Kamar Mandi </option>
</select> -->
{{--<input id="
role
" class="
form
-
control
" name="
role
" required>--}}
<br>
<div class="
form
-
group
" align="
right
" style="
color
:
black
;
">
<button type="
submit
" class="
btn
btn
-
primary
">Ajukan</button>
</div>
</form>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/listPesanan.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
12
col
-
md
-
offset
-
0
">
<div class="
panel
panel
-
default
">
<div id="
app
">
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
info
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan Pemesanan</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Nama Pelanggan</th>
<th>Nomor Telepon</th>
<th>Pekerjaan</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Lama Menginap</th>
<th>Jumlah Kamar</th>
<th>Bukti Pembayaran</th>
<th>Status</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->alamat}
}
</td>
<td>
{
{$a->noTelepon}
}
</td>
<td>
{
{$a->tanggal_mulai}
}
</td>
<td>
{
{$a->tanggal_berakhir}
}
</td>
<td>
{
{$a->lama_menginap}
}
Hari</td>
<td>
{
{$a->jumlah_kamar}
}
</td>
<td><img src="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" style="
width
:
100
px
" alt="
User
Image
" /></td>
<td>{{"
belum
bang
"}}</td>
</tr>
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> FASILITAS </h3>
@if(Session::has('alert-success'))
<div class="
alert
alert
-
success
">
{{ Session::get('alert-success') }}
</div>
@endif
@endforeach
</table>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
</div>
<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="
glyphicon
glyphicon
glyphicon
-
list
-
alt
"></i></span>
</div
>
</div
>
</div
>
<div class="
info
-
box
-
content
"
>
<span class="
info
-
box
-
text
">List Pengajuan Pemesanan</span
>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span
>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
@endsection
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Nama Pelanggan</th>
<th>Nomor Telepon</th>
<th>Pekerjaan</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Lama Menginap</th>
<th>Jumlah Kamar</th>
<th>Bukti Pembayaran</th>
<th>Status</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->alamat}
}
</td>
<td>
{
{$a->noTelepon}
}
</td>
<td>
{
{$a->tanggal_mulai}
}
</td>
<td>
{
{$a->tanggal_berakhir}
}
</td>
<td>
{
{$a->lama_menginap}
}
Hari</td>
<td>
{
{$a->jumlah_kamar}
}
</td>
<td><img src="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" style="
width
:
100
px
" alt="
User
Image
" /></td>
<td>{{"
belum
bang
"}}</td>
</tr>
@endforeach
</table>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/listRoom.blade.php
View file @
ec43af1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
12
">
<div class="
panel
panel
-
default
">
<div id="
app
">
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
info
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
glyphicon
glyphicon
-
modal
-
window
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Room</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>No Kamar</th>
<th>Jumlah Bed</th>
<td>Detail</td>
<td>Foto</td>
<td colspan="
2
">Aksi</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nomor_kamar}
}
</td>
<td>
{
{$a->jumlah_bed}
}
</td>
<td>
{
{$a->fasilitas}
}
</td>
<td>@if(
$a->gambar
== null)
<img alt="
Belum
ada
foto
">
@else
<img src="
/
img
/
{{
$a
->
gambar
}}
">
@endif
</td>
<td>
<a href="
{{
url
(
'editRoom/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
"><i class="
glyphicon
glyphicon
-
edit
"></i></a>
</td>
<td>
<form action="
{{
url
(
'room/'
.
$a
->
id
)}}
" method="
POST
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
DELETE
">
<button type="
submit
" class="
btn
btn
-
danger
"><i class="
glyphicon
glyphicon
-
trash
"></i></button>
</form>
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST RUANGAN </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
</div>
<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="
glyphicon
glyphicon
glyphicon
-
bed
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Room</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
@endsection
<br>
<table class="
table
table
-
striped
">
<tr>
<th>No Kamar</th>
<th>Jumlah Bed</th>
<td>Detail</td>
<td>Foto</td>
<td colspan="
2
">Aksi</td>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nomor_kamar}
}
</td>
<td>
{
{$a->jumlah_bed}
}
</td>
<td>
{
{$a->fasilitas}
}
</td>
<td>@if(
$a->gambar
== null)
<img alt="
Belum
ada
foto
">
@else
<img src="
/
img
/
{{
$a
->
gambar
}}
" style="
max
-
height
:
150
px
">
@endif
</td>
<td>
<a href="
{{
url
(
'editRoom/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
"><i class="
glyphicon
glyphicon
-
edit
"></i></a>
</td>
<td>
<form action="
{{
url
(
'room/'
.
$a
->
id
)}}
" method="
POST
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
DELETE
">
<button type="
submit
" class="
btn
btn
-
danger
"><i class="
glyphicon
glyphicon
-
trash
"></i></button>
</form>
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
ec43af1a
...
...
@@ -42,13 +42,29 @@
<li><a
href=
"{{url('listPemesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Data Pemesanan
</span></a></li>
@elseif(Auth::user()->role=="Owner")
<li><a
href=
"{{url('pesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pesanan
</span></a></li>
<li><a
href=
"{{url('reqFasilitas')}}"
><i
class=
'fa fa-list'
></i>
<span>
Request Fasilitas
</span></a></li>
<li><a
href=
"#"
><i
class=
'fa fa-list'
></i>
<span>
Add Book Manual
</span></a></li>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-television'
></i>
<span>
FASILITAS
</span></a>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('reqFasilitas')}}"
><i
class=
'fa fa-external-link-square'
></i>
<span>
Request Fasilitas
</span></a></li>
<li><a
href=
"listPengajuanFasilitas"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pengajuan Fasilitas
</span></a></li>
</ul>
</li>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-bed'
></i>
<span>
KAMAR
</span></a>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('daftarKamar')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Kamar
</span></a></li>
<li><a
href=
"listPengajuan"
><i
class=
"fa fa-list"
></i><span>
Daftar Pengajuan Homestay
</span></a></li>
<li><a
href=
"listPengajuanFasilitas"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pengajuan Fasilitas
</span></a></li>
<li><a
href=
"pengajuanHomestay"
><i
class=
'fa fa-list'
></i>
<span>
Pengajuan Homestay
</span></a></li>
<li><a
href=
"listPengajuanFasilitas"
><i
class=
'fa fa-external-link-square'
></i>
<span>
Daftar Pengajuan Fasilitas
</span></a></li>
</ul>
</li>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-inbox'
></i>
<span>
PESANAN
</span></a>
<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=
"#"
><i
class=
'fa fa-plus'
></i>
<span>
Tambah Pesanan Manual
</span></a></li>
</ul>
</li>
@endif
...
...
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