public function store(StoreOrder $request): OrderSingleResource 	{ 		$order = Order::create([ 			'tax_percent' => setting('tax'), 			'customer_id' => getUser()?->user->getKey(), 			'name' => $request->name, 			'email' => $request->email, 			'phone' => $request->phone, 			'company_name' => $request->company_name, 			'vat' => $request->vat, 			'note' => $request->note, 			'delivery_address' => $request->delivery_address, 			'delivery_city' => $request->delivery_city, 			'delivery_zip_code' => $request->delivery_zip_code, 			'delivery_country' => $request->delivery_country, 			'billing_address' => $request->billing_address ?? $request->delivery_address, 			'billing_city' => $request->billing_city ?? $request->delivery_city, 			'billing_zip_code' => $request->billing_zip_code ?? $request->delivery_zip_code, 			'billing_country' => $request->billing_country ?? $request->delivery_country, 		]);  		foreach ($request->products as $product) { 			$productModel = Product::with('item')->findOrFail($product['product_id']);  			$order->products()->create([ 				'product_id' => $productModel->getKey(), 				'price' => $productModel->getPrice(), 				'quantity' => $product['quantity'], 			]); 		}  		$order->recalculate();  		return new OrderSingleResource($order->fresh()->loadIncludes()); 	}