Feat: Correctly displaying Manual VOucher Edit Button

This commit is contained in:
arvanitakis committed 2026-09-30 21:30:13 +03:00
1 parent 162827dff7
commit 3020bd070c
6 files changed
+18 -12

No files matched your search

@@ -57,7 +57,7 @@ class OrderDispatchedNotification extends BaseNotification
'reference' => $reference,
// Active, numbered, non-return shipments: the voucher numbers
// to show, plus the courier's link for manual carriers
// (Shipment::trackingUrl()). Integrated carriers' history is
// and typed-in vouchers (Shipment::trackingUrl()). API-created shipments' history is
// on the customer's order page.
'shipments' => $order->shipments()->get()
->reject(fn (Shipment $shipment) => $shipment->isCancelled() || $shipment->isReturn() || blank($shipment->tracking_reference))