Commit 1fdf0c33 by Palti Sinaga

view

parent ec43af1a
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }} {{ trans('adminlte_lang::message.home') }}
@endsection @endsection
@section('main-content') @section('main-content')
<div class="container-fluid spark-screen"> <div class="box box-primary">
<div class="row"> <div class="box-header with-border">
<div class="col-md-10 col-md-offset-1"> <h3 class="box-title"> TAMBAH PEMESANAN </h3>
<div class="panel panel-default"> @if (count($errors) > 0)
<div class="panel-body"> <div class="alert alert-danger">
@if(Session::has('alert-success')) <strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<div class="alert alert-success"> <ul>
{{ Session::get('alert-success') }} @foreach ($errors->all() as $error)
</div> <li>{{ $error }}</li>
@endif @endforeach
</ul>
@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> </div>
@endif
</div>
<div class="box-body">
<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 KAMAR </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>Lama Menginap</label>
<input type="text" name="TtlPembayaran" value="" id="nama" class="form-control">
<br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
@endsection @endsection
...@@ -68,9 +68,6 @@ ...@@ -68,9 +68,6 @@
</table> </table>
</div> </div>
</div> </div>
</div>
</div>
</div>
</div>
@endsection @endsection
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
</table> </table>
</div> </div>
</div> </div>
</div>
@endsection @endsection
...@@ -98,10 +98,7 @@ ...@@ -98,10 +98,7 @@
</li> </li>
@endif @endif
<!-- Control Sidebar Toggle Button -->
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
</ul> </ul>
</div> </div>
</nav> </nav>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a> <li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a>
<ul class="treeview-menu" style="display : none;"> <ul class="treeview-menu" style="display : none;">
<li><a href="{{url('pesanan')}}"><i class='fa fa-list'></i> <span>Daftar Pesanan</span></a></li> <li><a href="{{url('pesanan')}}"><i class='fa fa-list'></i> <span>Daftar Pesanan</span></a></li>
<li><a href="#"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li> <li><a href="{{url('AddBook')}}"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li>
</ul> </ul>
</li> </li>
......
...@@ -87,4 +87,3 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay'); ...@@ -87,4 +87,3 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route::resource('profile','ProfileController'); Route::resource('profile','ProfileController');
Route::get('reqFasilitas','OwnerController@requestFasilitas'); Route::get('reqFasilitas','OwnerController@requestFasilitas');
Route::post('reqFasilitas','OwnerController@storeRequest'); 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