Commit 58700a3b by Palti Sinaga

html pdf dan rivew relokasi

parent b09e06dc
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="utf-8">
<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>
<body>
<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> {{$namaHomestay}} </center>
<center> <h2>{{$namaHomestay}}</h2> </center>
@foreach($data as $a)
<table class="table table-user-information">
<hr>
<br>
<table class="table-style-one">
<body>
<tr>
<th>Nama Pemesan</th>
<td>: </td>
<td>{{$a->nama_pemesan}}</td>
</tr>
<tr>
<th>Jumlah Kamar</th>
<td>: </td>
<td>{{$a->jumlah_kamar}} kamar</td>
</tr>
<tr>
<th>Jumlah Tamu</th>
<td>: </td>
<td>{{$a->jumlah_tamu}} orang</td>
</tr>
<tr>
<th>Lama Menginap</th>
<td>: </td>
<td>{{$a->lama_menginap}} Malam </td>
</tr>
<tr>
<th>Extra-bed</th>
<td>: </td>
<td>{{$a->extrabed}} buah</td>
</tr>
<tr>
<th>Tanggal Check-in</th>
<td>:</td>
<td>{{$a->tanggal_mulai}}</td>
<th>Tanggal Check-out</th>
<th>Total Pembayaran</th>
</tr>
@foreach($data as $a)
<tr>
<th>Tanggal Check-out</th>
<td>:</td>
<td>{{$a->nama_pemesan}}</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>Rp. {{$a->total_harga}}</td>
</tr>
@endforeach
<tr>
<th>Total Pembayaran</th>
<td>:</td>
<td>Rp. {{$a->total_harga}}</td>
</tr> <br><br>
<td colspan="2">Total</td>
<td>{{$tamu}} Orang </td>
<td colspan="4"></td>
<td>Rp. {{$penghasilan}}</td>
</tr>
</table>
</table>
@endforeach
<h3>Total Tamu : {{$tamu}}</h3>
<h3>Total Penghasilan : Rp. {{$penghasilan}}</h3>
</body>
</html>
</html>
......@@ -65,7 +65,7 @@
<tr>
<td> Harga </td>
<td>:</td>
<td>Rp 150.000 / hari</td>
<td>Rp 150.000 / malam</td>
</tr>
</table>
</div>
......@@ -99,9 +99,9 @@
</div>
<!-- //Informations -->
<div class="details agileits w3layouts">
<div class="details agileits w3layouts" style="padding:0px">
<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'))
<div class="alert alert-danger">
<center>{{ Session::get('message') }}</center>
......@@ -115,13 +115,34 @@
<div class="details agileits w3layouts">
<div class="container">
<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;">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<textarea name="feedback" class="wow agileits w3layouts " placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts " value="Kirim Feedback">
</form>
</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>
......@@ -148,33 +169,7 @@
<!-- //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 -->
<!-- Scripts -->
......
......@@ -69,7 +69,7 @@
<tr>
<td> Harga </td>
<td>:</td>
<td>Rp 150.000 / hari</td>
<td>Rp 150.000 / malam</td>
</tr>
<tr>
<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