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
b87d7b73
Commit
b87d7b73
authored
May 17, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ayo selesaikan
parent
90df7499
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
AdminController.php
app/Http/Controllers/AdminController.php
+4
-0
web.php
routes/web.php
+1
-0
No files found.
app/Http/Controllers/AdminController.php
View file @
b87d7b73
...
...
@@ -22,6 +22,10 @@ class AdminController extends Controller
return
view
(
'adminlte::home'
);
}
public
function
listPesanan
(){
}
public
function
listOwner
(){
$count
=
User
::
all
()
->
where
(
'role'
,
"Owner"
)
->
count
();
...
...
routes/web.php
View file @
b87d7b73
...
...
@@ -53,6 +53,7 @@ Route::get('DataPemesanan', function(){
return
view
(
'adminlte::layouts.admin.dataPemesanan'
);
});
Route
::
get
(
'listPemesanan'
,
'AdminController@listPesanan'
);
Route
::
put
(
'editRoom/{id}'
,
'OwnerController@updateRoom'
);
Route
::
get
(
'editRoom/{id}'
,
'OwnerController@editRoom'
);
Route
::
get
(
'daftarKamar'
,
'OwnerController@daftarKamar'
);
...
...
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