Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
pa2d4ti06
Commits
426b6d44
Commit
426b6d44
authored
7 years ago
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2a4d4206
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
CustomerController.php
app/Http/Controllers/CustomerController.php
+0
-0
UpdatePemesanan.blade.php
...ndor/adminlte/layouts/customers/UpdatePemesanan.blade.php
+5
-5
web.php
routes/web.php
+1
-0
No files found.
app/Http/Controllers/CustomerController.php
View file @
426b6d44
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/customers/UpdatePemesanan.blade.php
View file @
426b6d44
...
...
@@ -3,17 +3,17 @@
@
section
(
'main-content'
)
<
div
class
="
cuisines
agileits
w3layouts
" style="
padding
-
top
:
50
px
;
margin
-
top
:
80
px
;
margin
-
bottom
:
100
px
;
">
<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="
s
impan
">
<input type="
submit
" class="
btn
btn
-
primary
" value="
S
impan
">
</div>
</form>
</div>
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
426b6d44
...
...
@@ -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'
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment