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
4043bf5b
Commit
4043bf5b
authored
7 years ago
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0fff4606
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
CustomerController.php
app/Http/Controllers/CustomerController.php
+4
-0
History.blade.php
...views/vendor/adminlte/layouts/customers/History.blade.php
+1
-1
web.php
routes/web.php
+1
-0
No files found.
app/Http/Controllers/CustomerController.php
View file @
4043bf5b
...
...
@@ -20,6 +20,10 @@ use Psy\Command\ListCommand\ConstantEnumerator;
class
CustomerController
extends
Controller
{
public
function
cancelPemesanan
(
$id
){
}
public
function
sendFeedback
(
Request
$request
,
$id
){
if
(
Auth
::
guest
()){
dd
(
"maaf nggak bisa banf"
);
...
...
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/customers/History.blade.php
View file @
4043bf5b
...
...
@@ -38,7 +38,7 @@
<a href="
{{
url
(
'buktipembayaran/'
.
$a
->
id
)}}
">Upload Bukti</a>
</td>
<td>
<a href=""> Batalkan Pesanan</a>
<a href="
{{
url
(
'batalkanPemesanan/'
.
$a
->
id
)}}
"> Batalkan Pesanan</a>
</td>
</tr>
@endforeach
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
4043bf5b
...
...
@@ -96,6 +96,7 @@ Route::get('reqFasilitas','OwnerController@requestFasilitas');
Route
::
post
(
'reqFasilitas'
,
'OwnerController@storeRequest'
);
Route
::
get
(
'updateHomestay'
,
'OwnerController@update'
);
Route
::
put
(
'updateHomestay/{id}'
,
'OwnerController@updateHomestay'
);
Route
::
delete
(
'batalkanPemesanan/{id}'
,
'CutomerController@cancelPemesanan'
);
/*Route::get('UpdateHomestay', function(){
...
...
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