FEAT: Add payroll feature #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
We want to add a payroll table:
From this table the castle accounting will do payroll every day (also taking into account owed expenses)
This task looks like:
Add entry for salary (this involves an lnbits API call to get the amount_sats for the wage
Next we calculate the amount owed for the day
This includes any approved expenses
let's make their desired minimum amount just an ideal target
then we can assign them different jobs and they will get paid for those jobs
they can see where they are compared to their desired monthly income