Add quick job intake for phones

Phase 1, item 5:
- New page /jobs/quick (Pikavastaanotto): customer (search or quick
  add), name, short description, service unit, responsible person and
  starting status (Alustava or Prospekti) in one column. The job is
  created with CreateCustomerJob, so numbering, reference checks and
  history are the same as on the full form.
- After saving, the form clears for the next job (responsible person
  and status stay), and a status message with the job number and links
  to the job and its edit page takes focus.
- The customer search of the job form moves to a PicksCustomer trait and
  an <x-jobs.customer-picker> component shared by both pages.
- Menu link and a list button for users who may open jobs; nav items
  accept several route patterns.
- PHPStan ignores unused-trait only for Livewire Concerns, which are
  used from excluded single-file components.
- Spec and CLAUDE.md updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-23 19:07:25 +02:00
co-authored by Claude Opus 5.5
parent 70e107f6e2
commit b3d8e66477
16 changed files with 627 additions and 151 deletions
+5
View File
@@ -8,3 +8,8 @@ parameters:
excludePaths:
# Livewire single-file components mix PHP and Blade, so PHPStan cannot analyse them.
- app/**/*.blade.php
ignoreErrors:
# Traits for Livewire single-file components are used only by the excluded .blade.php files.
-
identifier: trait.unused
path: app/Modules/*/Presentation/Livewire/Concerns/*