-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation clarification of "project" and "worker" concepts #130
Comments
@gsvarovsky Yes I will update this information, send you again and check it |
Ah, those docs are wrong then! This is how you use the worked-hours command:
@ishifoev can you find the misleading docs and fix them? |
The reason to have client and project separately is that PreJournal needs to determine the value flows based on that. It creates a movement of type "worked" from the worker to the project account within the client. The "account:subaccount" syntax is taken from Plain Text Accounting, see e.g. https://hledger.org/1.26/hledger.html#basic |
@gsvarovsky apart from the misleading docs we unfortunately gave you, thanks for flagging this as something confusing, it indeed is, even when using the correct docs! So we should have three names:
|
In the docs, a worker and project are added in distinct array positions:
In the response, the 'worker' is assigned to the API account holder, and the project concatenates the given worker and project:
In the update-entry command, the 'project' assumes this concatenation, so a no-op update for the above data looks like this:
Please can you confirm this is correct?
The text was updated successfully, but these errors were encountered: