The clinic wants to pay administrators by the hour. This case describes how to get around this limitation and set up an hourly calculation for administrative staff.
Why an alternative algorithm of actions may be required 
The standard functionality of the module «Зарплата»in MedLock allows you to set up an hourly payment directly in the doctor's profile. «администратор»This option is not provided for employees with the role.
Decision 
To do this, you need to add an administrator as an employee with a specialty«врач». Thus, the salary of an administrator is considered in the system as the salary of a doctor who has a fixed hourly rate.
Step-by-step implementation 
- Add an administrator as an employee with a specialty «врач».
- Setting up hourly pay for the created employee. To set up the administrator's salary, go to the created employee profile, which will be used to calculate the administrator's salary.
You can always find detailed information on setting up a fixed payment in the articleSetting up a fixed payment. - Setting up a work schedule. Now it is necessary to create a work schedule for this employee that will correspond to the actual work schedule of the administrator. Detailed instructions on setting up charts are available in the articleAdding and changing doctors' work schedules.
- Calculation and verification of salary. After all the settings are completed, the administrator's salary will be calculated automatically.
To check and get the totals, use one of the reports: - Use the report to view the total hourly pay of all employees (including administrators)«Сводка по зарплатам». It will reflect all charges, including those for hourly work.
Important: The data in the report is displayed for yesterday, as the calculation takes place at night. You can read more about the report in the articleSummary of salaries.
- To view the hourly charges in detail, use the report«Почасовая оплата». It shows the number of hours worked and the total amount for each employee with an hourly rate.
Information about working with this report is available in the articleHourly payment.
Important notes 
- Payment terms. The hourly rate is calculated by the system at night, so the data in the reports is available the next day. When setting up a salary, the start date of the calculation can be set no earlier than 30 days before the current date.
- Accounting for vacations and time off. If the administrator goes on vacation or takes time off, it is necessary to mark this in his work schedule. Otherwise, the system may charge a salary for unworked time. A vacation or time off is marked in the tab «Отпуск»when editing the schedule.
- Bid change. If the hourly rate of the administrator changes, you need to update it in the salary settings in the profile of the corresponding «врача»one and specify a new start date for applying the changes.