Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa21617d4ti07
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
rizky
pa21617d4ti07
Commits
dc1d75ea
Commit
dc1d75ea
authored
Jun 09, 2017
by
rizky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
penggunaan condition di index untuk setiap role
parent
25a55be0
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
148 additions
and
124 deletions
+148
-124
workspace.xml
.idea/workspace.xml
+110
-109
RegistrationController.php
app/Http/Controllers/RegistrationController.php
+0
-1
customer_home.blade.php
resources/views/customers/customer_home.blade.php
+1
-1
data_order.blade.php
resources/views/customers/ticket/data_order.blade.php
+3
-3
index.blade.php
resources/views/index.blade.php
+33
-3
master-manager.blade.php
resources/views/layouts/master-manager.blade.php
+1
-1
web.php
routes/web.php
+0
-6
No files found.
.idea/workspace.xml
View file @
dc1d75ea
...
...
@@ -77,43 +77,29 @@
<file
leaf-file-name=
"web.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/routes/web.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
323
"
>
<caret
line=
"
19"
column=
"14"
selection-start-line=
"19"
selection-start-column=
"14"
selection-end-line=
"19"
selection-end-column=
"14
"
/>
<state
relative-caret-position=
"
102
"
>
<caret
line=
"
6"
column=
"37"
selection-start-line=
"6"
selection-start-column=
"37"
selection-end-line=
"6"
selection-end-column=
"37
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
register.blade.php"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/resources/views/
authentication/register
.blade.php"
>
<file
leaf-file-name=
"
index.blade.php"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/resources/views/
index
.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
21
"
>
<caret
line=
"
13"
column=
"19"
selection-start-line=
"13"
selection-start-column=
"19"
selection-end-line=
"13"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"2
33
"
>
<caret
line=
"
363"
column=
"51"
selection-start-line=
"363"
selection-start-column=
"51"
selection-end-line=
"363"
selection-end-column=
"51
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"RegistrationController.php"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Controllers/RegistrationController.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"127"
>
<caret
line=
"21"
column=
"47"
selection-start-line=
"21"
selection-start-column=
"47"
selection-end-line=
"21"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#40#54#0#PHP"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"User.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/app/User.php"
>
<file
leaf-file-name=
"master-manager.blade.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/resources/views/layouts/master-manager.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-26"
>
<caret
line=
"17"
column=
"36"
selection-start-line=
"17"
selection-start-column=
"36"
selection-end-line=
"17"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#23#63#0#PHP"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"2091"
>
<caret
line=
"123"
column=
"81"
selection-start-line=
"123"
selection-start-column=
"81"
selection-end-line=
"123"
selection-end-column=
"81"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -153,7 +139,6 @@
<option
value=
"$PROJECT_DIR$/storage/logs/laravel.log"
/>
<option
value=
"$PROJECT_DIR$/resources/views/staffs/daftar_member.blade.php"
/>
<option
value=
"$PROJECT_DIR$/app/Order.php"
/>
<option
value=
"$PROJECT_DIR$/app/Http/Controllers/RegistrationController.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/beli/index.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/upload.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/staffs/data_transaksi.blade.php"
/>
...
...
@@ -163,8 +148,6 @@
<option
value=
"$PROJECT_DIR$/resources/views/layouts/masterlog.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/authentication/login.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/authentication/register.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/index.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/customer_home.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/staffs/staff_home.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/profile/changepassword.blade.php"
/>
<option
value=
"$PROJECT_DIR$/app/Http/Controllers/CustomerController.php"
/>
...
...
@@ -176,15 +159,18 @@
<option
value=
"$PROJECT_DIR$/app/Http/Controllers/ManagerController.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/managers/profile/changepassword.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/layouts/master-staff.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/layouts/master-manager.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/layouts/master-customer.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/data_konfirmasi.blade.php"
/>
<option
value=
"$PROJECT_DIR$/routes/web.php"
/>
<option
value=
"$PROJECT_DIR$/app/Http/Controllers/TicketController.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/staffs/data_pemesanan.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/data_order.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/staffs/pengunjung.blade.php"
/>
<option
value=
"$PROJECT_DIR$/app/User.php"
/>
<option
value=
"$PROJECT_DIR$/app/Http/Controllers/RegistrationController.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/ticket/data_order.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/customers/customer_home.blade.php"
/>
<option
value=
"$PROJECT_DIR$/routes/web.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/layouts/master-manager.blade.php"
/>
<option
value=
"$PROJECT_DIR$/resources/views/index.blade.php"
/>
</list>
</option>
</component>
...
...
@@ -258,8 +244,6 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<PATH>
...
...
@@ -574,18 +558,42 @@
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Middleware"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"PA2D4TI07"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"PA2D4TI07"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"app"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Http"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Controllers"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../Proyek_SIM"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"SearchEverywhereHistoryKey"
value=
"
user	null	null regis	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/register.blade.php peng	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/pengunjung.blade.php web	FILE	file://C:/xampp/htdocs/PA2D4TI07/routes/web.php data	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/data_order.blade.php pe	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/data_pemesanan.blade.php index	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/beli/index.blade.php ticket	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php master	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-customer.blade.php masterman	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-manager.blade.php change	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/profile/changepassword.blade.php managerc	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/ManagerController.php staff	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/StaffController.php mana	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-manager.blade.php chan	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/profile/changepassword.blade.php regiscon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/RegistrationController.php logcon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/LoginController.php mastercu	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-customer.blade.php pengu	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/pengunjung.blade.php staffho	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/staff_home.blade.php custom	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/CustomerController.php ticke	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php login	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/login.blade.php luna	null	null upload	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/upload.blade.php inde	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/beli/index.blade.php regcon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/RegistrationController.php uploa	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/upload.blade.php order	null	null dataor	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/data_order.blade.php customer	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/customer_home.blade.php member	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/daftar_member.blade.php larave	FILE	file://C:/xampp/htdocs/PA2D4TI07/storage/logs/laravel.log log	FILE	file://C:/xampp/htdocs/PA2D4TI07/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt manager	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/managers/manager_home.blade.php staffhom	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/staff_home.blade.php custmi	null	null staffmi	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Middleware/StaffMiddleware.php manami	null	null tic	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php we	FILE	file://C:/xampp/htdocs/PA2D4TI07/routes/web.php ticketc	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php feedbac	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/feedback.blade.php feed	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/managers/daftar_feedback.blade.php regist	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/register.blade.php register	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/Auth/RegisterController.php masterl	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/masterlog.blade.php loginb	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/login.blade.php custhom	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/customer_home.blade.php custome	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-customer.blade
.php"
/>
<property
name=
"SearchEverywhereHistoryKey"
value=
"
maste	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-customer.blade.php master	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-manager.blade.php custome	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/customer_home.blade.php kerne	null	null inde	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/index.blade.php web	FILE	file://C:/xampp/htdocs/PA2D4TI07/routes/web.php custo	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/customer_home.blade.php data	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/data_order.blade.php user	null	null regis	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/register.blade.php peng	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/pengunjung.blade.php pe	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/data_pemesanan.blade.php index	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/beli/index.blade.php ticket	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php masterman	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-manager.blade.php change	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/profile/changepassword.blade.php managerc	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/ManagerController.php staff	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/StaffController.php mana	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-manager.blade.php chan	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/profile/changepassword.blade.php regiscon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/RegistrationController.php logcon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/LoginController.php mastercu	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/layouts/master-customer.blade.php pengu	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/pengunjung.blade.php staffho	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/staff_home.blade.php custom	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/CustomerController.php ticke	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php login	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/login.blade.php luna	null	null upload	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/upload.blade.php regcon	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/RegistrationController.php uploa	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/upload.blade.php order	null	null dataor	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/ticket/data_order.blade.php customer	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/customer_home.blade.php member	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/daftar_member.blade.php larave	FILE	file://C:/xampp/htdocs/PA2D4TI07/storage/logs/laravel.log log	FILE	file://C:/xampp/htdocs/PA2D4TI07/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt manager	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/managers/manager_home.blade.php staffhom	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/staffs/staff_home.blade.php custmi	null	null staffmi	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Middleware/StaffMiddleware.php manami	null	null tic	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php we	FILE	file://C:/xampp/htdocs/PA2D4TI07/routes/web.php ticketc	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/TicketController.php feedbac	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/customers/feedback.blade.php feed	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/managers/daftar_feedback.blade.php regist	FILE	file://C:/xampp/htdocs/PA2D4TI07/resources/views/authentication/register.blade.php register	FILE	file://C:/xampp/htdocs/PA2D4TI07/app/Http/Controllers/Auth/RegisterController
.php"
/>
<property
name=
"js.buildTools.gulp.gulp_package_dir"
value=
""
/>
<property
name=
"settings.editor.selected.configurable"
value=
"reference.settingsdialog.IDE.editor.colors"
/>
<property
name=
"settings.editor.splitter.proportion"
value=
"0.2"
/>
...
...
@@ -751,11 +759,13 @@
<workItem
from=
"1496472461675"
duration=
"8456000"
/>
<workItem
from=
"1496585746771"
duration=
"1550000"
/>
<workItem
from=
"1496624044097"
duration=
"3361000"
/>
<workItem
from=
"1496924875855"
duration=
"7476000"
/>
<workItem
from=
"1496970875541"
duration=
"478000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
392187
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
400141
000"
/>
</component>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
...
...
@@ -768,17 +778,17 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"754"
extended-state=
"6"
/>
<editor
active=
"
fals
e"
/>
<editor
active=
"
tru
e"
/>
<layout>
<window_info
id=
"Gulp"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.27458397"
sideWeight=
"0.5086207"
order=
"3"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2
5718608
"
sideWeight=
"0.48598132"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
x=
"568"
y=
"58"
width=
"229"
height=
"621"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2
647504
"
sideWeight=
"0.48598132"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
x=
"568"
y=
"58"
width=
"229"
height=
"621"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32850242"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25281805"
sideWeight=
"0.50907713"
order=
"0"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Database"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32850242"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.24962178"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.16103059"
sideWeight=
"0.49092284"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.16103059"
sideWeight=
"0.49092284"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.23933902"
sideWeight=
"0.5140187"
order=
"1"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -812,13 +822,6 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Middleware/ManagerMiddleware.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"340"
>
<caret
line=
"21"
column=
"38"
selection-start-line=
"21"
selection-start-column=
"38"
selection-end-line=
"21"
selection-end-column=
"38"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/database/migrations/2017_05_01_044733_create_karyawans_table.php"
/>
<entry
file=
"file://$PROJECT_DIR$/database/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
...
@@ -841,13 +844,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Middleware/CustomerMiddleware.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"391"
>
<caret
line=
"24"
column=
"0"
selection-start-line=
"24"
selection-start-column=
"0"
selection-end-line=
"24"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/vendor/laravel/framework/src/Illuminate/Contracts/Logging/Log.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"68"
>
...
...
@@ -911,13 +907,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/index.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"347"
column=
"0"
selection-start-line=
"347"
selection-start-column=
"0"
selection-end-line=
"347"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/customers/ticket/ticket_home.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"152"
>
...
...
@@ -932,13 +921,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/customers/customer_home.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2090"
>
<caret
line=
"181"
column=
"57"
selection-start-line=
"181"
selection-start-column=
"57"
selection-end-line=
"181"
selection-end-column=
"57"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/staffs/data_transaksi.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"884"
>
...
...
@@ -1060,13 +1042,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/layouts/master-manager.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"214"
>
<caret
line=
"93"
column=
"62"
selection-start-line=
"93"
selection-start-column=
"62"
selection-end-line=
"93"
selection-end-column=
"62"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/layouts/master-staff.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"282"
>
...
...
@@ -1074,13 +1049,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/layouts/master-customer.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"129"
>
<caret
line=
"90"
column=
"106"
selection-start-line=
"90"
selection-start-column=
"106"
selection-end-line=
"90"
selection-end-column=
"106"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/customers/ticket/beli/index.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"169"
>
...
...
@@ -1096,19 +1064,10 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/customers/ticket/data_order.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"901"
>
<caret
line=
"53"
column=
"60"
selection-start-line=
"53"
selection-start-column=
"60"
selection-end-line=
"53"
selection-end-column=
"60"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/staffs/pengunjung.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"17"
>
<caret
line=
"36"
column=
"27"
selection-start-line=
"36"
selection-start-column=
"27"
selection-end-line=
"36"
selection-end-column=
"27"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -1116,51 +1075,93 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"147"
>
<caret
line=
"150"
column=
"56"
selection-start-line=
"150"
selection-start-column=
"56"
selection-end-line=
"150"
selection-end-column=
"56"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/User.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"272"
>
<caret
line=
"17"
column=
"36"
selection-start-line=
"17"
selection-start-column=
"36"
selection-end-line=
"17"
selection-end-column=
"36"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/staffs/data_pemesanan.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
17
"
>
<state
relative-caret-position=
"
-221
"
>
<caret
line=
"23"
column=
"58"
selection-start-line=
"23"
selection-start-column=
"58"
selection-end-line=
"23"
selection-end-column=
"58"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/r
outes/web
.php"
>
<entry
file=
"file://$PROJECT_DIR$/r
esources/views/customers/ticket/data_order.blade
.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"323"
>
<caret
line=
"19"
column=
"14"
selection-start-line=
"19"
selection-start-column=
"14"
selection-end-line=
"19"
selection-end-column=
"14"
/>
<folding
/>
<state
relative-caret-position=
"-867"
>
<caret
line=
"17"
column=
"27"
selection-start-line=
"17"
selection-start-column=
"27"
selection-end-line=
"17"
selection-end-column=
"27"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Kernel.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"212"
>
<caret
line=
"52"
column=
"15"
selection-start-line=
"52"
selection-start-column=
"15"
selection-end-line=
"52"
selection-end-column=
"15"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Controllers/RegistrationController.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"297"
>
<caret
line=
"27"
column=
"27"
selection-start-line=
"27"
selection-start-column=
"27"
selection-end-line=
"27"
selection-end-column=
"27"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/Http/Middleware/CustomerMiddleware.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"306"
>
<caret
line=
"18"
column=
"88"
selection-start-line=
"18"
selection-start-column=
"32"
selection-end-line=
"18"
selection-end-column=
"88"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/customers/customer_home.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"408"
>
<caret
line=
"33"
column=
"0"
selection-start-line=
"33"
selection-start-column=
"0"
selection-end-line=
"33"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/layouts/master-customer.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"197"
>
<caret
line=
"124"
column=
"37"
selection-start-line=
"124"
selection-start-column=
"37"
selection-end-line=
"124"
selection-end-column=
"37"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/resources/views/authentication/register.blade.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
221
"
>
<state
relative-caret-position=
"
17
"
>
<caret
line=
"13"
column=
"19"
selection-start-line=
"13"
selection-start-column=
"19"
selection-end-line=
"13"
selection-end-column=
"19"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/routes/web.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"102"
>
<caret
line=
"6"
column=
"37"
selection-start-line=
"6"
selection-start-column=
"37"
selection-end-line=
"6"
selection-end-column=
"37"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
app/User
.php"
>
<entry
file=
"file://$PROJECT_DIR$/
resources/views/layouts/master-manager.blade
.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-26"
>
<caret
line=
"17"
column=
"36"
selection-start-line=
"17"
selection-start-column=
"36"
selection-end-line=
"17"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#23#63#0#PHP"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"2091"
>
<caret
line=
"123"
column=
"81"
selection-start-line=
"123"
selection-start-column=
"81"
selection-end-line=
"123"
selection-end-column=
"81"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
app/Http/Controllers/RegistrationController
.php"
>
<entry
file=
"file://$PROJECT_DIR$/
resources/views/index.blade
.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"127"
>
<caret
line=
"21"
column=
"47"
selection-start-line=
"21"
selection-start-column=
"47"
selection-end-line=
"21"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#40#54#0#PHP"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"233"
>
<caret
line=
"363"
column=
"51"
selection-start-line=
"363"
selection-start-column=
"51"
selection-end-line=
"363"
selection-end-column=
"51"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
app/Http/Controllers/RegistrationController.php
View file @
dc1d75ea
...
...
@@ -30,6 +30,5 @@ class RegistrationController extends Controller
$role
->
users
()
->
attach
(
$user
);
return
redirect
(
'/login'
)
->
with
(
'alert-success'
,
'Akun anda telah terdaftar. Silahkan login.'
);
}
}
resources/views/customers/customer_home.blade.php
View file @
dc1d75ea
...
...
@@ -25,7 +25,7 @@
<div class="
col
-
md
-
12
">
<div class="
x_panel
">
<div class="
x_title
">
<h2>
Media
Gallery </h2>
<h2>Gallery </h2>
<div class="
clearfix
"></div>
</div>
<div class="
x_content
">
...
...
resources/views/customers/ticket/data_order.blade.php
View file @
dc1d75ea
...
...
@@ -22,8 +22,8 @@
<h2>
<ul>
<li>
Pesan tiket terlebih dahulu. Pembayaran tiket dilakukan melalui via transfer bank ke nomor Rekening 111-111-111 (Bank ABC)
a
tas nama
Museum TB Silalahi Center.
Pesan tiket terlebih dahulu. Pembayaran tiket dilakukan melalui via transfer bank ke nomor Rekening 111-111-111
<br>
(Bank ABC)
a
.n.
Museum TB Silalahi Center.
</li>
<li>
Foto atau screenshot bukti pembayaran.
...
...
@@ -45,7 +45,7 @@
<div
class=
"col-md-12 col-sm-12 col-xs-12"
>
<div
class=
"x_panel"
>
<div
class=
"x_title"
>
<h
1>
Data Pemesanan tiket
<small>
Upload resi pembayaran
</small></h1
>
<h
2>
Data Pemesanan tiket
<small>
Upload resi pembayaran
</small></h2
>
<div
class=
"clearfix"
></div>
</div>
...
...
resources/views/index.blade.php
View file @
dc1d75ea
...
...
@@ -49,15 +49,45 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav navbar-right"
>
@if(Sentinel::guest())
<li>
<a
class=
"page-scroll"
href=
"{{url('/login')}}"
>
Login
</a>
</li>
<li>
<a
class=
"page-scroll"
href=
"{{url('/register')}}"
>
Register
</a>
</li>
@else
@if(Sentinel::getUser()->roles()->first()->slug=='customer')
<li>
<a
class=
"fa fa-book"
href=
"{{url('/ticket')}}"
>
Pesan Tiket
</a>
</li>
<li>
<a
class=
"fa fa-user"
href=
"{{url('/customer')}}"
>
{{Sentinel::getUser()->first_name}}'s page
</a>
</li>
@elseif(Sentinel::getUser()->roles()->first()->slug=='staff')
<li>
<a
class=
"fa fa-book"
href=
"{{url('/pemesanan')}}"
>
Data Pemesanan
</a>
</li>
<li>
<a
class=
"fa fa-book"
href=
"{{url('/pengunjung')}}"
>
Data Pengunjung
</a>
</li>
<li>
<a
class=
"fa fa-user"
href=
"{{url('/staff')}}"
>
{{Sentinel::getUser()->first_name}}'s page
</a>
</li>
@elseif(Sentinel::getUser()->roles()->first()->slug=='manager')
<li>
<a
class=
"fa fa-book"
href=
"{{url('/penjualan')}}"
>
Data Penjualan Tiket
</a>
</li>
<li>
<a
class=
"fa fa-user"
href=
"{{url('/manager')}}"
>
{{Sentinel::getUser()->first_name}}'s page
</a>
</li>
@endif
@endif
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
...
...
@@ -327,11 +357,11 @@
</div>
<div
class=
"col-lg-2 col-lg-offset-2 text-center"
>
<i
class=
"fa fa-phone fa-3x sr-contact"
></i>
<p>
123-456-6789
</p>
<p>
0632-21588
</p>
</div>
<div
class=
"col-lg-3 text-center"
>
<i
class=
"fa fa-envelope-o fa-3x sr-contact"
></i>
<p><a
href=
"#"
>
museumtbsc@gmail.com
</a>
</p>
<p>
museumtbsc@gmail.com
</p>
</div>
<div
class=
"col-lg-3 text-center"
>
<i
class=
"fa fa-map-marker fa-3x sr-contact"
></i>
...
...
resources/views/layouts/master-manager.blade.php
View file @
dc1d75ea
...
...
@@ -124,7 +124,7 @@
<form
action=
"{{url('/logout')}}"
method=
"POST"
id=
"logout-form"
>
{{ csrf_field() }}
<a
href=
"#"
onclick=
"document.getElementById('logout-form').submit()"
><i
class=
"fa fa-sign-out fa-fw"
></i>
Logout
</a>
{{--
<a
href=
"login.html"
><i
class=
"fa fa-sign-out pull-right"
></i>
Log Out
</a></li>
--}}
</form>
</form>
</li>
</ul>
</li>
...
...
routes/web.php
View file @
dc1d75ea
...
...
@@ -17,12 +17,6 @@ Route::group(['middleware' => 'visitors'], function()
Route
::
post
(
'/logout'
,
'LoginController@logout'
);
Route
::
group
([
'middleware'
=>
''
],
function
()
{
Route
::
get
(
'/password'
,
'PasswordController@changePassword'
);
Route
::
put
(
'/password'
,
'PasswordController@changePasswordPost'
);
});
Route
::
group
([
'middleware'
=>
'manager'
],
function
()
{
Route
::
get
(
'/manager'
,
'ManagerController@index'
);
...
...
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