customer->email)->send($mail); } public static function sendPreparation($orderId) { $order = Orders::get($orderId, ['customer', 'address']); $mail = new Preparation($order); return Mail::to($order->customer->email)->send($mail); } public static function sendShipping($orderId) { $order = Orders::get($orderId, ['customer', 'address']); $mail = new Acheminement($order); return Mail::to($order->customer->email)->send($mail); } }