Feat: Correctly displaying Manual VOucher Edit Button
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user