[insight] Projects: budget lines, payments in projects, tasks, phases, time and invoices; v0.7.0 #9
Reference in New Issue
Block a user
Delete Branch "feature/projects"
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?
Projects for Fiscus Domi: planning and tracking a renovation or a trip (simple), or a side business or client work (business). Design:
docs/06_projects.md. Version 0.7.0.What changes
fiscus-ledger::projectadds these events, with their checks inState::apply:project.created,project.changed,project.status_set;project.line_set) and phases (project.phase_set/project.phase_removed);payment.projected/payment.unprojected) and a merchant rule while the project is open and within its dates (project.rule_set);task.created/task.changed/task.status_set);time.logged/time.removed);invoice.projected).State::project_of(payment)tells which project a payment is in: put there by hand, or by a rule.fiscus-insight::projects, for each project:fiscus-insight::rewards: Project on budget and Finished on time for a done project.Self-review
share.rsis not touched.Tests
fiscus-ledger/tests/projects.rs(7): a project, its lines, tasks and payments; checks when made and changed; lines, phases and tasks; payments into an open project once; time business-only, never over a day, invoiced once; weeks and rounding; hostile JSON.fiscus-insight/tests/projects.rs(4): spent by line by hand and by rule within the dates; the forecast and progress by estimates; business income without VAT and never twice, profit, margin, time by week and task, billed and unbilled; late past the end, and the two medals.cargo test --workspace: 140 passed.cargo clippy --workspace --all-targets: clean.