Skip to content

Changes

Started by timer
Started 1 mo 1 day ago
Took 1 min 4 sec on built-in

Summary

  1. SameDay Versand: weekend-aware 14:03 cutoff, rename card and partner flag (details)
  2. SameDay Versand: order summary popup, missing-stock list, per-order due times (details)
Commit 5b55a953155add406dc9fe415c75bb9579a9aca0 by info
SameDay Versand: weekend-aware 14:03 cutoff, rename card and partner flag

- Sat/Sun are no business days: on a weekend the cutoff stays at Friday
  14:03, so orders from Friday after 14:03, Saturday and Sunday are due
  Monday 14:03 (endpoint returns cutoffAt; client countdown uses it)
- Dashboard card and partner toggle are now called 'SameDay Versand'
  (column stays C_BPartner.isPrime)
The file was modifiedapp/components/partners/PartnerForm.vue (diff)
The file was modifiedapp/assets/langs/shared.js (diff)
The file was modifiedapp/pages/index.vue (diff)
The file was modifiedserver/api/dashboard/prime-due-today.get.ts (diff)
Commit 24a1ab9aa14d1095660902f1528703fb82b3b79e by info
SameDay Versand: order summary popup, missing-stock list, per-order due times

- Click on a row opens an order summary modal (header, address, shipment
  state, positions with thumbnail, qty, on-hand stock and missing qty) with
  a link to /edit/sales-order-<id> in a new tab
  (server/api/dashboard/sameday-order/[id].get.ts)
- Card lists due orders that are not fulfillable (missing on-hand qty)
  in a separate section
- Every order gets its own due time (weekday until 14:03 -> same day,
  otherwise next weekday 14:03); on a weekend the card counts down to
  Monday 14:03 and includes the weekend orders, Friday leftovers stay red
The file was modifiedapp/pages/index.vue (diff)
The file was addedapp/components/dashboard/SameDayOrderModal.vue
The file was addedserver/api/dashboard/sameday-order/[id].get.ts
The file was modifiedserver/api/dashboard/prime-due-today.get.ts (diff)
The file was modifiedapp/assets/langs/shared.js (diff)