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
5f547409
Commit
5f547409
authored
May 15, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pages
parent
b3d10d21
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
188 additions
and
5 deletions
+188
-5
desktop.ini
desktop.ini
+6
-0
dataPemesanan.blade.php
...ews/vendor/adminlte/layouts/admin/dataPemesanan.blade.php
+64
-0
AddBookManual.blade.php
...ews/vendor/adminlte/layouts/owner/AddBookManual.blade.php
+55
-0
EditRoom.blade.php
...es/views/vendor/adminlte/layouts/owner/EditRoom.blade.php
+49
-0
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+2
-2
web.php
routes/web.php
+12
-3
No files found.
desktop.ini
0 → 100644
View file @
5f547409
[.ShellClassInfo]
IconResource
=
C:
\W
INDOWS
\S
ystem32
\s
hell32.dll,263
[ViewState]
Mode
=
Vid
=
FolderType
=
Generic
resources/views/vendor/adminlte/layouts/admin/dataPemesanan.blade.php
0 → 100644
View file @
5f547409
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
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
">Data Pemesanan</span>
<span class="
info
-
box
-
number
"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Nama Homestay</th>
<th>Nama Pemilik Homstay</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Jumlah penginap</th>
<th>Jumlah Kamar yang dipesan</th>
</tr>
<tr>
<td>Hom Staywithme</td>
<td>Palti Sinaga</td>
<td>Dari sekarang</td>
<td>sampai sekarang</td>
<td>Banyak </td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/AddBookManual.blade.php
0 → 100644
View file @
5f547409
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
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
-
body
">
@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
<form action="" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
<!--
{
{csrf_field()}
}
-->
<label>Nama Pemesan</label>
<input type="
text
" name="
nama
" value="" id="
nama
" class="
form
-
control
">
<label> Jumlah Penginap </label>
<input type="
text
" name="
nama
" value="" id="
nama
" class="
form
-
control
">
<label>Tanggal Check in</label>
<input type="
Date
" name="
checkin
" value="" id="
checkin
" class="
form
-
control
">
<label>Tanggal Check out</label>
<input type="
Date
" name="
checkout
" value="" id="
checkout
" class="
form
-
control
">
<label>Total Pembayaran</label>
<input type="
text
" name="
TtlPembayaran
" value="" id="
nama
" class="
form
-
control
">
<label>Tanggal Pembayaran</label>
<input type="
Date
" name="
Tglbayar
" value="" id="
Tglbayar
" class="
form
-
control
">
<br>
<div class="
form
-
group
" align="
right
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
simpan
">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/owner/EditRoom.blade.php
0 → 100644
View file @
5f547409
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
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
-
body
">
@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
<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
"> -->
<label>Fasilitas</label>
<textarea name="
fasilitas
" value="" 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>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
5f547409
...
...
@@ -29,11 +29,11 @@
<li><a
href=
"{{url('requestFasilitas')}}"
><i
class=
'fa fa-home'
></i>
<span>
Acc Request Fasilitas
</span></a></li>
<li><a
href=
"{{url('admin/create')}}"
><i
class=
'fa fa-plus'
></i>
<span>
Add Owner
</span></a></li>
<li><a
href=
"{{url('requestHomestay')}}"
><i
class=
'fa fa-list'
></i>
<span>
Acc Pengajuan Homestay
</span></a></li>
<li><a
href=
"
#
"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Data Pemesanan
</span></a></li>
<li><a
href=
"
{{url('datapemesanan')}}
"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Data Pemesanan
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Daftar Owner
</span></a></li>
@elseif(Auth::user()->role=="Owner")
<li><a
href=
"
#
"
><i
class=
'fa fa-list'
></i>
<span>
Edit Room
</span></a></li>
<li><a
href=
"
{{url('EditRoom')}}
"
><i
class=
'fa fa-list'
></i>
<span>
Edit Room
</span></a></li>
<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>
...
...
routes/web.php
View file @
5f547409
...
...
@@ -46,6 +46,18 @@ Route::group(['middleware' => 'auth'], function () {
#adminlte_routes
});
Route
::
get
(
'EditRoom'
,
function
(){
return
view
(
'adminlte::layouts.owner.EditRoom'
);
});
Route
::
get
(
'AddBook'
,
function
(){
return
view
(
'adminlte::layouts.owner.AddBookManual'
);
});
Route
::
get
(
'DataPemesanan'
,
function
(){
return
view
(
'adminlte::layouts.admin.dataPemesanan'
);
});
Route
::
get
(
'daftarKamar'
,
'OwnerController@daftarKamar'
);
Route
::
get
(
'pesanan'
,
'OwnerController@listTransaction'
);
Route
::
put
(
'upload/{id}'
,
'CustomerController@upload'
);
...
...
@@ -77,6 +89,3 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route
::
resource
(
'profile'
,
'ProfileController'
);
Route
::
get
(
'reqFasilitas'
,
'OwnerController@requestFasilitas'
);
Route
::
post
(
'reqFasilitas'
,
'OwnerController@storeRequest'
);
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