Commit 5f547409 by Palti Sinaga

pages

parent b3d10d21
[.ShellClassInfo]
IconResource=C:\WINDOWS\System32\shell32.dll,263
[ViewState]
Mode=
Vid=
FolderType=Generic
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-12 col-md-offset-0">
<div class="panel panel-default">
<div id="app">
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-info">
<span class="info-box-icon bg-yellow"><i class="glyphicon glyphicon-modal-window"></i></span>
<div class="info-box-content">
<span class="info-box-text">Data Pemesanan</span>
<span class="info-box-number"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="table table-striped">
<tr>
<th>Nama Homestay</th>
<th>Nama Pemilik Homstay</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Jumlah penginap</th>
<th>Jumlah Kamar yang dipesan</th>
</tr>
<tr>
<td>Hom Staywithme</td>
<td>Palti Sinaga</td>
<td>Dari sekarang</td>
<td>sampai sekarang</td>
<td>Banyak </td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
<!-- {{csrf_field()}} -->
<label>Nama Pemesan</label>
<input type="text" name="nama" value="" id="nama" class="form-control">
<label> Jumlah Penginap </label>
<input type="text" name="nama" value="" id="nama" class="form-control">
<label>Tanggal Check in</label>
<input type="Date" name="checkin" value="" id="checkin" class="form-control">
<label>Tanggal Check out</label>
<input type="Date" name="checkout" value="" id="checkout" class="form-control">
<label>Total Pembayaran</label>
<input type="text" name="TtlPembayaran" value="" id="nama" class="form-control">
<label>Tanggal Pembayaran</label>
<input type="Date" name="Tglbayar" value="" id="Tglbayar" 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>
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
<!-- {{csrf_field()}} -->
<!-- <label>Nama</label>
<input type="text" name="nama" value="" id="nama" class="form-control"> -->
<label>Fasilitas</label>
<textarea name="fasilitas" value="" id="fasilitas" class="form-control" style="height:200px;"></textarea>
<label>Foto</label>
<input type="file" value="Browse" name="foto" id="picture" >
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
......@@ -29,11 +29,11 @@
<li><a href="{{url('requestFasilitas')}}"><i class='fa fa-home'></i> <span>Acc Request Fasilitas</span></a></li>
<li><a href="{{url('admin/create')}}"><i class='fa fa-plus'></i> <span>Add Owner</span></a></li>
<li><a href="{{url('requestHomestay')}}"><i class='fa fa-list'></i> <span>Acc Pengajuan Homestay</span></a></li>
<li><a href="#"><i class='fa fa-list'></i> <span>Melihat Data Pemesanan</span></a></li>
<li><a href="{{url('datapemesanan')}}"><i class='fa fa-list'></i> <span>Melihat Data Pemesanan</span></a></li>
<li><a href="{{url('listowner')}}"><i class='fa fa-list'></i> <span>Melihat Daftar Owner</span></a></li>
@elseif(Auth::user()->role=="Owner")
<li><a href="#"><i class='fa fa-list'></i> <span>Edit Room</span></a></li>
<li><a href="{{url('EditRoom')}}"><i class='fa fa-list'></i> <span>Edit Room</span></a></li>
<li><a href="{{url('pesanan')}}"><i class='fa fa-list'></i> <span>Daftar Pesanan</span></a></li>
<li><a href="{{url('reqFasilitas')}}"><i class='fa fa-list'></i> <span>Request Fasilitas</span></a></li>
<li><a href="#"><i class='fa fa-list'></i> <span>Add Book Manual</span></a></li>
......
......@@ -46,6 +46,18 @@ Route::group(['middleware' => 'auth'], function () {
#adminlte_routes
});
Route::get('EditRoom', function(){
return view('adminlte::layouts.owner.EditRoom');
});
Route::get('AddBook', function(){
return view('adminlte::layouts.owner.AddBookManual');
});
Route::get('DataPemesanan', function(){
return view('adminlte::layouts.admin.dataPemesanan');
});
Route::get('daftarKamar','OwnerController@daftarKamar');
Route::get('pesanan','OwnerController@listTransaction');
Route::put('upload/{id}','CustomerController@upload');
......@@ -77,6 +89,3 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route::resource('profile','ProfileController');
Route::get('reqFasilitas','OwnerController@requestFasilitas');
Route::post('reqFasilitas','OwnerController@storeRequest');
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