Completed the first iteration of billing automation. Written code that allowed:
- Check the correctness of the tasks (Hourly/not Hourly), etc.
- Calculate according to data from GitLab and pay an hourly rate to hourly employees.
- Calculate according to data from GitLab and send hourly reports to the accountant for clients. Along the way, a lot of server name labels are launched in GitLab, but not all of them – without this it would be impossible to build a report for the account. Now, finally!, the cost of an hour is taken not from the ceiling, but from the description of the server mentioned in the task. In the next iterations, it’s necessary to learn how to create PDFs with invoices. Both for monthly fee, and for hourly and for backups and so on.