Commit 3ecba003 by Juliper

no message

parent b5f4ddf5
...@@ -301,10 +301,15 @@ class CustomerController extends Controller ...@@ -301,10 +301,15 @@ class CustomerController extends Controller
//Save //Save
$lb->save(); $lb->save();
$text = "Ada Pesanan Kamari dari Sdr/i : ";
$pesan = $text . ' ' .$dataPelanggan[0]->nama;
//$pesan = $text + $dataPelanggan[0]->nama;
//$pesan +=" dengan jumlah kamar"+ ;
Nexmo::message()->send([ Nexmo::message()->send([
'to' => $dataPemilik[0]->no_telepon, 'to' => $dataPemilik[0]->no_telepon,
'from' => 'ASDASD', 'from' => 'ASDASD',
'text' => 'Hi ini hanya sebuah test no more' 'text' => $pesan
]); ]);
return redirect('customerHistory'); return redirect('customerHistory');
......
...@@ -18,33 +18,36 @@ ...@@ -18,33 +18,36 @@
<tbody> <tbody>
@foreach($data as $a) @foreach($data as $a)
<tr class="success"> <tr>
<td>{{$a->no_rekening}}</td> <td>{{$a->no_rekening}}</td>
<td>{{$a->nama}}</td> <td>{{$a->nama}}</td>
<td>{{$a->total_pembayaran}}</td> <td>{{$a->total_pembayaran}}</td>
<td> <td>
@if($a->bukti_pembayaran==null) @if($a->bukti_pembayaran==null)
<img alt="Buku Transfer Tidak Ada" class="img-circle img-responsive"> <img alt="Bukti Transfer Tidak Ada" class="img-circle img-responsive">
@else @else
<img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" > <img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" >
@endif @endif
</td> </td>
<td> <td>
@if($a->status==0) Belum Dikonfirmasi @if($a->status==0) Belum Dikonfirmasi
@elseif($a->status==1) Di Terima <td>
@elseif($a->status==2) Di Tolak <a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a>
</td>
<td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" id="hapus" value="DELETE">
<button type="submit" class="btn btn-danger">Hapus</button>
</form>
</td>
@elseif($a->status==1)
<td colspan="3"><h3>Di Terima</h3></td>
@elseif($a->status==2)
<td colspan="3"><h3>Di Tolak</h3></td>
@endif @endif
</td> </td>
<td>
<a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a>
</td>
<td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" id="hapus" value="DELETE">
<button type="submit" class="btn btn-danger">Hapus</button>
</form>
</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
...@@ -47,27 +47,6 @@ ...@@ -47,27 +47,6 @@
</form> </form>
</div> </div>
</div> </div>
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" 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> </div>
......
...@@ -44,8 +44,9 @@ ...@@ -44,8 +44,9 @@
<div class="cuisines agileits w3layouts" style=""> <div class="cuisines agileits w3layouts" style="">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 "> <div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 ">
<h2>Menginap serasa di rumah sendiri</h2> <h2>Pengembangan Pariwisata Homestay</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p>Untuk mendukung pengembangan pariwisata di sekitaran Danau Toba pemerintah membuat suatu program yaitu dengan pembangunan homestay di setiap titik destinasi pariwisata sehingga para pengujung/penikmat wisata
bisa lebih lama di tempat wisata tanpa dibebankan biaya menginap yang terlalu besar/mahal</p>
</div> </div>
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 "> <div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 ">
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<img style="" src="/img/howto/how2.png" alt="Agileits W3layouts"> <img style="" src="/img/howto/how2.png" alt="Agileits W3layouts">
<ol class="list-group agileits w3layouts" style="margin-left:20px;"> <ol class="list-group agileits w3layouts" style="margin-left:20px;">
<li class="list-group-item1 agileits w3layouts">Pilih homestay yang anda inginkan</li> <li class="list-group-item1 agileits w3layouts">Pilih homestay yang anda inginkan</li>
<li class="list-group-item1 agileits w3layouts">Klik Lihat </li <li class="list-group-item1 agileits w3layouts">Klik Lihat </li>
</ol> </ol>
</div> </div>
<div class="container" style="margin-top:10px; background-color:white; width:950px; margin-left:auto; margin-right:auto; margin-top:20px; padding-top: 30px;padding-bottom:10px;box-shadow:2px 2px 5px 0px #bfbebe"> <div class="container" style="margin-top:10px; background-color:white; width:950px; margin-left:auto; margin-right:auto; margin-top:20px; padding-top: 30px;padding-bottom:10px;box-shadow:2px 2px 5px 0px #bfbebe">
......
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