# ferryiqbalrhamdani/filament-approval-aries architecture

> Architecture diagram of the GitHub repository ferryiqbalrhamdani/filament-approval-aries, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ferryiqbalrhamdani/filament-approval-aries
- Repository: https://github.com/ferryiqbalrhamdani/filament-approval-aries

## Overview

This appears to be a Laravel/Filament employee leave and permission-management application, though the README is the generic Laravel README and does not document product behavior. The likely user workflow is entering the admin panel, submitting or managing leave/permission requests, and processing approval records. The tree also shows master data, overtime, user administration, and scheduled balance/permission updates. Source excerpts are partial, so edges are limited to relationships visible in excerpts or the source index; other apparent workflow links are omitted rather than assumed.

Main entry points: [`app/Providers/Filament/AdminPanelProvider.php`](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Providers/Filament/AdminPanelProvider.php) (Filament panel), [`app/Filament/Resources/UserResource.php`](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/UserResource.php) (User administration), [`app/Console/Commands/UpdateIzin.php`](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Console/Commands/UpdateIzin.php) (Update permissions), [`app/Models/CutiPribadi.php`](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/CutiPribadi.php) (Personal leave record)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Admin access"]
  node_panel["Filament panel"]
  node_login["Custom login<br/>[CustomLogin.php]"]
  node_dashboard["Dashboard<br/>[Dashboard.php]"]
  node_profile["Profile editing"]
  node_useradmin["User administration<br/>[UserResource.php]"]
  node_welcome["Welcome view<br/>[welcome.blade.php]"]
end

subgraph group_requests["Requests and approvals"]
  node_leaverequest["Leave requests"]
  node_specialleave["Special leave"]
  node_permissionrequest["Permission requests"]
  node_overtimerequest["Overtime requests"]
  node_approval["Permission approvals"]
  node_approvalpages["Approval pages"]
end

subgraph group_domain["Domain and balances"]
  node_leavebalance["Leave balance rules<br/>[LeaveService.php]"]
  node_leave[("Personal leave record<br/>[CutiPribadi.php]")]
  node_user[("User account<br/>[User.php]")]
  node_company[("Company<br/>[Company.php]")]
  node_division[("Division<br/>[Division.php]")]
  node_permission[("Permission record<br/>[SuratIzin.php]")]
  node_permissionapproval[("Approval record")]
end

subgraph group_operations["Scheduled operations"]
  node_scheduler["Task scheduler<br/>[app.php]"]
  node_updateizin["Update permissions<br/>[UpdateIzin.php]"]
  node_annualleave["Annual leave update"]
end

node_employee(("Employee / admin"))

node_employee -.->|"uses"| node_panel
node_panel -->|"registers"| node_login
node_panel -->|"registers"| node_profile
node_panel -->|"configures"| node_dashboard
node_panel -->|"registers"| node_permissionrequest
node_panel -->|"registers"| node_overtimerequest
node_profile -->|"updates"| node_user
node_useradmin -->|"manages"| node_user
node_useradmin -->|"references"| node_company
node_useradmin -->|"references"| node_division
node_approval -->|"manages"| node_permissionapproval
node_approvalpages -->|"uses"| node_approval
node_permissionapproval -->|"belongs to"| node_permission
node_leaverequest -.->|"manages"| node_leave
node_leavebalance -->|"updates"| node_user
node_leavebalance -->|"refunds"| node_leave
node_scheduler -->|"schedules"| node_updateizin
node_scheduler -->|"schedule commented"| node_annualleave
node_updateizin -->|"updates"| node_permission
node_updateizin -->|"updates"| node_leave
node_welcome -->|"references"| node_dashboard

click node_panel "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Providers/Filament/AdminPanelProvider.php"
click node_login "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Auth/CustomLogin.php"
click node_dashboard "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Pages/Dashboard.php"
click node_profile "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Livewire/CustomProfileComponent.php"
click node_useradmin "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/UserResource.php"
click node_leaverequest "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Clusters/IzinCuti/Resources/CutiPribadiResource.php"
click node_specialleave "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Clusters/IzinCuti/Resources/CutiKhususResource.php"
click node_permissionrequest "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinResource.php"
click node_overtimerequest "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/IzinLemburResource.php"
click node_approval "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinApproveResource.php"
click node_approvalpages "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinApproveResource/Pages/ListSuratIzinApproves.php"
click node_leavebalance "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Services/LeaveService.php"
click node_leave "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/CutiPribadi.php"
click node_user "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/User.php"
click node_company "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/Company.php"
click node_division "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/Division.php"
click node_permission "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/SuratIzin.php"
click node_permissionapproval "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/SuratIzinApprove.php"
click node_scheduler "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/bootstrap/app.php"
click node_updateizin "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Console/Commands/UpdateIzin.php"
click node_annualleave "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Console/Commands/UpdateCutiTahunan.php"
click node_welcome "https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/resources/views/welcome.blade.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_panel,node_login,node_dashboard,node_profile,node_useradmin,node_welcome toneBlue
class node_leaverequest,node_specialleave,node_permissionrequest,node_overtimerequest,node_approval,node_approvalpages toneAmber
class node_leavebalance,node_leave,node_user,node_company,node_division,node_permission,node_permissionapproval toneMint
class node_scheduler,node_updateizin,node_annualleave toneRose
class node_employee toneIndigo
```

## Components

### Admin access

- [Filament panel](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Providers/Filament/AdminPanelProvider.php): `app/Providers/Filament/AdminPanelProvider.php`
- [Custom login](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Auth/CustomLogin.php): `app/Filament/Auth/CustomLogin.php`
- [Dashboard](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Pages/Dashboard.php): `app/Filament/Pages/Dashboard.php`
- [Profile editing](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Livewire/CustomProfileComponent.php): `app/Livewire/CustomProfileComponent.php`
- [User administration](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/UserResource.php): `app/Filament/Resources/UserResource.php`
- [Welcome view](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/resources/views/welcome.blade.php): `resources/views/welcome.blade.php`

### Requests and approvals

- [Leave requests](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Clusters/IzinCuti/Resources/CutiPribadiResource.php): `app/Filament/Clusters/IzinCuti/Resources/CutiPribadiResource.php`
- [Special leave](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Clusters/IzinCuti/Resources/CutiKhususResource.php): `app/Filament/Clusters/IzinCuti/Resources/CutiKhususResource.php`
- [Permission requests](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinResource.php): `app/Filament/Resources/SuratIzinResource.php`
- [Overtime requests](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/IzinLemburResource.php): `app/Filament/Resources/IzinLemburResource.php`
- [Permission approvals](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinApproveResource.php): `app/Filament/Resources/SuratIzinApproveResource.php`
- [Approval pages](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Filament/Resources/SuratIzinApproveResource/Pages/ListSuratIzinApproves.php): `app/Filament/Resources/SuratIzinApproveResource/Pages/ListSuratIzinApproves.php`

### Domain and balances

- [Leave balance rules](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Services/LeaveService.php): `app/Services/LeaveService.php`
- [Personal leave record](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/CutiPribadi.php): `app/Models/CutiPribadi.php`
- [User account](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/User.php): `app/Models/User.php`
- [Company](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/Company.php): `app/Models/Company.php`
- [Division](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/Division.php): `app/Models/Division.php`
- [Permission record](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/SuratIzin.php): `app/Models/SuratIzin.php`
- [Approval record](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Models/SuratIzinApprove.php): `app/Models/SuratIzinApprove.php`

### Scheduled operations

- [Task scheduler](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/bootstrap/app.php): `bootstrap/app.php`
- [Update permissions](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Console/Commands/UpdateIzin.php): `app/Console/Commands/UpdateIzin.php`
- [Annual leave update](https://github.com/ferryiqbalrhamdani/filament-approval-aries/blob/master/app/Console/Commands/UpdateCutiTahunan.php): `app/Console/Commands/UpdateCutiTahunan.php`

### Other components

- **Employee / admin**

## Connections

- Employee / admin → Filament panel: uses
- Filament panel → Custom login: registers (evidence: `app/Providers/Filament/AdminPanelProvider.php`)
- Filament panel → Profile editing: registers (evidence: `app/Providers/Filament/AdminPanelProvider.php`)
- Filament panel → Dashboard: configures (evidence: `app/Providers/Filament/AdminPanelProvider.php`)
- Filament panel → Permission requests: registers (evidence: `app/Providers/Filament/AdminPanelProvider.php`)
- Filament panel → Overtime requests: registers (evidence: `app/Providers/Filament/AdminPanelProvider.php`)
- Profile editing → User account: updates (evidence: `app/Livewire/CustomProfileComponent.php`)
- User administration → User account: manages (evidence: `app/Filament/Resources/UserResource.php`)
- User administration → Company: references (evidence: `app/Filament/Resources/UserResource.php`)
- User administration → Division: references (evidence: `app/Filament/Resources/UserResource.php`)
- Permission approvals → Approval record: manages (evidence: `app/Filament/Resources/SuratIzinApproveResource.php`)
- Approval pages → Permission approvals: uses (evidence: `app/Filament/Resources/SuratIzinApproveResource/Pages/ListSuratIzinApproves.php`)
- Approval record → Permission record: belongs to (evidence: `app/Models/SuratIzinApprove.php`)
- Leave requests → Personal leave record: manages
- Leave balance rules → User account: updates (evidence: `app/Services/LeaveService.php`)
- Leave balance rules → Personal leave record: refunds (evidence: `app/Services/LeaveService.php`)
- Task scheduler → Update permissions: schedules (evidence: `bootstrap/app.php`)
- Task scheduler → Annual leave update: schedule commented (evidence: `bootstrap/app.php`)
- Update permissions → Permission record: updates (evidence: `app/Console/Commands/UpdateIzin.php`)
- Update permissions → Personal leave record: updates (evidence: `app/Console/Commands/UpdateIzin.php`)
- Welcome view → Dashboard: references (evidence: `resources/views/welcome.blade.php`)
