- Toolbar: whose board (own, a person, a service line, all), pipeline
views (daily, sales, full), urgent and late filters with a live count,
normal and compact density, and the quick intake button.
- Columns side by side with horizontal scrolling on desktop, stacked on
phones; each user's own column colours and order, the urgent column's
threshold menu, and the continuing jobs column.
- Cards in customer colours: job cards with their tasks checked off inside
the card (the status select is gone), continuing job cards with the next
period, PIN and quick add, and pinned task cards. Dragging moves and
orders cards; the keyboard opens the job editor from the card title.
- Job editor dialog: every job detail, tasks with checklists and
templates, quick hours (TimeTracking) and expenses (Expenses), history.
- The quick intake form also adds a contact person, initial status and
priority, and opens as a dialog on the board.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 /
primary-100 and TallStackUI's dark labels, hints and checkbox labels are
lightened so everything stays at 4.5:1.
- Shared HexColor picks white or black text by the higher WCAG contrast; a
native-dialog colour picker and a large work dialog component.
- Customers get a header colour (customers.header_color), set on the
customer page.
- New job status Jatkuvat / Kausi (ongoing): open, never late, billed
monthly like running jobs.
- Kanban model: board columns and views, urgent threshold, per-user board
preferences (density, column colours and sort), card positions, tasks of
continuing jobs pinned to the board, MoveBoardCard and board queries with
logged hours from TimeTracking.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Dark indigo header and tinted page background; the mobile main menu gets
its own row, in the same order as the keyboard reaches it.
- Page titles with an icon chip (x-page-title, x-page, x-page-header) and
card sections (x-panel, the card utility); x-table styled as a card with
an indigo header row in AppServiceProvider::styleTables().
- Job and task statuses, late work, unapproved hours and stock states as
badges with icon and text (x-status-badge, x-jobs.status,
x-jobs.task-status), never colour alone.
- Empty lists as x-empty-state; dashboard quick link tiles, week hour bars
and trend arrows; Kanban columns and task cards edged by status; calendar
today column and bar accents; quick sale, reports and machine console
restyled; signed-out pages show the app name.
- Focus rings use the primary colour in both themes (white in the header).
- Document the components in CLAUDE.md; test the status badges.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cancelling a maintenance record now reverses the stock it used, through
Inventory's new ReverseMaintenanceStockUse behind the MaintenanceMaterials
port, in the same transaction as the cancellation.
The PIN page allows 5 wrong current passwords a minute per user, as the
login form does, so a signed-in session cannot be used to guess the
password.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- Hours the counter reading cannot parse (",5") no longer fail after
they are saved; they just get no hour counter suggestion.
- The console's sign-in falls back to a console machine list
(machines::console-picker at /console/machines) instead of /machines,
so it stays in the console's own session.
- Recording counter usage locks the counter first, so usage saved at
the same time from two devices is not lost.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The console under console/ has its own session cookie and console guard
(UseConsoleSession), so signing out or changing user there leaves the
normal interface alone. Links open it in a new window through a one-time
handoff key; a signed-out console asks for a PIN code or password on its
own login page. Users set their 4-6 digit PIN on the profile's PIN page,
and the console's change user dialog takes it on a keypad; five wrong
PINs lock PIN sign-in for 15 minutes.
Machine counters are cumulative: users record how much a job used and it
is added to the latest reading. A maintenance record restarts the whole
counter interval from the reading at the record.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
An unpaid order whose lines have no completed step can be reopened in the
cart from the open orders list; saving replaces its lines with current
prices and processes, moves the machine work list rows and keeps the
pickup number. Keyboard browser tests cover changing and cancelling an
order and moving production steps.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
On touch screens a tap on a task bar both showed its info popover and
opened the schedule dialog. A tap now only opens the popover, which stays
open until something else is tapped, and the popover's own "Open schedule"
button opens the dialog. Mouse clicks and Enter still open the dialog
directly. The popover is no longer a tooltip since it holds a button, and
the bar's aria-describedby points only at the details.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Each line on the quick sale page gets a quantity field beside the
minus and plus buttons: the typed quantity is saved on change or
Enter, 0 removes the line and an invalid value keeps the old one
with an error.
The specification gets section 19.7 for phase 5: products with a
production process are sold as orders that go to a machine's work
list, are marked made at the machine (booking material and hours)
and are then paid in cash or by card.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The new billing::job-months page lists the months that created billing
materials have billed for a monthly fee job, with links to the materials
and the total, and the months still to bill up to the current month,
counted the same way as a new material counts them. The job page links
to it next to the payment basis for those who manage billing.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A task's estimate now takes each working day of its planned period up to
the assignee's free capacity before the next day gets anything, so 9 h
is booked as 7.5 h + 1.5 h rather than 4.5 h + 4.5 h. What does not fit
in the period still moves past its end and makes the task end later.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The task calendar's daily maximum moves from the hidden setting
jobs.daily_capacity_hours to shared.daily_capacity_hours, edited by the
admin on the company details page. An empty field means 7.5 hours.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Everyone sees their open tasks on an agenda, their open jobs, this
week's hours and quick links. Admin and management also get a lazily
loaded management panel: things to do, the month so far against the
previous month, jobs and late work, and everyone's workload.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Materials created before billing months existed have no period, so the
profitability report left out what they billed. Their month is now the
month they were created in, as in the export repository.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Profitability by job and service unit from a period's hours, expenses
and the created billing materials of its months. Hours are costed at one
internal hourly cost, set on the price list maintenance page; a job of
several service units is shared evenly between them.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The expenses employees paid themselves in a period, by person with
kilometres and amounts, printable and as CSV for payroll.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Quick sales of a period by cash day, product, seller and VAT rate, with
credits, open cash days flagged, a chart by day or month and CSV. VAT is
taken out of each day's total of a rate, as on the cash day balance.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Hours on customers' billable jobs that no billing material has taken,
by job and work type up to a day, valued at the hourly rates for jobs
billed by the hour, with a chart by service unit and CSV.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Management's reports (spec 13) get their own module that reads the other
modules through ports. The first report sums hours by person in a period,
narrowed by service unit or customer, with breakdowns, a chart and CSV.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A new Notifications module shows a bell beside the profile menu with the
number of unseen notifications and a panel of the last 7 days; opening
it marks them seen, and each notification links to its job or task.
- A daily run at 14.00 (notifications:task-starts) tells the assignee
and members of tasks that start by the next working day, skipping
holidays and days off, done tasks and archived jobs.
- Jobs publishes PeopleAddedToTask and PeopleAddedToJob when someone
else makes a user a task's assignee or member or gives them a role on
a job; those users are notified at once. UpdateTask and ScheduleTask
now take the acting user.
- A notification link to #task-<id> opens that task card on the job page.
Also: simplifying job fields per service unit (K31) moves to the end of
phase 4, and the workflow template browser test waits for Livewire's
progress bar before its last accessibility check.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Everyone who may comment on a task sends images to it, e.g. photos
taken with a phone. The server stores an upright, at most 2560 px JPEG
without EXIF data (no location) and a 400 px thumbnail on the private
disk, served only to those who see the job. Uploaders change captions
(also the alt text) and remove their own images; admin and management
may remove anyone's (jobs.remove-any-task-image). Removing a task also
removes its image files.
Livewire's temporary upload limit is raised to PHP's 40 MB so that the
page's own 12 MB limit gives a translated message.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Everyone who may change a task's status (attached subcontractors too)
comments on it on the job page. Authors edit and remove their own
comments; admin and management may remove anyone's
(jobs.remove-any-task-comment). Edited comments show when they were
edited, and task cards show the number of comments.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A language picked on a signed-out page is now stored on the account when
the user signs in (StoreLocaleChosenBeforeLogin), so the app does not
switch back to the account default. EnsureAccountIsUsable keeps the user's
language for the login page when it ends a disabled account's session.
ChangePreferredLocale runs in a transaction like the other use cases, the
language names come from layout.languages instead of the Locale enum, and
the translation test also compares fi.json with en.json and rejects
English files without a Finnish counterpart.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every UI string now exists in lang/fi and lang/en; a unit test checks that
both languages have the same keys and placeholders. A user's language is
stored on the account (users.locale) and applied by the SetLocale web
middleware, falling back to the session's choice on signed-out pages and
then APP_LOCALE. Emails use the user's language through
HasLocalePreference, and the login page keeps the language after logout.
The header's name, theme toggle and logout button become one profile menu
(a disclosure) with the language buttons, light/dark/system theme radios
kept on the device, and logging out. Signed-out pages get a Suomi/English
switch next to the theme toggle.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Company details get an optional "Valikon nimi", shown at the left of the
main menu; it falls back to the application name when empty.
- A billing material gets its running number (billing_exports.number) only
when it is created, so discarded drafts leave no gaps. Drafts have no
number; existing created materials are numbered by the migration, and the
CSV file name uses the number.
- TaskAssigneeMigrationTest rolls back from its own migration onward instead
of assuming it is the last one.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- A task now has one optional assignee (tasks.assignee_user_id), whose
calendar row it is on and whose days its estimate books, and members
(task_members) who see it among their own jobs and in the weekly sheet
but get no bookings. A migration moves existing assignees over: the one
with most booked time becomes the assignee, the others members.
- Adding tasks from a workflow template asks for each step's assignee and,
by default, schedules tasks with a due date to end on it, booking the
estimate backwards from the due date (not before today); what does not
fit runs past the due date and is reported as late.
- The task calendar leaves quick sale tasks out of the unscheduled list,
shows a bar's job details in a popover on hover and focus, and shows the
day load on its own grid line.
- The template table stacks its cells on narrow screens to reflow at 320 px.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task calendar (/jobs/calendar) replaces per-unit task Kanban columns
(K34): a two-week Gantt of tasks per person. Bars move, resize and
change person by dragging or through a keyboard dialog. Each task's
estimate is booked evenly over working days into task_bookings, and
what exceeds the daily maximum (jobs.daily_capacity_hours, 8 h) moves
to the next working day. Tasks get planned_from/planned_to on the form.
Holidays (/settings/holidays): Finnish public holidays calculated per
year, which the admin can take out of use, plus company days off.
Also includes the earlier uncommitted work: workflow templates with
adding tasks from a template, and removing customers no module refers to.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Tasks get an ordered checklist (spec 8.2, phase 3): items are checked
done with who and when recorded, also by subcontractors attached to the
job; others add, rename, reorder and remove items. Items go with their
task. The spec gets a phase 3 chapter (18.1), and open questions move
to chapter 19.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The invoicing import reads whole numbers: amounts are now whole cents
(400,00 € is 40000) and the VAT rate is in tenths of a percent (10 % is
100, 25,5 % is 255). The column headings say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Management downloads a created billing material as a semicolon CSV with
decimal commas and a UTF-8 BOM for Excel: one row per invoice line with
the invoice's customer, billing unit, e-invoice details and reference,
the job, the line and its net, VAT and gross amounts. Consumers' full
personal identity codes are included only for those who may see them,
the response is not cached, and cells Excel would read as formulas are
escaped. The columns follow Fennoa's import format once a sample exists.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jobs billed by a fixed monthly fee get a monthly fee field, kept behind
the quotes permission like the quoted amount. A billing material now has
a billing month: a new draft adds every monthly fee job with something
to bill, each on an invoice of its own, and bills one line for every
unbilled month from the job's start up to the billing month (or its end
or completion), so skipped months are caught up and no month is billed
twice. Their expenses are billed alongside, their hours are covered by
the fee and marked billed, and the job keeps running.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Management builds the monthly billing material (laskuaineisto) as a
draft: done jobs are added as invoices of their own, combined when the
customer, billing unit and reference allow it, and their billable hours
are set per work type. Creating the material checks the jobs again,
marks the approved hours and billable expenses billed, forms invoice
lines with price and VAT snapshots and moves the jobs to "Lasku luotu".
Fixed price jobs bill their quoted amount once. Billed hours keep their
approval and billed expenses can no longer change. The Fennoa export
and monthly fee lines come later.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quick sales (pikamyynti) of active consumer products at the counter, in a
new Sales module:
- Product buttons add one to the sale's list per press; quantities can be
lowered, raised or removed. Payment by cash or card, optional customer.
- Product durations are booked as the seller's hours on the yearly
"Pikamyynnit" job (internal customer, not billed) through Jobs'
ProvideQuickSaleTask and TimeTracking's AddTaskHours. The sale stands
even when the hours cannot be booked, and the seller is told.
- Sales are never deleted: a credit records the lines negated on today's
cash day, once per sale, by the seller or management.
- Closing a cash day stores its balance by payment method and VAT rate and
stops sales on it; only management reopens a day.
- A printable A5 PDF receipt (barryvdh/laravel-dompdf) with the company's
details, business ID, VAT number, lines and VAT breakdown.
Company details are kept in the settings and edited by the admin only on
the new Yritystiedot page. BusinessId moves from Customers to Shared so
both use the same check.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Jobs get a budget / quoted amount (cents, VAT 0). Only users who may
see quotes see and edit it on the job form and page, and only they see
its changes in the history. Others' saves keep the stored amount: the
server decides whether the amount is set, not the browser.
- Jobs record when they were done: set when a job first reaches a status
that locks its hours, kept through the billing statuses, cleared when
management opens the lock. The billing export will use it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Time entries store who approved them and when. Approved hours are
locked: cells, task page edits and removals are refused.
- "Hyväksy viikko" in the weekly view approves the user's own week;
subcontractors' hours are approved by management.
- Management gets an approval page (unapproved weeks by person, recently
approved weeks) and can open anyone's week read-only to approve it or
cancel its approval, which only management may do.
- Only management may move a done job back to an earlier status, which
opens the lock on its hours and expenses; the history marks it.
- The Clock contract gets now() for approval times.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- New Expenses module: purchases (materials, other) with a description
and cost, and mileage priced with the price list's mileage rate.
- Who paid and whether the expense is billed are separate: an employee's
own payments are reimbursed elsewhere. A billed expense has a markup
and a billed amount, cost plus markup unless given.
- A job's expenses page lists, adds, edits and removes them; amounts of
others' expenses need the expenses permission, own ones always show.
Done jobs lock their expenses.
- The Kulut menu shows the user's own expenses by month. Management
records subcontractors' expenses, which they see but cannot change.
- The price list gets a default markup for new purchases.
- Number fields that update a calculation now use wire:model.live.blur:
in Livewire 4 plain .blur no longer sends the value to the server,
which also fixes the product form's VAT calculation.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Admins give employees and interns personal money permissions (prices,
expenses, quotes, billing) on the user form. Other modules check them
through the money.* abilities; admins and management see all amounts,
subcontractors none.
- Employees and interns get a read-only price list: consumer products
with VAT always, hourly rates, other products and the mileage rate only
with the price permission. Subcontractors cannot open it.
- VAT rates are maintained on the price list page, with one default rate
that always stays in use. Products get a VAT rate; changing a rate's
percentage applies to every product using it.
- Consumer product prices are entered and stored with VAT, so cash prices
stay round; the price without VAT is calculated. The product form shows
the other price as you type.
- Shared VatPercentage value object and Money::addVat()/removeVat(),
rounding half up to the cent in integer arithmetic.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Work types get an hourly rate (VAT 0), set on the work type form or in
the hourly rate grid of the new Hinnasto page (/catalog/prices), which
saves a cell when focus leaves it.
- Fixed-price products with a unit from a list, consumer product flag and
automatic hours, which need a work type. Products are moved and
deactivated, never deleted.
- The mileage rate is stored in a new settings table through the shared
Settings contract.
- Shared Money value object keeps amounts in cents, parses "85,50" and
formats "85,50 €".
- Prices are read only through PriceListQueries, not CatalogQueries, so
personal money permissions can be added in one place next.
- Only admins and management can open the pages for now.
Co-Authored-By: Claude Opus 5.5 <[email protected]>