Commit 426b6d44 by Juliper

no message

parent 2a4d4206
......@@ -3,17 +3,17 @@
@section('main-content')
<div class="cuisines agileits w3layouts" style="padding-top: 50px; margin-top: 80px; margin-bottom: 100px;">
<div class="container">
<form class="form-horizontal" action="{{url('upload/'.$data->id)}}" method="post" enctype="multipart/form-data">
<form class="form-horizontal" action="{{url('perbaharui/'.$data->id)}}" method="post">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Tanggal Mulai</label>
<input type="text" name="tanggal_mulai" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control">
<label>Tanggal Berakhir</label>
<input type="text" name="tanggal_berakhir" value="{{$data->tanggal_berakhir}}" class="form-control" >
<input type="text" name="tanggal" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control">
<label>Lama Menginap</label>
<input type="text" name="lama_menginap" value="{{$lama_menginap}}" class="form-control" >
<label>Jumlah Kamar</label>
<input type="text" name="jumlah_kamar" value="{{$data->jumlah_kamar}}" class="form-control">
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
<input type="submit" class="btn btn-primary" value="Simpan">
</div>
</form>
</div>
......
......@@ -88,6 +88,7 @@ Route::post('daftar','GuestController@registerStore');
Route::group(['middleware' => 'customer'], function () {
Route::get('updatepesanan/{id}','CustomerController@updatePesanan');
Route::put('perbaharui/{id}','CustomerController@perbaharui');
Route::put('batalkan/{id}','CustomerController@cancelPemesanan');
Route::put('upload/{id}','CustomerController@upload');
Route::get('customerHistory','CustomerController@history');
......
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