Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Clubphp
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Clubphp
Commits
b3f5f147
Commit
b3f5f147
authored
Jul 18, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(rentals): add Rentals module to sidebar navigation
Co-Authored-By:
Claude Sonnet 4.6
<
noreply@anthropic.com
>
parent
a64e13fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
bootstrap.php
app/Modules/Rentals/bootstrap.php
+14
-0
No files found.
app/Modules/Rentals/bootstrap.php
View file @
b3f5f147
...
...
@@ -2,6 +2,7 @@
declare
(
strict_types
=
1
);
use
App\Core\Registries\PermissionRegistry
;
use
App\Core\Registries\MenuRegistry
;
PermissionRegistry
::
register
(
'rentals'
,
[
'rental.view'
=>
[
'ar'
=>
'عرض الإيجارات'
,
'en'
=>
'View Rentals'
],
...
...
@@ -10,3 +11,16 @@ PermissionRegistry::register('rentals', [
'rental.approve'
=>
[
'ar'
=>
'اعتماد الإيجارات'
,
'en'
=>
'Approve Rentals'
],
'rental.manage_deposit'
=>
[
'ar'
=>
'إدارة تأمينات الإيجار'
,
'en'
=>
'Manage Rental Deposits'
],
]);
MenuRegistry
::
register
(
'rentals'
,
[
'label_ar'
=>
'الإيجارات'
,
'label_en'
=>
'Rentals'
,
'icon'
=>
'building-2'
,
'route'
=>
'/rentals'
,
'permission'
=>
'rental.view'
,
'order'
=>
290
,
'children'
=>
[
[
'label_ar'
=>
'عقود الإيجار'
,
'label_en'
=>
'Contracts'
,
'route'
=>
'/rentals'
,
'permission'
=>
'rental.view'
,
'order'
=>
1
],
[
'label_ar'
=>
'الكيانات'
,
'label_en'
=>
'Entities'
,
'route'
=>
'/rentals/entities'
,
'permission'
=>
'rental.manage_entity'
,
'order'
=>
2
],
],
]);
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