24 lines
654 B
PHP
24 lines
654 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace Modules\Core\Order\Events;
|
||
|
|
|
||
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
||
|
|
use Lunar\Models\Order;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Dispatched by Modules\Core\Shipping\Extensions\OrderViewExtension's
|
||
|
|
* "Mark Ready" action, carrier branch (Order::isStorePickupOrder() ===
|
||
|
|
* false) — staff has packed/staged the order for carrier handoff.
|
||
|
|
* Staff-internal: nothing customer-facing happens at this moment, so no
|
||
|
|
* notification listens to this event (compare OrderReadyForPickup, which
|
||
|
|
* does trigger a customer email).
|
||
|
|
*/
|
||
|
|
class OrderReadyForDispatch
|
||
|
|
{
|
||
|
|
use Dispatchable;
|
||
|
|
|
||
|
|
public function __construct(
|
||
|
|
public readonly Order $order,
|
||
|
|
) {}
|
||
|
|
}
|