Skip to content

Changes

Started by timer
Started 18 days ago
Took 59 sec on built-in

Summary

  1. show last completed tickets first (details)
  2. tune lead offer (details)
  3. add ebay and amazon bestellabgleich tuning (details)
  4. fix build (details)
  5. Amazon reconciliation: confirm-once "add missing product to price list" flow (details)
  6. Amazon import modal: price list override + IsDefault pre-selection (details)
  7. fix: TDZ crash in amazon-orders-check - production 500 on page load (details)
Commit 90425d1d1ade5b97ec4353688c7a7f25ca6a6682 by info
show last completed tickets first
The file was modifiedapp/pages/requests/my-tickets/index.vue (diff)
The file was modifiedserver/utils/offers/offerConditions.ts (diff)
The file was modifiedapp/assets/langs/shared.js (diff)
The file was modifiedapp/components/offers/QuoteModal.vue (diff)
The file was modifiedapp/composables/useOfferQuote.ts (diff)
The file was modifiedserver/utils/offers/quotePdf.ts (diff)
Commit ecd0ed23199ce87c71079ae3a91df01da157b3a8 by info
add ebay and amazon bestellabgleich tuning
The file was modifiedapp/pages/accounting/ebay-orders-check.vue (diff)
The file was modifiedapp/components/AgGrid/Accounting/AgDocPreviewLink.vue (diff)
The file was modifiedserver/api/accounting/amazon/orders-check.get.ts (diff)
The file was modifiedapp/components/settings/BankConnectionForm.vue (diff)
The file was addedserver/api/accounting/amazon/import-order.post.ts
The file was modifiedserver/api/accounting/ebay/orders-check.get.ts (diff)
The file was modifiedapp/components/BaseSideBar.vue (diff)
The file was modifiedapp/pages/accounting/amazon-orders-check.vue (diff)
The file was addedserver/api/accounting/ebay/import-order.post.ts
The file was modifiedapp/pages/accounting/amazon-orders-check.vue (diff)
The file was modifiedapp/pages/accounting/ebay-orders-check.vue (diff)
Commit f66dfdcda4644e8b94fca5e03f39972af554ac15 by info
Amazon reconciliation: confirm-once "add missing product to price list" flow

The manual import endpoint now returns errorType=product_not_on_pricelist
with the resolved productId and a suggested price when Amazon's own line
item is unambiguous (single-line orders) - this wires that into the import
modal:

- Upfront checkbox: auto-add using Amazon's line price and retry
  immediately, no per-order interruption, for the common case of a
  currently-valid price list just missing one product.
- Per-row fallback (checkbox off, or price ambiguous/missing): an inline
  price field + "add to price list & reimport" button on the failed row,
  confirmed once per distinct failure rather than needing to redo the
  whole batch.

The proxy previously discarded every field but message/status on failure -
now passes errorType/productId/suggestedPrice/etc. through so the page can
act on them, and forwards the new priceListAdditions option through to
Laravel.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTy674ErXSPZ8spJ6HMhE6
The file was modifiedserver/api/accounting/amazon/import-order.post.ts (diff)
The file was modifiedapp/pages/accounting/amazon-orders-check.vue (diff)
Commit c4646d3320dcb64ed134fe6fe856ff511084e83b by info
Amazon import modal: price list override + IsDefault pre-selection

Adds a fourth "Preisliste" selector (filtered to IsSOPriceList) alongside
doc type/delivery rule/invoice rule, wired to the new priceListId option -
lets staff choose which price list an import (and any "add missing
product" action) actually targets, instead of always the order source's
own.

Also pre-selects the first IsDefault=true record for doc type targets and
price lists when their options load (or immediately on reopen if already
cached), rather than always starting on "— Standard —".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTy674ErXSPZ8spJ6HMhE6
The file was modifiedapp/pages/accounting/amazon-orders-check.vue (diff)
Commit b29d6c633206895521e31689ae3ce9c7a1b69a8c by info
fix: TDZ crash in amazon-orders-check - production 500 on page load

importDefaultFieldFor was an object literal reading importDocTypeTargetId/
importPriceListId at definition time, but declared above those refs in the
file - eager evaluation hit them before their own `const` initializers ran
("can't access lexical declaration before initialization", confirmed via
Sentry). Moved the field lookup inside applyImportDefault's function body,
which only runs when called (well after all top-level consts exist),
regardless of declaration order in the file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTy674ErXSPZ8spJ6HMhE6
The file was modifiedapp/pages/accounting/amazon-orders-check.vue (diff)