Show
Ignore:
Timestamp:
12-05-11 15:46:03 (3 years ago)
Author:
s.h.sikkema@…
Message:

removed obsolete UI references to Excel. Fixed study data numbers not being able to print as european numbers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/studycapturing/AssayService.groovy

    r1830 r1841  
    2121import java.text.DecimalFormat 
    2222import java.text.NumberFormat 
     23import org.dbnp.gdt.Template 
     24import org.dbnp.gdt.TemplateField 
    2325 
    2426class AssayService { 
     
    9092 
    9193                        val = it.getFieldValue(headerField.name) 
    92                          
     94 
    9395                        // Convert RelTime fields to human readable strings 
    9496                        field = it.getField(headerField.name) 
     
    98100                    } catch (NoSuchFieldException e) { /* pass */ } 
    99101 
    100                     val.toString()}] 
     102                    (val instanceof Number) ? val : val.toString()}] 
    101103                        } 
    102104                } 
     
    625627                } 
    626628        } 
    627  
    628629}