Commit 58700a3b by Palti Sinaga

html pdf dan rivew relokasi

parent b09e06dc
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title></title> <title></title>
<style type="text/css">
table.table-style-one {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border-width: 1px;
border-color: #3A3A3A;
border-collapse: collapse;
}
table.table-style-one th {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #3A3A3A;
background-color: #B3B3B3;
}
table.table-style-one td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #3A3A3A;
background-color: #ffffff;
}
hr {
display: block;
position: relative;
padding: 0;
margin: 8px auto;
height: 0;
width: 100%;
max-height: 0;
font-size: 1px;
line-height: 0;
clear: both;
border: none;
border-top: 2px solid #aaaaaa;
border-bottom: 2px solid #ffffff;
}
h1, h2{
font-family:'Source Sans Pro', sans-serif;
}
</style>
</head> </head>
<body> <body>
<p style="float:right;"><b>Tanggal : </b> <?php echo date("Y/m/d") ;?></p> <p style="float:right;"><b>Tanggal : </b> <?php echo date("Y/m/d") ;?></p>
<br>
<br><br><br>
<center> <h1>Laporan di Bulan {{$bulan}}</h1></center> <center> <h1>Laporan di Bulan {{$bulan}}</h1></center>
<center> {{$namaHomestay}} </center> <center> <h2>{{$namaHomestay}}</h2> </center>
@foreach($data as $a) <hr>
<table class="table table-user-information"> <br>
<table class="table-style-one">
<body>
<tr> <tr>
<th>Nama Pemesan</th> <th>Nama Pemesan</th>
<td>: </td>
<td>{{$a->nama_pemesan}}</td>
</tr>
<tr>
<th>Jumlah Kamar</th> <th>Jumlah Kamar</th>
<td>: </td>
<td>{{$a->jumlah_kamar}} kamar</td>
</tr>
<tr>
<th>Jumlah Tamu</th> <th>Jumlah Tamu</th>
<td>: </td>
<td>{{$a->jumlah_tamu}} orang</td>
</tr>
<tr>
<th>Lama Menginap</th> <th>Lama Menginap</th>
<td>: </td>
<td>{{$a->lama_menginap}} Malam </td>
</tr>
<tr>
<th>Extra-bed</th> <th>Extra-bed</th>
<td>: </td>
<td>{{$a->extrabed}} buah</td>
</tr>
<tr>
<th>Tanggal Check-in</th> <th>Tanggal Check-in</th>
<td>:</td> <th>Tanggal Check-out</th>
<td>{{$a->tanggal_mulai}}</td> <th>Total Pembayaran</th>
</tr> </tr>
@foreach($data as $a)
<tr> <tr>
<th>Tanggal Check-out</th> <td>{{$a->nama_pemesan}}</td>
<td>:</td> <td>{{$a->jumlah_kamar}} kamar</td>
<td>{{$a->jumlah_tamu}} orang</td>
<td>{{$a->lama_menginap}} Malam</td>
<td>{{$a->extrabed}} buah</td>
<td>{{$a->tanggal_mulai}}</td>
<td>{{$a->tanggal_berakhir}}</td> <td>{{$a->tanggal_berakhir}}</td>
<td>Rp. {{$a->total_harga}}</td>
</tr> </tr>
@endforeach
<tr> <tr>
<th>Total Pembayaran</th> <td colspan="2">Total</td>
<td>:</td> <td>{{$tamu}} Orang </td>
<td>Rp. {{$a->total_harga}}</td> <td colspan="4"></td>
</tr> <br><br> <td>Rp. {{$penghasilan}}</td>
</tr>
</table>
</table>
@endforeach
<h3>Total Tamu : {{$tamu}}</h3>
<h3>Total Penghasilan : Rp. {{$penghasilan}}</h3>
</body> </body>
</html> </html>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<tr> <tr>
<td> Harga </td> <td> Harga </td>
<td>:</td> <td>:</td>
<td>Rp 150.000 / hari</td> <td>Rp 150.000 / malam</td>
</tr> </tr>
</table> </table>
</div> </div>
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
</div> </div>
<!-- //Informations --> <!-- //Informations -->
<div class="details agileits w3layouts"> <div class="details agileits w3layouts" style="padding:0px">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 "> <div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 ">
@if(Session::has('message')) @if(Session::has('message'))
<div class="alert alert-danger"> <div class="alert alert-danger">
<center>{{ Session::get('message') }}</center> <center>{{ Session::get('message') }}</center>
...@@ -115,13 +115,34 @@ ...@@ -115,13 +115,34 @@
<div class="details agileits w3layouts"> <div class="details agileits w3layouts">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 "> <div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 ">
<h2 style="margin-bottom: 10px;">Feedback</h2> <h3 style="margin-bottom: 0px; font-size: 28px;">Feedback</h3>
<img style="width: 450px; margin-top: 3px;" src="{{asset('img/line1.png')}}"><br>
<form action="{{url('feedback/'.$data->id)}}" method="post" style="margin-bottom: 25px;"> <form action="{{url('feedback/'.$data->id)}}" method="post" style="margin-bottom: 25px;">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<textarea name="feedback" class="wow agileits w3layouts " placeholder="Message" required=""></textarea> <textarea name="feedback" class="wow agileits w3layouts " placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts " value="Kirim Feedback"> <input type="submit" class="more_btn wow agileits w3layouts " value="Kirim Feedback">
</form> </form>
</div> </div>
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 ">
<h3 style="margin-bottom: 0px; font-size: 28px;"> Review Pengunjung </h3>
<img style="width: 450px; margin-top: 3px;" src="{{asset('img/line1.png')}}"><br>
<ul class="timeline">
@foreach($feedback as $a)
<li>
<i class="glyphicon glyphicon-envelope"></i>
<div class="timeline-item">
<span class="time"><i class="fa fa-clock-o"></i> {{$a->created_at}}</span>
<h3 class="timeline-header" style="border-bottom: 0px;"><a href="#">{{$a->nama}}</a> </h3>
<div class="timeline-body">
{{$a->feedback}}
</div>
</div>
</li>
@endforeach
</ul>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -148,33 +169,7 @@ ...@@ -148,33 +169,7 @@
<!-- //Kritik & Saran --> <!-- //Kritik & Saran -->
<div class="cuisines agileits w3layouts">
<div class="container">
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 ">
<h3 style="margin-bottom: 0px; font-weight:10px;"> Review Pengunjung </h3>
<img style="width: 450px; margin-top: 3px;" src="{{asset('img/line1.png')}}"><br>
<ul class="timeline">
@foreach($feedback as $a)
<li>
<i class="glyphicon glyphicon-envelope"></i>
<div class="timeline-item">
<span class="time"><i class="fa fa-clock-o"></i> {{$a->created_at}}</span>
<h3 class="timeline-header" style="border-bottom: 0px;"><a href="#">{{$a->nama}}</a> </h3>
<div class="timeline-body">
{{$a->feedback}}
</div>
<!-- <div class="timeline-footer">
<a class="btn btn-primary btn-xs">Read more</a>
<a class="btn btn-danger btn-xs">Delete</a>
</div> -->
</div>
</li>
@endforeach
</ul>
</div>
</div>
</div>
<!-- //Informations --> <!-- //Informations -->
<!-- Scripts --> <!-- Scripts -->
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<tr> <tr>
<td> Harga </td> <td> Harga </td>
<td>:</td> <td>:</td>
<td>Rp 150.000 / hari</td> <td>Rp 150.000 / malam</td>
</tr> </tr>
<tr> <tr>
<td> <td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment