Files
twotalesanimation 22dfb12948 fix: Add height parameter to OrderPacked event
Added height to the OrderPacked event constructor and dispatch call to match
the packing form which captures width, length, height, and weight.
2026-01-02 21:25:05 +02:00

23 lines
435 B
PHP

<?php
namespace App\Events;
use App\Models\Order;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class OrderPacked
{
use Dispatchable, SerializesModels;
public function __construct(
public Order $order,
public float $width,
public float $length,
public float $height,
public float $weight,
public ?int $packedBy = null,
) {
}
}