1. HR Portal Overview
The Medref HR Portal is the administrative interface for company HR managers. It allows full control over employee data, withdrawal request reviews, and service configuration.
Employee Management
Add, edit, activate, and archive employee records.
Request Approval
Review and approve or reject EWA withdrawal requests in real time.
Dashboard Analytics
Charts showing request trends and status distribution.
Team Access
Invite sub-users to share HR responsibilities.
2. Login & Authentication
The HR Portal uses OTP-based login via Odoo integration. Two login modes are available:
Company Manager Login
- Navigate to /hr/loginGo to the HR login URL for your company.
- Select "مدير الشركة" tabChoose the Company Manager tab.
- Enter your registered phone numberThe phone number registered in the Odoo system.
- Click "إرسال رمز التحقق"An OTP is sent via SMS.
- Enter the 6-digit OTPValid for 5 minutes.
Team Member Login
- Select "عضو الفريق" tabChoose Team Member tab.
- Enter your invitation code or credentialsUse the details from your invitation email.
- Complete OTP verificationEnter the OTP sent to your phone.
3. HR Dashboard
The dashboard gives an at-a-glance view of EWA activity in your company.
Dashboard Widgets
| Widget | Description |
|---|---|
| Daily Requests Chart | Line chart showing withdrawal request volume over the last 30 days |
| Status Distribution Pie | Breakdown of requests by status: New, Review, Confirmed, Cancelled |
| Total Requests | Total number of EWA requests this month |
| Pending Reviews | Requests awaiting your action |
| Total Disbursed | Total amount of salary advances disbursed this month (SAR) |
When an employee submits a new withdrawal request, you receive an instant notification via the portal's real-time system (SSE). No need to refresh the page.
4. Employee Management
Manage your company's employee roster from the Employees page (الموظفون).
Adding a New Employee
- Click "إضافة موظف" (Add Employee)Opens the new employee form.
- Fill in employee detailsRequired fields: Full Name (Arabic & English), Phone Number, Monthly Salary, National ID, Bank IBAN, Job Title.
- Set optional detailsHousing allowance, transport allowance, date of birth, employee number.
- Save the employeeThe employee is created with status "Inactive".
- Activate the employeeFind the employee and click "تفعيل" (Activate) to grant portal access.
Employee Status
| Status | Meaning | Can Login? |
|---|---|---|
| Active (نشط) | Employee has full access | ✅ Yes |
| Inactive (غير نشط) | Account exists but access is disabled | ❌ No |
| Archived (مؤرشف) | Employee deactivated by HR | ❌ No |
Bulk Import via Excel
- Click "استيراد Excel"Download the template file first.
- Fill the templateSupports both Arabic and English column headers. Required: Name, Phone, Salary.
- Upload the fileThe system validates and imports all records.
- Review resultsImported employees appear as inactive and must be individually or bulk-activated.
Activate All Employees
Use the "تفعيل الجميع" (Activate All) button to activate all inactive employees in one click. Useful after a bulk import.
Edit Employee
Click the edit (pencil) icon next to any employee to modify their details. You can update salary, allowances, bank details, and contact information.
Employees cannot be permanently deleted for audit trail purposes. Use Archive/Activate to manage access instead.
5. Managing Withdrawal Requests
All employee EWA requests appear in the Requests page (الطلبات). This is where you approve or reject salary advance requests.
All Requests Page
- Searchable and filterable table of all requests
- Each row shows: Request ID, Employee Name, Amount, Date, Status
- Click any row to view full request details
- Status badges with color coding (New: blue, Review: yellow, Confirmed: green, Cancelled: red)
Request Detail Page
Click on a request to see:
- Employee information (name, department, salary)
- Requested amount and calculated fee
- Bank account details for disbursement
- Request timeline and history
- Approve / Reject buttons (visible only for actionable requests)
Approving a Request
- Open the request detail page
- Review all employee and request information
- Click "موافقة" (Approve)The decision is sent to Odoo for processing. The employee receives a real-time notification.
Rejecting a Request
- Open the request detail page
- Click "رفض" (Reject)
- Enter rejection reasonA reason is required. It will be visible to the employee.
- Confirm rejectionThe employee is notified instantly.
6. Creating Requests on Behalf of Employees
HR managers can create EWA requests on behalf of employees (طلب جديد).
- Go to "طلب جديد" (New Request)
- Search for and select the employeeUse the search box to find the employee by name or phone.
- Enter the requested amountMust be within the employee's available balance.
- Confirm the requestThe request is created and goes through the normal approval flow.
7. Company Services
View which Medref services are activated for your company from the Services page.
| Service | Description |
|---|---|
| Earned Wage Access (EWA) | Core salary advance service |
| Fuel Advance | FUEL loan service for vehicle-related expenses |
| Loyalty Program | Employee access to merchant coupons and offers |
8. Sub-Users & Team Access
You can invite additional HR team members to access the portal.
- Go to "المستخدمون" (Users)
- Click "دعوة مستخدم"Enter the team member's name, phone, and email.
- Send invitationThe team member receives an email with an invitation link.
- Team member acceptsThey complete the setup via the acceptance link (/hr/accept-invitation).
9. My Account
Access your HR profile from "حسابي" in the sidebar.
| Feature | Description |
|---|---|
| View Profile | See your name, phone, company, and role |
| Change Password | Update your portal access credentials |
| Bank Info | Update company bank account details |