Budget and billing gains what a professional services automation system
has on top of time and invoices:
- Expenses (travel, accommodation, meals, materials, subcontracting,
software, other) with a markup, billable or not, on a card and a person.
They spend the budget at their cost and go on the next invoice of their
period at their charge, once; voiding or crediting frees them.
- Fixed fees billed once from their day (milestones, fixed prices) and
monthly retainers to their end. Which occurrences are billed is read from
the standing invoices' lines. "Bill time by the hour" off makes a board a
fixed price: its invoices carry fees and expenses only.
- Approving time: with it on only approved time is invoiced; board admins
approve or send back the waiting entries, the card's Time popup shows the
decision, and approved time can no longer be removed by its logger.
- A cost per hour on a rate, the board's cost (hours at cost rates and
expenses), unbilled work in progress and the margin.
- Quotes (QUO-YYYY-NNNN) of the work still to do and the fees not billed,
valid for the invoicer's days, draft -> sent -> accepted or declined;
accepting can make the quote the budget; PDF, SVG, Excel and CSV.
- The board's customer, filled in on invoices and quotes.
Workload gains billable utilization against working time with a target, and
skills with levels: a placeholder that needs a skill lists who could do it,
the most free hours first.
Two bugs found on the way: crediting an invoice failed on a real database,
because the invoice schema did not allow the status "credited" (a test now
checks every status the server writes against the schema); and the workload
report ignored everybody's own working time, because capacityOf validated
the stored document with its _id and userId and fell back to the default.
58 new strings are translated in every language. Lower-confidence
translations: chr, dz, bo, csb, cv, bua, ay, ff, fj, gn, gv, haw, ig, iu,
kl, kw, ks, kok, hsb, lg, lld, nah, nap, scn, sc, rup, rm, qu, se, sah, nd,
ss, nso, ny, sn, rn, rw, om, so, sm, mi, mg, pap, la, mai, or_IN, sd, ps,
my, tig, tlh, wal, zgh, vo, ve-PP, uz-AR, tpi, wa and wo.
Thanks to xet7 !
A new page in the user menu, Workload and capacity (/workload), shows week
by week how much work each person has against the hours they have, across
every board the viewer is an active member of
(docs/Features/Workload/Workload.md):
- Load: a card's new Estimated hours, set in the Time popup beside the time
spent, less that time; story points from the board's Scrum estimate. A
card's work is spread from its start to its due date over the days the
person works; overdue work counts today; undated and unestimated cards are
counted apart, and work nobody carries is shown once as unassigned.
- Capacity: each person's hours per week (default 37.5), work time percent
(part-time 60 % is 22.5 h) and working days. Absences (vacation, sick
leave, day off, training, other) and public holidays set by an
administrator take their days away, and the work moves to the days the
person is there.
- A week over 100 % - more work than hours, allocations over 100 %, or work
in a week with no hours - is red; under half full is grey-blue. Clicking a
week lists its cards.
- Allocations: a board's admins give a member a share of their time on the
board for a period ("A on board X 50 % in April"), or name a role with no
person yet ("Developer x 1, 100 %, next month"), drawn as a placeholder
row with the hours it needs.
The server computes the report (models/lib/workload.js, server/workload.js);
cards are not published for it. Public boards and boards where the viewer
sees only their assigned cards are not included, inactive members are not
reported, and somebody else's absence is dates only: its type and note are
shown to that person and to administrators. Capacity and absences are a
person's own to change (an administrator's for anyone), allocations a board
admin's, holidays an administrator's. The four collections take no client
writes and have no publication; a deleted user's workload data goes with
them. Admin Panel / Features / Workload turns the page and its methods off.
The board's own Workload chart, a count of open cards per person, links to
the page. estimatedHours is copied by WeKan export/import.
tests/workload.test.cjs runs the rules as arithmetic, including the cases of
the request (37.5 h, 60 %, an overloaded week, a vacation, a holiday, 50 %
of April, the placeholder roles); tests/workloadAccess.test.cjs runs the real
methods as each kind of user; tests/playwright/specs/workload-capacity.e2e.js
drives the page. The new strings are translated into every language; low
confidence for the smallest ones (e.g. Tigre, Klingon, Wolaytta, Venda,
Vepsian, Cherokee, Dzongkha, Inuktitut, Nahuatl). In several locales the
eleven still-English enrollment/registration/auth strings were translated
too. The hour symbol h is language-independent in fill-translations.mjs.
Thanks to xet7 !