Skip to content

Changes

Started by timer
Started 29 days ago
Took 1 min 4 sec on built-in

Summary

  1. Orders: admin-only commission reset in More actions with DHL/Sendcloud label cancel (details)
  2. Label reprint: fetch every parcel of a multi-parcel DHL shipment and always use the current shipment numbers (details)
  3. Dashboard SameDay card: shorter title with tooltip and mission-clock countdown (details)
  4. Commissioning: highlight the merchant's pick product identifier on the position cards (details)
  5. Mobile: drop the leads card from the dashboard; Advanced generate-shipments gets the desktop parameters (details)
Commit 172773d1724306ef4c1a90819b692f41bd24d400 by info
Orders: admin-only commission reset in More actions with DHL/Sendcloud label cancel

Adds POST /api/inouts/{id}/reset-commission (IsClientAdministrator only) that clears tracking,
carrier codes, label PDFs, commissioned flags, shipping date/service, parcel allocation and the
commission-table link so a shipment can be commissioned again. DHL labels are cancelled via the
orders DELETE (custom OrderSource account honoured), Sendcloud parcels via cancel; DPD has no
cancel API and is reported as such. Confirmation dialog + translations (en/de/es/ne).
The file was modifiedapp/pages/sales/orders/[id]/edit.vue (diff)
The file was modified.claude/rules/fulfillment/commissioning.md (diff)
The file was modifiedapp/assets/langs/shared.js (diff)
The file was addedserver/api/inouts/[id]/reset-commission.post.ts
Commit 84791046441a4ddfeeb8c461008202a0b780c30f by info
Label reprint: fetch every parcel of a multi-parcel DHL shipment and always use the current shipment numbers

DHL_Shipment_Code stores all numbers comma-joined; the reprint sent them as a single
shipment param and only read the first item, so multi-parcel reprints lost every
additional label. The GET route now splits the codes (one param each), prefers the
numbers stored on the record via inout_id (the keep-alive'd order edit page could
otherwise reprint the pre-reset label) and honours a custom OrderSource DHL account.
The modal merges the labels for preview/download and prints one job per label; the
edit page refreshes the shipment's label fields before opening the reprint.
The file was modified.claude/rules/fulfillment/commissioning.md (diff)
The file was modifiedapp/assets/langs/shared.js (diff)
The file was modifiedserver/api/commission/parcels/dhl/index.get.ts (diff)
The file was modifiedapp/components/integrations/CommissionDHLLabel.vue (diff)
The file was modifiedapp/pages/sales/orders/[id]/edit.vue (diff)
The file was modifiedapp/components/integrations/CommissionDPDLabel.vue (diff)
Commit aa0d64df566d0c808cd43c7883146b0eb2f9a415 by info
Dashboard SameDay card: shorter title with tooltip and mission-clock countdown

- Card title "SameDay Versand" → "SameDay"; hovering the title explains
  the card (orders that must ship today before the counter runs out).
- The inline "due until 14:03 · 2 h 10 min" label is replaced by a
  NASA-style mission clock (T-HH:MM:SS, ticking every second, T+ in red
  when overdue); the former label is shown as its hover text.
- New translation key dash_prime_title_tip (en/de/es).
The file was modifiedapp/assets/langs/shared.js (diff)
The file was modifiedapp/pages/index.vue (diff)
Commit abe2149f4eff2142e92943d3123a58e825b4a155 by info
Commissioning: highlight the merchant's pick product identifier on the position cards

- New GET /api/commission/pick-identifier/:orgId returns the org partner's
  C_BPartner.PickProductIdentifier via the cached pickIdentifier util.
- The desktop commission page loads it per shipment (fail-soft) and marks
  the matching code (Value/SKU/EAN/MPN/ASIN) on every open-position card:
  orange framed, bold, listed first, with a scan icon and tooltip. Nothing
  is highlighted when the partner has no setting.
- Product-code scans now also match the ASIN.
The file was addedserver/api/commission/pick-identifier/[orgId].get.ts
The file was modifiedapp/pages/integrations/commission.vue (diff)
Commit 99b18c4be0216eb1f6269dcb5942cc45f8604611 by info
Mobile: drop the leads card from the dashboard; Advanced generate-shipments gets the desktop parameters

- /mobile: the 'Neueste Leads' card and its feed are removed again.
- /mobile/generate-shipments Advanced tab now mirrors the desktop panel:
  shipment / promised dates, document action (Complete / Prepare), the
  shipper filter with logo chips (select all / clear, queue-driven with the
  shipperIds parameter), and the process options (unconfirmed shipments,
  one document, subtract in-progress, run as job). Start is blocked while
  the shipper filter is on with no shipper picked; the sequential progress
  line shows the shipper.
The file was modifiedapp/pages/mobile/index.vue (diff)
The file was modifiedapp/pages/mobile/generate-shipments.vue (diff)