Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ridwan Hidayat
go-wisata
Commits
4893f964
Commit
4893f964
authored
2 years ago
by
dindarestika
Browse files
Options
Download
Email Patches
Plain Diff
tempat sewa to villa
parent
8fcb9369
main
ridwan
salsabilifee
No related merge requests found
Changes
52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
resources/views/explore/halaman_detailevent.blade.php
+20
-2
resources/views/explore/halaman_detailevent.blade.php
resources/views/explore/halaman_explore.blade.php
+26
-10
resources/views/explore/halaman_explore.blade.php
resources/views/explore/halaman_explore_event.blade.php
+2
-1
resources/views/explore/halaman_explore_event.blade.php
resources/views/explore/halaman_explore_event_detail.blade.php
+3
-3
...rces/views/explore/halaman_explore_event_detail.blade.php
resources/views/explore/halaman_explore_tempat_sewa.blade.php
+38
-2
...urces/views/explore/halaman_explore_tempat_sewa.blade.php
resources/views/explore/halaman_explore_tempatsewa_detail.blade.php
+20
-2
...views/explore/halaman_explore_tempatsewa_detail.blade.php
resources/views/explore/halaman_tempatsewa_formpesan.blade.php
+7
-8
...rces/views/explore/halaman_tempatsewa_formpesan.blade.php
resources/views/penginapan/tiket/check.blade.php
+263
-266
resources/views/penginapan/tiket/check.blade.php
resources/views/pesanan/semuapesanan.blade.php
+6
-4
resources/views/pesanan/semuapesanan.blade.php
resources/views/rating/ratingevent.blade.php
+7
-0
resources/views/rating/ratingevent.blade.php
resources/views/rating/ratingtempatsewa.blade.php
+6
-1
resources/views/rating/ratingtempatsewa.blade.php
routes/web.php
+1
-3
routes/web.php
with
399 additions
and
302 deletions
+399
-302
resources/views/explore/halaman_detailevent.blade.php
View file @
4893f964
...
...
@@ -82,7 +82,7 @@
<div
class=
"w-100"
>
<div
class=
"d-flex justify-content-between align-items-center mb-1"
>
<h6
class=
"text-primary mb-0"
>
<span
class=
"text-dark ms-2"
>
{{ $r->
user->
nam
e
}}
</span>
<span
class=
"text-dark ms-2"
>
{{ $r->nam
a
}}
</span>
<span
class=
"badge rounded-pill bg-light"
style=
"font-size:10px;color:grey"
>
<i
class=
"fa fa-calendar"
...
...
@@ -128,7 +128,25 @@
</span>
</div>
<div
class=
"col-md-4"
>
<textarea
id=
"comment"
name=
"comment"
cols=
"85"
rows=
"8"
placeholder=
"Type Review Here"
>
{{ $r->comment }}
</textarea>
<textarea
id=
"comment"
name=
"comment"
cols=
"80"
rows=
"8"
placeholder=
"Type Review Here"
>
{{ $r->comment }}
</textarea>
</br>
<label>
Comment as
<input
type=
"radio"
name=
"nama"
value=
"Anonymous"
checked
@
php
echo
$
r
['
nama
'
] =
=
'
Anonymous
'
?
'
checked
'
:
'';
@
endphp
/>
Anonymous
<input
type=
"radio"
name=
"nama"
value=
"{{ Auth::user()->name }}"
@
php
echo
$
r
['
nama
'
] =
=
Auth::user
()
-
>
name ? 'checked' : '';
@endphp />{{ Auth::user()->name }}
</label>
</div>
</div>
<div
class=
"modal-footer"
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_explore.blade.php
View file @
4893f964
...
...
@@ -31,8 +31,9 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Wisata
Watu
Gambir
</
h5
>
<
p
class
=
"card-text"
>
With
supporting
text
below
as
a
natural
lead
-
in
to
additional
content
.
<
h5
class
=
"card-title"
>
Wisata
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
wisata
memberikan
beragam
informasi
penting
paket
wisata
liburan
bersama
keluarga
,
yang
menarik
untuk
dikunjungi
dengan
harga
terjangkau
.
</
p
>
<
a
href
=
"{{ url('./wisata/wisata-watu-gambir') }}"
class
=
"button"
>
Explore
</
a
>
</
div
>
...
...
@@ -41,8 +42,9 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Event
Watu
Gambir
</
h5
>
<
p
class
=
"card-text"
>
With
supporting
text
below
as
a
natural
lead
-
in
to
additional
content
.
<
h5
class
=
"card-title"
>
Event
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
event
memberikan
beragam
informasi
penting
tentang
kegiatan
atau
acara
yang
bisa
diikuti
bersama
teman
maupun
keluarga
.
</
p
>
<
a
href
=
"/explore-event"
class
=
"button"
>
Explore
</
a
>
</
div
>
...
...
@@ -51,8 +53,9 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Kuliner
Watu
Gambir
</
h5
>
<
p
class
=
"card-text"
>
With
supporting
text
below
as
a
natural
lead
-
in
to
additional
content
.
<
h5
class
=
"card-title"
>
Kuliner
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
kuliner
memberikan
referensi
makanan
dan
minuman
yang
bisa
Anda
coba
bersama
teman
maupun
keluarga
.
</
p
>
<
a
href
=
"#"
class
=
"button"
>
Explore
</
a
>
</
div
>
...
...
@@ -61,8 +64,9 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Penyewaan
Tempat
Watu
Gambir
</
h5
>
<
p
class
=
"card-text"
>
With
supporting
text
below
as
a
natural
lead
-
in
to
additional
content
.
<
h5
class
=
"card-title"
>
Penginapan
(
Hotel
&
Villa
)
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
penginapan
memberikan
beragam
informasi
mengenai
hotel
dan
villa
yang
tersedia
,
jika
Anda
membutuhkan
tempat
yang
nyaman
untuk
liburan
.
</
p
>
<
a
href
=
"/explore-tempatsewa"
class
=
"button"
>
Explore
</
a
>
</
div
>
...
...
@@ -71,8 +75,20 @@
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Merchandise
Watu
Gambir
</
h5
>
<
p
class
=
"card-text"
>
With
supporting
text
below
as
a
natural
lead
-
in
to
additional
content
.
<
h5
class
=
"card-title"
>
Merchandise
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
merchandise
memberikan
beragam
informasi
produk
atau
pernak
-
pernik
khas
daerah
,
untuk
Anda
yang
tertarik
membeli
oleh
-
oleh
.
</
p
>
<
a
href
=
"#"
class
=
"button"
>
Explore
</
a
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-sm-6"
>
<
div
class
=
"card"
>
<
div
class
=
"card-body"
>
<
h5
class
=
"card-title"
>
Penyewaan
Tempat
</
h5
>
<
p
class
=
"card-text"
align
=
"justify"
>
Explore
penyewaan
tempat
memberikan
informasi
tempat
yang
bisa
disewa
untuk
keperluan
Wedding
,
Acara
Keluarga
,
dan
lain
-
lain
.
</
p
>
<
a
href
=
"#"
class
=
"button"
>
Explore
</
a
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_explore_event.blade.php
View file @
4893f964
...
...
@@ -107,7 +107,8 @@
value=
"{{ $value->kode_event }}"
>
<input
type=
"hidden"
name=
"id"
value=
"{{ $value->id }}"
>
<input
type=
"number"
name=
"jml_orang"
class=
"form-control"
aria-describedby=
"button-addon2"
>
aria-describedby=
"button-addon2"
placeholder=
"maksimal pesan untuk 5 orang "
>
<button
class=
"btn btn-primary"
type=
"submit"
>
Pesan
</button>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_explore_event_detail.blade.php
View file @
4893f964
...
...
@@ -52,7 +52,7 @@
<input
type=
"text"
hidden
name=
"kode_peserta[]"
value=
"{{ $kode_peserta }}"
>
<div
class=
"col-md-4"
>
<label>
Nama Peserta
</label>
<label>
Nama Peserta
*
</label>
</div>
<div
class=
"col-md-12"
>
<div
class=
"form-group has-icon-left"
>
...
...
@@ -63,7 +63,7 @@
</div>
</div>
<div
class=
"col-md-4"
>
<label>
Email
</label>
<label>
Email
*
</label>
</div>
<div
class=
"col-md-12"
>
<div
class=
"form-group has-icon-left"
>
...
...
@@ -74,7 +74,7 @@
</div>
</div>
<div
class=
"col-md-4"
>
<label>
No Telepon
</label>
<label>
No Telepon
*
</label>
</div>
<div
class=
"col-md-12"
>
<div
class=
"form-group has-icon-left"
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_explore_tempat_sewa.blade.php
View file @
4893f964
...
...
@@ -25,7 +25,7 @@
<
input
type
=
"text"
class
=
"form-control"
placeholder
=
"Check Out"
disabled
>
<
input
type
=
"date"
name
=
"checkout"
id
=
"datefield2"
class
=
"form-control checkout-date @error('checkout') is-invalid @enderror"
required
>
{{
--
<
select
class
=
"form-select list-tempat"
name
=
"
tempatsew
a_id"
>
{{
--
<
select
class
=
"form-select list-tempat"
name
=
"
vill
a_id"
>
</
select
>
--
}}
{{
--
<
input
type
=
"number"
name
=
"jml_orang"
class
=
"form-control me-1"
placeholder
=
"jumlah orang"
>
--
}}
<
button
class
=
"button"
type
=
"submit"
>
Search
</
button
>
...
...
@@ -63,7 +63,7 @@
</
a
>
@
php
$rating
=
App\Models\reviewtempatsewa
::
where
(
'
tempatsew
a_id'
,
$cekkamar
->
id
)
$rating
=
App\Models\reviewtempatsewa
::
where
(
'
vill
a_id'
,
$cekkamar
->
id
)
->
whereNotNull
(
'rating'
)
->
avg
(
'rating'
);
@
endphp
...
...
@@ -213,6 +213,42 @@
</
div
>
</
div
>
</
section
>
@
isset
(
$penginapan
)
@
if
(
count
(
$penginapan
)
>
0
)
<
section
class
=
"place section"
id
=
"place"
>
<
h2
class
=
"section__title"
>
Hotel
Disekitar
</
h2
>
<
div
class
=
"place__container container grid"
>
@
foreach
(
$penginapan
as
$key
=>
$tempat2
)
<!--====================
PLACES
CARD
1
====================-->
<
div
class
=
"place__card"
>
<
img
src
=
"{{ asset('images') }}/{{
$tempat2->image
}}"
alt
=
""
class
=
"place__img"
>
<
div
class
=
"place__content"
>
<
span
class
=
"place__rating"
>
<
i
class
=
"ri-star-line place__rating-icon"
></
i
>
<!--<
span
class
=
"place__rating-number"
>
4
,
8
</
span
>-->
</
span
>
<
div
class
=
"place__data"
>
<
h3
class
=
"place__title"
>
{{
$tempat2
->
name
}}
</
h3
>
<
span
class
=
"place__price"
>
{{
$tempat2
->
kategori
}}
</
span
>
</
div
>
</
div
>
<
a
href
=
"/{{
$tempat2->kategori
}}/{{
$tempat2->slug
}}"
>
<
button
class
=
"button button--flex place__button"
>
<
i
class
=
"ri-arrow-right-line"
></
i
>
</
button
>
</
a
>
</
div
>
@
endforeach
</
div
>
</
section
>
@
endif
@
endisset
</
main
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_explore_tempatsewa_detail.blade.php
View file @
4893f964
...
...
@@ -69,7 +69,7 @@
<
div
class
=
"w-100"
>
<
div
class
=
"d-flex justify-content-between align-items-center mb-1"
>
<
h6
class
=
"text-primary mb-0"
>
{{
--
<
span
class
=
"text-dark ms-2"
>
Anonymous
</
span
>
--
}}
<
span
class
=
"text-dark ms-2"
>
{{
$r
->
nama
}}
</
span
>
<
span
class
=
"badge rounded-pill bg-light"
style
=
"font-size:10px;color:grey"
>
<
i
class
=
"fa fa-calendar"
...
...
@@ -115,7 +115,25 @@
</span>
</div>
<div
class=
"col-md-4"
>
<textarea
id=
"comment"
name=
"comment"
cols=
"85"
rows=
"8"
placeholder=
"Type Review Here"
>
{{ $r->comment }}
</textarea>
<textarea
id=
"comment"
name=
"comment"
cols=
"80"
rows=
"8"
placeholder=
"Type Review Here"
>
{{ $r->comment }}
</textarea>
</br>
<label>
Comment as
<input
type=
"radio"
name=
"nama"
value=
"Anonymous"
checked
@
php
echo
$
r
['
nama
'
] =
=
'
Anonymous
'
?
'
checked
'
:
'';
@
endphp
/>
Anonymous
<input
type=
"radio"
name=
"nama"
value=
"{{ Auth::user()->name }}"
@
php
echo
$
r
['
nama
'
] =
=
Auth::user
()
-
>
name ? 'checked' : '';
@endphp />{{ Auth::user()->name }}
</label>
</div>
</div>
<div
class=
"modal-footer"
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_tempatsewa_formpesan.blade.php
View file @
4893f964
...
...
@@ -32,7 +32,7 @@
<
div
class
=
"card-body"
>
<
div
class
=
"form-group"
>
<
div
class
=
"col-md-4"
>
<
label
>
Nama
</
label
>
<
label
>
Nama
*
</
label
>
</
div
>
<
div
class
=
"col-md-12"
>
<
div
class
=
"form-group has-icon-left"
>
...
...
@@ -43,7 +43,7 @@
</
div
>
</
div
>
<
div
class
=
"col-md-4"
>
<
label
>
No
Telepon
</
label
>
<
label
>
No
Telepon
*
</
label
>
</
div
>
<
div
class
=
"col-md-12"
>
<
div
class
=
"form-group has-icon-left"
>
...
...
@@ -54,26 +54,25 @@
</
div
>
</
div
>
<
div
class
=
"col-md-4"
>
<
label
>
Jumlah
orang
</
label
>
<
label
>
Jumlah
orang
*
</
label
>
</
div
>
<
div
class
=
"col-md-8"
>
<
div
class
=
"form-group has-icon-left"
>
<
input
type
=
"number"
class
=
"form-control @error('jml_orang') is-invalid @enderror"
name
=
"jml_orang"
id
=
"first-name-icon"
value
=
"{{ old('jml_orang') }}"
required
>
name
=
"jml_orang"
id
=
"first-name-icon"
value
=
"{{ old('jml_orang') }}"
required
>
</
div
>
</
div
>
<
div
class
=
"col-md-4"
>
<
label
>
Kartu
Identitas
(
KTP
/
Paspor
/
dll
)
</
label
>
<
label
>
No
Identitas
(
NIK
)
*
</
label
>
</
div
>
<
div
class
=
"col-md-8"
>
<
div
class
=
"form-group has-icon-left"
>
<
div
class
=
"position-relative"
>
<
input
class
=
"form-control @error('kartu_identitas') is-invalid @enderror"
name
=
"kartu_identitas"
type
=
"file"
id
=
"foto"
multiple
=
""
required
>
name
=
"kartu_identitas"
type
=
"number"
required
>
<
div
class
=
"form-control-icon"
>
<
i
class
=
"bi bi-person-square"
></
i
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/penginapan/tiket/check.blade.php
View file @
4893f964
This diff is collapsed.
Click to expand it.
resources/views/pesanan/semuapesanan.blade.php
View file @
4893f964
...
...
@@ -444,8 +444,9 @@
<a
href=
"ratingevent/{{ $tiket->kode }}"
><button
class=
"btn btn-outline-primary me-1 mb-1"
>
Ulas
</button></a>
@elseif ($review->status == '1')
<a
href=
"#"
><button
class=
"btn btn-outline-primary me-1 mb-1"
>
Selesai
<a
target=
"blank"
href=
"/detail/explore-event/{{ $review->event_id }}"
><button
class=
"btn btn-outline-success me-1 mb-1"
>
Selesai
Ulas
</button></a>
@endif
@endif
...
...
@@ -456,8 +457,9 @@
<a
href=
"ratingtempatsewa/{{ $tiket->kode }}"
><button
class=
"btn btn-outline-primary me-1 mb-1"
>
Ulas
</button></a>
@elseif ($review_tempat->status == '1')
<a
href=
"#"
><button
class=
"btn btn-outline-primary me-1 mb-1"
>
Selesai
<a
target=
"blank"
href=
"/explore-tempatsewa-detail/{{ $review_tempat->villa_id }}"
><button
class=
"btn btn-outline-success me-1 mb-1"
>
Selesai
Ulas
</button></a>
@endif
@endif
...
...
This diff is collapsed.
Click to expand it.
resources/views/rating/ratingevent.blade.php
View file @
4893f964
...
...
@@ -45,10 +45,17 @@
<
input
type
=
"radio"
id
=
"rated-5"
name
=
"rating"
value
=
"5"
checked
=
"checked"
>
</
p
>
</
div
>
<
p
class
=
"comment-form-comment"
>
<
textarea
id
=
"comment"
name
=
"comment"
cols
=
"45"
rows
=
"8"
placeholder
=
"Type Review Here"
></
textarea
>
<
label
>
Comment
as
&
nbsp
;
&
nbsp
;
&
nbsp
;
<
input
type
=
"radio"
name
=
"nama"
value
=
"Anonymous"
/>
Anonymous
&
nbsp
;
<
input
type
=
"radio"
name
=
"nama"
value
=
"{{ Auth::user()->name }}"
/>
{{
Auth
::
user
()
->
name
}}
</
label
>
</
p
>
<
p
class
=
"form-submit"
>
{{
--
<
input
name
=
"submit"
type
=
"submit"
id
=
"submit"
class
=
"submit"
value
=
"Submit"
>
--
}}
<
button
type
=
"submit"
class
=
"btn btn-primary"
name
=
"submit"
...
...
This diff is collapsed.
Click to expand it.
resources/views/rating/ratingtempatsewa.blade.php
View file @
4893f964
...
...
@@ -30,7 +30,7 @@
@
csrf
<
div
class
=
"comment-form-rating"
>
<
p
class
=
"stars"
>
<
input
type
=
"hidden"
name
=
"
tempatsew
a_id"
value
=
"{{
$dt->id_produk
}}"
>
<
input
type
=
"hidden"
name
=
"
vill
a_id"
value
=
"{{
$dt->id_produk
}}"
>
<
input
type
=
"hidden"
name
=
"kode_tiket"
value
=
"{{
$dt->kode_tiket
}}"
>
<
input
type
=
"hidden"
name
=
"user_id"
value
=
"{{ auth()->user()->id }}"
>
<
label
for
=
"rated-1"
></
label
>
...
...
@@ -48,6 +48,11 @@
</
div
>
<
p
class
=
"comment-form-comment"
>
<
textarea
id
=
"comment"
name
=
"comment"
cols
=
"45"
rows
=
"8"
placeholder
=
"Type Review Here"
></
textarea
>
<
label
>
Comment
as
&
nbsp
;
&
nbsp
;
&
nbsp
;
<
input
type
=
"radio"
name
=
"nama"
value
=
"Anonymous"
/>
Anonymous
&
nbsp
;
<
input
type
=
"radio"
name
=
"nama"
value
=
"{{ Auth::user()->name }}"
/>
{{
Auth
::
user
()
->
name
}}
</
label
>
</
p
>
<
p
class
=
"form-submit"
>
{{
--
<
input
name
=
"submit"
type
=
"submit"
id
=
"submit"
class
=
"submit"
value
=
"Submit"
>
--
}}
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
4893f964
...
...
@@ -263,8 +263,6 @@ Route::group([
],
function
()
{
Route
::
get
(
'/rekapp'
,
[
RekapWController
::
class
,
'rekappenginapan'
])
->
name
(
'rekapp.index'
);
Route
::
post
(
'/rekapp'
,
[
RekapWController
::
class
,
'sortp'
]);
Route
::
get
(
'/rekapp/print/{date}'
,
[
RekapWController
::
class
,
'printpenginapan'
])
->
name
(
'print.rekapp'
);
...
...
@@ -377,7 +375,7 @@ Route::post('/full-calender/action', [App\Http\Controllers\FullCalendarControlle
Route
::
get
(
'/desa/{slug}'
,
[
FrontendController
::
class
,
'tempatshow'
])
->
name
(
'front.showd'
);
Route
::
get
(
'/wisata/{slug}'
,
[
FrontendController
::
class
,
'tempatshow'
])
->
name
(
'front.showw'
);
Route
::
get
(
'/
hotel
/{slug}'
,
[
FrontendController
::
class
,
'tempatshow'
])
->
name
(
'front.showh'
);
Route
::
get
(
'/
penginapan
/{slug}'
,
[
FrontendController
::
class
,
'tempatshow'
])
->
name
(
'front.showh'
);
Route
::
get
(
'/kuliner/{slug}'
,
[
FrontendController
::
class
,
'tempatshow'
])
->
name
(
'front.showk'
);
Route
::
post
(
'/tiket/{name}'
,
[
TiketController
::
class
,
'beli'
])
->
name
(
'tiket.beli'
);
Route
::
get
(
'/logout2'
,
[
App\Http\Controllers\Auth\LoginController
::
class
,
'logout'
])
->
name
(
'logout2'
);
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
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
Menu
Projects
Groups
Snippets
Help