public function updating(Order $order): void 	{ 		if ($order->status == Order::STATUS_PAID) { 			if (!$order->order_number) { 				$order->order_number = $order->createOrderNumber();	// if order was in status offer-sent and it was changed to status paid throuhgh cms 			}  			if ($order->getOriginal('status') == Order::STATUS_OFFER_SENT) { // if order was in status offer-sent and it was changed to status paid throuhgh cms 				InformBuyerPaymentHasBeenRecieved::dispatch($order); 				// CreateOrderInErp::dispatch($order); 			} 		}  		if ($order->ready_for_pickup && !$order->getOriginal('ready_for_pickup')) { 			$order->notify(new OrderIsReadyForPickup($order, new OrderLocaleChecker)); 		} 	}