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
5456ac6a
Commit
5456ac6a
authored
Jun 15, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pagi
parent
de32596c
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
471 additions
and
22 deletions
+471
-22
CustomerController.php
app/Http/Controllers/CustomerController.php
+15
-0
OwnerController.php
app/Http/Controllers/OwnerController.php
+3
-0
p2d4ti06_test.sql
p2d4ti06_test.sql
+32
-13
rincianHistory.blade.php
resources/views/rincianHistory.blade.php
+1
-0
History.blade.php
...views/vendor/adminlte/layouts/customers/History.blade.php
+16
-6
History.blade.php
...or/adminlte/layouts/customers/customers/History.blade.php
+66
-0
UpdatePemesanan.blade.php
...lte/layouts/customers/customers/UpdatePemesanan.blade.php
+22
-0
Upload.blade.php
...dor/adminlte/layouts/customers/customers/Upload.blade.php
+23
-0
editprofiles.blade.php
...minlte/layouts/customers/customers/editprofiles.blade.php
+49
-0
profiles.blade.php
...r/adminlte/layouts/customers/customers/profiles.blade.php
+49
-0
rincianHistory.blade.php
...nlte/layouts/customers/customers/rincianHistory.blade.php
+0
-0
rincianpemesanan.blade.php
...te/layouts/customers/customers/rincianpemesanan.blade.php
+131
-0
rincianHistory.blade.php
...endor/adminlte/layouts/customers/rincianHistory.blade.php
+62
-0
rincianpemesanan.blade.php
...dor/adminlte/layouts/customers/rincianpemesanan.blade.php
+0
-1
detailpesanan.blade.php
...ews/vendor/adminlte/layouts/owner/detailpesanan.blade.php
+1
-1
web.php
routes/web.php
+1
-1
No files found.
app/Http/Controllers/CustomerController.php
View file @
5456ac6a
...
...
@@ -267,6 +267,21 @@ class CustomerController extends Controller
return
view
(
'adminlte::layouts.customers.History'
)
->
with
(
'data'
,
$dataTrans
);
}
//Mengkases Halaman Rincian History Pelanggan
public
function
rincianHistory
(
$id
){
$rincianHistory
=
DB
::
table
(
'transaksi'
)
->
join
(
'pelanggan'
,
'transaksi.id_pelanggan'
,
'='
,
'pelanggan.id'
)
->
join
(
'homestay'
,
'transaksi.id_homestay'
,
'='
,
'homestay.id'
)
->
join
(
'pemilikhomestay'
,
'homestay.id_pemilik'
,
'='
,
'pemilikhomestay.id'
)
->
select
(
'transaksi.status'
,
'transaksi.total_pembayaran'
,
'transaksi.bukti_pembayaran'
,
'transaksi.tanggal_mulai'
,
'transaksi.id'
,
'transaksi.tanggal_berakhir'
,
'transaksi.jumlah_kamar'
,
'transaksi.lama_menginap'
,
'pelanggan.nama'
,
'pelanggan.no_telepon'
,
'pemilikhomestay.no_rekening'
,
'homestay.nama_homestay'
)
->
where
(
'transaksi.id'
,
'='
,
$id
)
->
get
();
//dd($rincianHistory);
return
view
(
'adminlte::layouts.customers.rincianHistory'
)
->
with
(
'data'
,
$rincianHistory
[
0
]);
}
//Mengakses Profile Pelanggan
public
function
profile
(){
$data
=
DB
::
table
(
'pelanggan'
)
...
...
app/Http/Controllers/OwnerController.php
View file @
5456ac6a
...
...
@@ -87,6 +87,9 @@ class OwnerController extends Controller
->
get
();
return
view
(
'adminlte::layouts.owner.home'
)
->
with
(
'dataF'
,
$dataFeedback
)
->
with
(
'countF'
,
$dataFeedback
->
count
())
->
with
(
'dataB'
,
$dataListOfBook
)
->
with
(
'countB'
,
$dataListOfBook
->
count
())
->
with
(
'dataK'
,
$datakamar
)
->
with
(
'countK'
,
$datakamar
->
count
());
// return view('adminlte::layouts.owner.listPesanan')->with('count',$data->count())->with('count1',$dataListOfBook->count())->with('count2',$dataFeedback->count())->with('dataF',$dataFeedback);
}
...
...
p2d4ti06_test.sql
View file @
5456ac6a
...
...
@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 14 Jun 2017 pada 1
2
.37
-- Generation Time: 14 Jun 2017 pada 1
6
.37
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
...
...
@@ -38,9 +38,18 @@ CREATE TABLE `daftar_book` (
`jumlah_tamu`
int
(
10
)
DEFAULT
NULL
,
`total_harga`
int
(
10
)
DEFAULT
NULL
,
`lama_menginap`
int
(
10
)
DEFAULT
NULL
,
`extrabed`
int
(
2
)
DEFAULT
NULL
,
`status`
tinyint
(
1
)
DEFAULT
'1'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `daftar_book`
--
INSERT
INTO
`daftar_book`
(
`id`
,
`homestay`
,
`id_transaksi`
,
`nama_pemesan`
,
`jumlah_kamar`
,
`tanggal_mulai`
,
`tanggal_berakhir`
,
`permintaan_khusus`
,
`jumlah_tamu`
,
`total_harga`
,
`lama_menginap`
,
`extrabed`
,
`status`
)
VALUES
(
27
,
9
,
31
,
'Sudarsono Sianipar'
,
1
,
'2017-06-16'
,
'2017-06-17'
,
'Penydiaan Kopi di malam Hari'
,
1
,
450000
,
NULL
,
NULL
,
0
),
(
28
,
13
,
38
,
'Lesa Lesuu '
,
2
,
'2017-06-16'
,
'2017-06-19'
,
'Kopi di pagi hari'
,
4
,
930000
,
NULL
,
1
,
0
);
-- --------------------------------------------------------
--
...
...
@@ -293,9 +302,17 @@ CREATE TABLE `requestfasilitas` (
`deskripsi`
varchar
(
255
)
NOT
NULL
,
`jumlah`
int
(
11
)
NOT
NULL
,
`gambar`
varchar
(
255
)
DEFAULT
NULL
,
`pesan`
varchar
(
255
)
DEFAULT
NULL
,
`status`
int
(
1
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `requestfasilitas`
--
INSERT
INTO
`requestfasilitas`
(
`id`
,
`id_pemilik_homestay`
,
`id_kategori_fasiltas`
,
`nama_request_fasilitas`
,
`deskripsi`
,
`jumlah`
,
`gambar`
,
`pesan`
,
`status`
)
VALUES
(
1
,
6
,
1
,
'Keramik Pecah'
,
' Terjadi Gempa dan mengakibatkan keramik kamar homestay retak yang menyebabkan ketidak nyaman pelanggan'
,
100
,
'images2.jpg'
,
NULL
,
0
);
-- --------------------------------------------------------
--
...
...
@@ -314,6 +331,7 @@ CREATE TABLE `transaksi` (
`total_pembayaran`
int
(
10
)
DEFAULT
NULL
,
`jumlah_tamu`
int
(
5
)
DEFAULT
NULL
,
`permintaan_khusus`
text
,
`extrabed`
int
(
2
)
DEFAULT
NULL
,
`tanggal_konfirmasi`
date
DEFAULT
NULL
,
`status`
int
(
1
)
UNSIGNED
ZEROFILL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
...
...
@@ -322,8 +340,9 @@ CREATE TABLE `transaksi` (
-- Dumping data untuk tabel `transaksi`
--
INSERT
INTO
`transaksi`
(
`id`
,
`id_pelanggan`
,
`id_homestay`
,
`tanggal_mulai`
,
`tanggal_berakhir`
,
`jumlah_kamar`
,
`lama_menginap`
,
`bukti_pembayaran`
,
`total_pembayaran`
,
`jumlah_tamu`
,
`permintaan_khusus`
,
`tanggal_konfirmasi`
,
`status`
)
VALUES
(
30
,
6
,
9
,
'2017-06-16'
,
'2017-06-19'
,
1
,
3
,
NULL
,
450000
,
1
,
'Penyediaan Kopi di waktu kedatangan kami'
,
NULL
,
0
);
INSERT
INTO
`transaksi`
(
`id`
,
`id_pelanggan`
,
`id_homestay`
,
`tanggal_mulai`
,
`tanggal_berakhir`
,
`jumlah_kamar`
,
`lama_menginap`
,
`bukti_pembayaran`
,
`total_pembayaran`
,
`jumlah_tamu`
,
`permintaan_khusus`
,
`extrabed`
,
`tanggal_konfirmasi`
,
`status`
)
VALUES
(
31
,
6
,
9
,
'2017-06-16'
,
'2017-06-17'
,
1
,
3
,
NULL
,
450000
,
1
,
'Penydiaan Kopi di malam Hari'
,
NULL
,
NULL
,
0
),
(
38
,
2
,
13
,
'2017-06-16'
,
'2017-06-19'
,
2
,
3
,
NULL
,
930000
,
4
,
'Kopi di pagi hari'
,
1
,
NULL
,
0
);
-- --------------------------------------------------------
...
...
@@ -349,11 +368,11 @@ CREATE TABLE `users` (
--
INSERT
INTO
`users`
(
`id`
,
`name`
,
`username`
,
`email`
,
`password`
,
`foto`
,
`role`
,
`remember_token`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
'Juliper'
,
'admin'
,
'admin@del.ac.id'
,
'$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe'
,
'gravatar.png'
,
'DinasPariwisata'
,
'
ww1bVGIoCXSJFWYSdeVVF5wLxvbJxCF9p6qWRzhMfHpHBfBg24j0entbsRdj'
,
'2017-04-22 02:30:14'
,
'2017-06-14 00:26:38
'
),
(
5
,
'Palti Sinaga'
,
'palti'
,
'palti1@gmail.com'
,
'$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..'
,
'bulbul-01_gdsl53-1.jpg'
,
'Owner'
,
'
hlWmlBMs0XUFfdmLT1b49CvO4JbNv6LPTNuBYyDjf62Cb801gn0GPxqSnbYP'
,
'2017-04-29 08:07:38'
,
'2017-06-14 00:24:08
'
),
(
14
,
'Lesa Lesuu '
,
'lesa'
,
'lesa@gmail.com'
,
'$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW'
,
'anonymous1.jpg'
,
'Customer'
,
'
91pjAdMmJtvpgnOc4lyi56WLPh6n8eMq2JbmWvC5ssRtBsPAHNkeiEPK4j1N'
,
'2017-05-09 02:41:21'
,
'2017-06-14 00:16:53
'
),
(
2
,
'Juliper'
,
'admin'
,
'admin@del.ac.id'
,
'$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe'
,
'gravatar.png'
,
'DinasPariwisata'
,
'
BfmiEoGfbZvYpleBG21C01jBs7nQCOhVec3arre0lY20dCrCo744IcviA8Lh'
,
'2017-04-22 02:30:14'
,
'2017-06-14 07:14:47
'
),
(
5
,
'Palti Sinaga'
,
'palti'
,
'palti1@gmail.com'
,
'$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..'
,
'bulbul-01_gdsl53-1.jpg'
,
'Owner'
,
'
MLVXiYgrv1tVMTPu4seCPlSsNV2uVkfWTnUkEuXJZzeiAUNAvP6hIn0obUXK'
,
'2017-04-29 08:07:38'
,
'2017-06-14 06:18:01
'
),
(
14
,
'Lesa Lesuu '
,
'lesa'
,
'lesa@gmail.com'
,
'$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW'
,
'anonymous1.jpg'
,
'Customer'
,
'
XUwSDlqllhbMgMIIYODbZTIFYCk4vNaOwxSRF4c9mA5P85h6lUowDenuWBwl'
,
'2017-05-09 02:41:21'
,
'2017-06-14 06:59:18
'
),
(
22
,
'Op.Balata'
,
'opbalata'
,
'balata@gmail.com'
,
'$2y$10$HuXdLU2i0RdiweXKE07seugcrYbDrAWiZx3o3ExrR1pYKjFuEthvi'
,
'gravatar.png'
,
'Owner'
,
'ChwqElcpjW1D2bNnx4CmCareT3ICTWO9H7wudCT451qm0z1OMo5T4kHSCB8E'
,
'2017-05-25 21:10:39'
,
'2017-06-12 10:57:38'
),
(
28
,
'Sudarsono Sianipar'
,
'sudaraja'
,
'sudar@gmail.com'
,
'$2y$10$pT.It3G0VrMqlYG5X4C6o.U/34qBTo8KTV3WwMB/IRxlByxGwwR7i'
,
'anonymous1.jpg'
,
'Customer'
,
'
Nzzce9MfsIJWwY99MVKHFHs6gRxxK2MEKSKJKgIgsS9cZq24iIELm1x2c1z6'
,
'2017-06-10 00:04:53'
,
'2017-06-14 00:04:5
1'
),
(
28
,
'Sudarsono Sianipar'
,
'sudaraja'
,
'sudar@gmail.com'
,
'$2y$10$pT.It3G0VrMqlYG5X4C6o.U/34qBTo8KTV3WwMB/IRxlByxGwwR7i'
,
'anonymous1.jpg'
,
'Customer'
,
'
jxdJpM9QLJXIFPX102qxhcv1UM4TpaAce9CKdToNcyy9fmA1QZNKxbJ7DtBu'
,
'2017-06-10 00:04:53'
,
'2017-06-14 03:49:2
1'
),
(
30
,
'Dion Marpaung'
,
'dionmarpa'
,
'dion@gmail.com'
,
'$2y$10$sZxys5lQucdsSd3ahMbi7esS8qDhBdt3AF4.QRnWXm0Ho.qrtCRr.'
,
'gravatar.png'
,
'Owner'
,
'cg5ojdq1PzeKCockL5mj0IOCv8jkRx9DMUGUHz8bilhPNCAhSEg4egDrPAJe'
,
'2017-06-12 06:34:07'
,
'2017-06-12 10:52:15'
);
--
...
...
@@ -474,7 +493,7 @@ ALTER TABLE `users`
-- AUTO_INCREMENT for table `daftar_book`
--
ALTER
TABLE
`daftar_book`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
2
7
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
2
9
;
--
-- AUTO_INCREMENT for table `dinaspariwisata`
--
...
...
@@ -509,7 +528,7 @@ ALTER TABLE `migrations`
-- AUTO_INCREMENT for table `pelanggan`
--
ALTER
TABLE
`pelanggan`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
8
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
7
;
--
-- AUTO_INCREMENT for table `pemilikhomestay`
--
...
...
@@ -519,22 +538,22 @@ ALTER TABLE `pemilikhomestay`
-- AUTO_INCREMENT for table `pengajuan_homestay`
--
ALTER
TABLE
`pengajuan_homestay`
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
10
;
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT for table `requestfasilitas`
--
ALTER
TABLE
`requestfasilitas`
MODIFY
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
17
;
MODIFY
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
2
;
--
-- AUTO_INCREMENT for table `transaksi`
--
ALTER
TABLE
`transaksi`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
1
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
9
;
--
-- AUTO_INCREMENT for table `users`
--
ALTER
TABLE
`users`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
2
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
1
;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
...
...
resources/views/rincianHistory.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.pages.rincianHistory'
)
resources/views/vendor/adminlte/layouts/customers/History.blade.php
View file @
5456ac6a
...
...
@@ -7,7 +7,7 @@
<thead>
<tr>
<th> No. Rekening </th>
<th>
Atas Nama
</th>
<th>
Nama Pemilik Homestay
</th>
<th> Total Pembayaran </th>
<th> Tanggal Mulai </th>
<th> Tanggal Berakhir </th>
...
...
@@ -15,6 +15,7 @@
<th> Status Pemesanan</th>
<th></th>
<th></th>
<th colspan="
2
">Rincian Pemesanan</th>
</tr>
</thead>
<tbody>
...
...
@@ -30,22 +31,31 @@
Belum ada bukti transfer
@else
<!-- <img alt="
User
Pic
" src="
{{
url
(
'/img/'
.
$a
->
bukti_pembayaran
)
}}
" class="
img
-
responsive
" > -->
<a href="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
" data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" style="
max
-
height
:
100
px
;
width
:
auto
;
"></a>
<a href="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
"
data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" style="
max
-
height
:
100
px
;
width
:
auto
;
">
</a>
@endif
</td>
<td>
@if(
$a->status
==0)
Belum Dikonfirmasi
@if(
$a->status
==0)
<span class="
label
label
-
warning
"> Belum Dikonfirmasi </span>
<td>
<a href="
{{
url
(
'buktipembayaran/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
">Upload Bukti</a>
</td>
@elseif(
$a->status
==1)
<td colspan="
3
"><h4>Diterima</h4></td>
<td colspan="
3
"><span class="
label
label
-
success
"> Diterima </span></td>
@elseif(
$a->status
==2)
<td colspan="
3
"><h4>Ditolak</h4></td>
<td colspan="
3
"><span class="
label
label
-
danger
"> Ditolak </span> </td>
@endif
</td>
<td>
@if(
$a->status
==1)
<a href="
{{
url
(
'rincianHistory/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
"><i class="
glyphicon
glyphicon
-
eye
-
open
"></i> </a>
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
...
...
resources/views/vendor/adminlte/layouts/customers/customers/History.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
margin
-
bottom
:
100
px
;
">
<div class="
container
">
<table class="
table
table
-
striped
">
<thead>
<tr>
<th> No. Rekening </th>
<th> Nama Pemilik Homestay </th>
<th> Total Pembayaran </th>
<th> Tanggal Mulai </th>
<th> Tanggal Berakhir </th>
<th> Bukti Pembayaran </th>
<th> Status Pemesanan</th>
<th></th>
<th></th>
<th colspan="
2
">Rincian Pemesanan</th>
</tr>
</thead>
<tbody>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->no_rekening}
}
</td>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->total_pembayaran}
}
</td>
<td>
{
{$a->tanggal_mulai}
}
</td>
<td>
{
{$a->tanggal_berakhir}
}
</td>
<td>
@if(
$a->bukti_pembayaran
==null)
Belum ada bukti transfer
@else
<!-- <img alt="
User
Pic
" src="
{{
url
(
'/img/'
.
$a
->
bukti_pembayaran
)
}}
" class="
img
-
responsive
" > -->
<a href="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
" data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$a
->
bukti_pembayaran
}}
" style="
max
-
height
:
100
px
;
width
:
auto
;
"></a>
@endif
</td>
<td>
@if(
$a->status
==0) <span class="
label
label
-
warning
"> Belum Dikonfirmasi </span>
<td>
<a href="
{{
url
(
'buktipembayaran/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
">Upload Bukti</a>
</td>
@elseif(
$a->status
==1)
<td colspan="
3
"><span class="
label
label
-
success
"> Diterima </span></td>
@elseif(
$a->status
==2)
<td colspan="
3
"><span class="
label
label
-
danger
"> Ditolak </span> </td>
@endif
</td>
<td>
@if(
$a->status
==1)
<a href="
{{
url
(
'detailpesanan/'
.
$a
->
id
)}}
" class="
btn
btn
-
primary
"><i class="
glyphicon
glyphicon
-
eye
-
open
"></i> </a>
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<script src="
{{
asset
(
'js/jquery-ui.js'
)}}
"></script>
@endsection
resources/views/vendor/adminlte/layouts/customers/customers/UpdatePemesanan.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
margin
-
bottom
:
100
px
;
">
<div class="
container
">
<form class="
form
-
horizontal
" action="
{{
url
(
'perbaharui/'
.
$data
->
id
)}}
" method="
post
">
<input type="
hidden
" name="
_method
" value="
PUT
">
{
{csrf_field()}
}
<label>Tanggal Mulai</label>
<input type="
text
" name="
tanggal
" value="
{{
$data
->
tanggal_mulai
}}
" id="
noTelepon
" class="
form
-
control
">
<label>Lama Menginap</label>
<input type="
text
" name="
lama_menginap
" value="
{{
$lama_menginap
}}
" class="
form
-
control
" >
<label>Jumlah Kamar</label>
<input type="
text
" name="
jumlah_kamar
" value="
{{
$data
->
jumlah_kamar
}}
" class="
form
-
control
">
<br>
<div class="
form
-
group
" align="
right
" style="
margin
-
right
:
0
px
;
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
Simpan
">
</div>
</form>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/customers/customers/Upload.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
margin
-
bottom
:
100
px
;
">
<div class="
container
">
<form class="
form
-
horizontal
" action="
{{
url
(
'upload/'
.
$data
->
id
)}}
" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
{
{csrf_field()}
}
<label>Tanggal Mulai</label>
<input type="
text
" name="
tanggal_mulai
" value="
{{
$data
->
tanggal_mulai
}}
" id="
noTelepon
" class="
form
-
control
" disabled>
<label>Tanggal Berakhir</label>
<input type="
text
" name="
tanggal_berakhir
" value="
{{
$data
->
tanggal_berakhir
}}
" class="
form
-
control
" disabled>
<label>Jumlah Kamar</label>
<input type="
text
" name="
jumlah_kamar
" value="
{{
$data
->
jumlah_kamar
}}
" class="
form
-
control
" disabled>
<label>Bukti Pembayaran</label>
<input type="
file
" name="
bukti_pembayaran
" id="
foto
" class="
form
-
corol
">nt<br>
<div class="
form
-
group
" align="
right
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
simpan
">
</div>
</form>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/customers/customers/editprofiles.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
">
<div class="
container
">
<div class="
register
agileits
w3layouts
">
<form class="
form
-
horizontal
" action="
{{
url
(
'editProfileCustomer/'
.
$data
->
id
)}}
" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_method
" value="
PUT
">
{
{csrf_field()}
}
<div class="
form
-
group
">
<label for="
inputEmail3
" class="
col
-
sm
-
2
control
-
label
">Nama</label>
<div class="
col
-
sm
-
10
">
<input type="
text
" name="
nama
" class="
form
-
control
" id="
inputEmail3
" value="
{{
$data
->
nama
}}
">
</div>
</div>
<div class="
form
-
group
">
<label for="
inputPassword3
" class="
col
-
sm
-
2
control
-
label
">Alamat</label>
<div class="
col
-
sm
-
10
">
<input type="
text
" name="
alamat
" class="
form
-
control
" id="
inputPassword3
" value="
{{
$data
->
alamat
}}
">
</div>
</div>
<div class="
form
-
group
">
<label for="
inputPassword3
" class="
col
-
sm
-
2
control
-
label
">No.Telepon</label>
<div class="
col
-
sm
-
10
">
<input type="
text
" name="
noTelepon
" class="
form
-
control
" id="
inputPassword3
" value="
{{
$data
->
no_telepon
}}
">
</div>
</div>
<div class="
form
-
group
">
<label for="
inputPassword3
" class="
col
-
sm
-
2
control
-
label
">Pekerjaan</label>
<div class="
col
-
sm
-
10
">
<input type="
text
" name="
pekerjaan
" class="
form
-
control
" id="
inputPassword3
" value="
{{
$data
->
pekerjaan
}}
">
</div>
</div>
<div class="
form
-
group
">
<label class="
col
-
sm
-
2
control
-
label
"> Foto </label>
<div class="
col
-
sm
-
10
">
<input type="
file
" value="
Browse
" name="
foto
" id="
picture
" >
</div>
<div class="
form
-
group
" align="
right
">
<div class="
col
-
sm
-
12
">
<input type="
submit
" class="
btn
btn
-
primary
">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/customers/customers/profiles.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
40
px
;
">
<div class="
container
">
<div class="
col
-
md
-
4
col
-
sm
-
3
cuisines
-
grids
agileits
w3layouts
cuisines
-
grids
-
2
">
<img src="
img
/
{{
Auth
::
user
()
->
foto
}}
" alt="
Agileits
W3layouts
" style="
width
:
250
px
;
">
<h3 style="
margin
-
left
:
60
px
;
margin
-
top
:
3
px
;
">
{
{Auth::user()->name}
}
</h2>
</div>
<div class="
col
-
md
-
8
col
-
sm
-
8
cuisines
-
grids
agileits
w3layouts
cuisines
-
grids
-
1
">
<h3>Data Diri</h3>
<table class="
table
-
condensed
" style="
font
-
size
:
16
px
;
margin
-
left
:
-
3
px
;
color
:
#777;" >
<
tr
>
<
td
>
Nama
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
nama
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Alamat
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
alamat
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
No
Telepon
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
no_telepon
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Pekerjaan
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
pekerjaan
}}
</
td
>
</
tr
>
</
table
>
<
br
><
br
>
<
div
class
="
services
agileits
w3layouts
" style="
background
-
color
:
#fff; padding: 1px 1px 1px 0px; margin-top: 30px;">
<
a
class
="
agileits
w3layoutswow
slideInLeft
" href="
{{
url
(
'editProfileCustomer/'
.
$data
->
id
)}}
" >Edit Profile <span class="
glyphicon
agileits
w3layouts
glyphicon
-
arrow
-
right
" aria-hidden="
true
"></span></a>
<a class="
agileits
w3layoutswow
slideInLeft
" href="
{{
url
(
'customerHistory'
)}}
">History <span class="
glyphicon
agileits
w3layouts
glyphicon
-
arrow
-
right
" aria-hidden="
true
"></span></a>
</div>
<br><br>
@if(Session::has('message'))
<div class="
alert
alert
-
danger
">
{{ Session::get('message') }}
</div>
@endif
</div>
<div class="
clearfix
"></div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/customers/customers/rincianHistory.blade.php
0 → 100644
View file @
5456ac6a
resources/views/vendor/adminlte/layouts/customers/customers/rincianpemesanan.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
70
px
;
">
<div class="
container
">
<div class="
col
-
md
-
6
col
-
sm
-
6
cuisines
-
grids
agileits
w3layouts
" style="
padding
:
0
px
;
">
<h3>Data Pemesanan Homestay</h3> <br>
<!-- <h3 style="
margin
-
left
:
60
px
;
margin
-
top
:
3
px
;
"> </h2> -->
<form class="
form
-
horizontal
" action="
{{
url
(
'booking'
)}}
" method="
post
" enctype="
multipart
/
form
-
data
">
{
{csrf_field()}
}
<div class="
form
-
group
">
<div class="
col
-
sm
-
10
">
<label for="">Nama</label>
<input type="
text
" name="
nama
" class="
form
-
control
" value="
{{
Auth
::
user
()
->
name
}}
" id="
inputEmail3
" >
</div>
</div>
<div class="
form
-
group
">
<div class="
col
-
sm
-
5
">
<label>Nomor Handphone Kontak</label>
<input type="
text
" name="
kontak_hp
" class="
form
-
control
" id="
inputEmail3
" value="
{{
$dataUser
->
no_telepon
}}
">
</div>
<div class="
col
-
sm
-
5
">
<label>Alamat Email Kontak</label>
<input type="
text
" name="
kontak_email
" class="
form
-
control
" id="
inputEmail3
" value="
{{
Auth
::
user
()
->
email
}}
">
</div>
</div>
<div class="
form
-
group
">
<div class="
col
-
sm
-
10
">
<label>Permintaan Khusus</label>
<textarea name="
permintaan_khusus
" style="
border
:
#cccccc 1px solid;border-radius: 5px; min-height:150px;"></textarea>
</
div
>
</
div
>
<
div
class
="
form
-
group
">
<div class="
col
-
sm
-
10
">
<label>ExtraBed</label>
<input type="
number
" min="
0
" name="
extrabed
" class="
form
-
control
" id="
inputEmail3
" >
</div>
</div>
<input type="
hidden
" value="
{{
$dataUser
->
no_telepon
}}
" name="
id_user
">
<input type="
hidden
" value="
{{
$request
->
lama_menginap
}}
" name="
lama_menginap
">
<input type="
hidden
" value="
{{
$request
->
tanggal_mulai
}}
" name="
tanggal_mulai
">
<input type="
hidden
" value="
{{
$request
->
tanggal_selesai
}}
" name="
tanggal_selesai
">
<input type="
hidden
" value="
{{
$request
->
jumlah_kamar
}}
" name="
jumlah_kamar
">
<input type="
hidden
" value="
{{
$request
->
jumlah_tamu
}}
" name="
jumlah_tamu
">
<input type="
hidden
" value="
{{
$data
->
harga
}}
" name="
harga_homestay
">
<input type="
hidden
" value="
{{
$totalHarga
}}
" name="
total_harga
">
<input type="
hidden
" value="
{{
$id
}}
" name="
id_homestay
">
<!-- <div class="
form
-
group
" align="
right
">
<div class="
col
-
sm
-
10
">
<input type="
submit
" class="
btn
btn
-
primary
">
</div>
</div> -->
<div class="
form
-
group
" align="
left
">
<div class="
col
-
sm
-
10
">
<input type="
submit
" class="
btn
btn
-
warning
" value="
Lanjutkan
Pembayaran
">
</div>
</div>
</form>
</div>
<div class="
col
-
md
-
5
col
-
sm
-
5
cuisines
-
grids
agileits
w3layouts
" style="
background
-
color
:
#f9f9f9;padding: 40px;border-radius: 9px;">
<
h3
>
Rincian
Pemesanan
Homestay
</
h3
>
<
br
>
<
br
><
br
>
<
table
class
="
table
-
condensed
" style="
font
-
size
:
16
px
;
margin
-
left
:
-
3
px
;
color
:
#777;" >
<
tr
>
<
td
>
Durasi
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
lama_menginap
}}
Malam
</
td
>
</
tr
>
<
tr
>
<
td
>
Check
-
in
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
tanggal_mulai
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Check
-
out
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
tanggal_selesai
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Jumlah
Kamar
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
jumlah_kamar
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Jumlah
Tamu
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
jumlah_tamu
}}
</
td
>
</
tr
>
</
table
>
<
br
><
br
><
br
>
<
div
class
="
cuisines
-
grids
agileits
w3layouts
" >
<h3>Rincian Harga</h3><br>
<table class="
table
-
condensed
" style="
font
-
size
:
16
px
;
margin
-
left
:
-
3
px
;
color
:
#777;" >
<
label
for
=
""
>
{{
$data
->
nama_homestay
}}
</
label
>
<
tr
>
<
td
>
Harga
Kamar
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
harga
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Total
Bayar
</
td
>
<
td
>:</
td
>
<
td
><
input
type
=
"text"
name
=
"total_harga"
value
=
"
{
{$totalHarga}
}
"
disabled
></
td
>
</
tr
>
</
table
>
<
br
>
</
div
>
</
div
>
</
div
>
<
div
class
="
clearfix
"></div>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/customers/rincianHistory.blade.php
0 → 100644
View file @
5456ac6a
@
extends
(
'adminlte::layouts.master'
)
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
margin
-
bottom
:
100
px
;
">
<div class="
container
">
<div class="
col
-
md
-
5
col
-
sm
-
5
cuisines
-
grids
agileits
w3layouts
" style="
background
-
color
:
#f9f9f9;padding: 40px;border-radius: 9px;">
<
h3
>
Rincian
Pemesanan
Homestay
</
h3
>
<
table
class
="
table
-
condensed
" style="
font
-
size
:
16
px
;
margin
-
left
:
-
3
px
;
color
:
#777; margin-top:5px;">
<
tr
>
<
td
>
Nama
Pemilik
Homestay
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
nama
}}
Malam
</
td
>
</
tr
>
<
tr
>
<
td
>
Nama
Homestay
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
nama_homestay
}}
Malam
</
td
>
</
tr
>
<
tr
>
<
td
>
Tanggal
Check
-
in
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
tanggal_mulai
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Durasi
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
lama_menginap
}}
Malam
</
td
>
</
tr
>
<
tr
>
<
td
>
Tanggal
Check
-
out
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
tanggal_berakhir
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
Total
Pembayaran
</
td
>
<
td
>:</
td
>
<
td
>
{{
$data
->
total_pembayaran
}}
</
td
>
</
tr
>
<
tr
>
<
td
>
<
a
href
=
""
class
="
btn
btn
-
primary
"><i class="
glyphicon
glyphicon
-
eye
-
open
"></i> print </a></td>
</tr>
</table>
</div>
<div class="
col
-
md
-
5
col
-
sm
-
5
cuisines
-
grids
agileits
w3layouts
" style="
padding
:
40
px
;
border
-
radius
:
9
px
;
">
<h3>Bukti Pembayaran</h3><br>
<a href="
/
img
/
{{
$data
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
"
data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$data
->
bukti_pembayaran
}}
" style="
max
-
height
:
250
px
;
width
:
auto
;
">
</a>
@if(
$data->status
==1)
@endif
</div>
</div>
</div>
<script src="
{{
asset
(
'js/jquery-ui.js'
)}}
"></script>
@endsection
resources/views/vendor/adminlte/layouts/customers/rincianpemesanan.blade.php
View file @
5456ac6a
...
...
@@ -76,7 +76,6 @@
<
td
>
Durasi
</
td
>
<
td
>:</
td
>
<
td
>
{{
$request
->
lama_menginap
}}
Malam
</
td
>
</
tr
>
<
tr
>
<
td
>
Check
-
in
</
td
>
...
...
resources/views/vendor/adminlte/layouts/owner/detailpesanan.blade.php
View file @
5456ac6a
...
...
@@ -59,7 +59,7 @@
<tr>
<th>Bukti Pembayaran</th>
<td>: </td>
<td><a href="
/
img
/
{{
$data
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
" data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$data
->
bukti_pembayaran
}}
" ></a></td>
<td><a href="
/
img
/
{{
$data
->
bukti_pembayaran
}}
" alt="
Bukti
Pembayaran
" data-lightbox="
roadtrip
"><img src="
/
img
/
{{
$data
->
bukti_pembayaran
}}
"
style="
max
-
width
:
200
px
;
"
></a></td>
</tr>
</table>
...
...
routes/web.php
View file @
5456ac6a
...
...
@@ -114,7 +114,7 @@ Route::group(['middleware' => 'customer'], function () {
Route
::
put
(
'editProfileCustomer/{id}'
,
'CustomerController@updateProfile'
);
Route
::
get
(
'customerProfile'
,
'CustomerController@profile'
);
Route
::
post
(
'feedback/{id}'
,
'CustomerController@sendFeedback'
);
Route
::
get
(
'rincianHistory/{id}'
,
'CustomerController@rincianHistory'
);
});
...
...
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