access attribute directly
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3602 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									8a3d934f53
								
							
						
					
					
						commit
						a5ce14adb3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -113,7 +113,8 @@ class BaseView(SchemaBaseView): | ||||||
|     def getCost(self, service=None): |     def getCost(self, service=None): | ||||||
|         if service is None: |         if service is None: | ||||||
|             service = self.context |             service = self.context | ||||||
|         value = service.getCost() |         #value = service.getCost() | ||||||
|  |         value = service.cost | ||||||
|         if value: |         if value: | ||||||
|             return ('%.2f Euro' % float(value)).replace('.', ',') |             return ('%.2f Euro' % float(value)).replace('.', ',') | ||||||
|         return u'' |         return u'' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm