public function toArray($request): array 	{ 		$this->loadMissing('orderProducts.product');  		return [ 			'id' => $this->id, 			'customer_name' => $this->name, 			'customer_email' => $this->email, 			'status' => $this->status->name, 			'total_weight' => $this->total_weight, 			'calculation' => [ 				'price_without_pdv' => $this->price_without_pdv, 				'price_with_pdv' => $this->price_with_pdv, 				'pdv_cost' => $this->pdv_cost, 				'shipping_cost' => $this->shipping_cost, 				'final_price' => $this->final_price, 				'secondary_currency' => [ 					'price_without_pdv' => CurrencyConverterService::convertEURToKN($this->price_without_pdv), 					'price_with_pdv' => CurrencyConverterService::convertEURToKN($this->price_with_pdv), 					'pdv_cost' => CurrencyConverterService::convertEURToKN($this->pdv_cost), 					'shipping_cost' => CurrencyConverterService::convertEURToKN($this->shipping_cost), 					'final_price' => CurrencyConverterService::convertEURToKN($this->final_price), 					'currency' => 'KN', 				], 			], 			'currency' => $this->currency->name, 			'shipping_provider' => $this->shipping_provider->name, 			'shipment' => new ShipmentResource($this->shipment), 			'order_items' => OrderItemResource::collection($this->orderProducts), 			'delivery_address' => $this->delivery_address, 			'invoice_address' => $this->invoice_address, 			'r1' => $this->r1, 			'company_name' => $this->company_name, 			'company_oib' => $this->company_oib, 			'company_address' => $this->company_address, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}