public static function namaAroma($parfum_id) { $aroma = Parfum::find($parfum_id); if (!$aroma) { return $parfum_id; } return $aroma->nama; }