diff options
Diffstat (limited to 'server/xml/macros/B.2.2.1.xml')
-rw-r--r-- | server/xml/macros/B.2.2.1.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/server/xml/macros/B.2.2.1.xml b/server/xml/macros/B.2.2.1.xml index f0445d7..019d00e 100644 --- a/server/xml/macros/B.2.2.1.xml +++ b/server/xml/macros/B.2.2.1.xml @@ -16,14 +16,18 @@ out = '' if ( getValue('snellen.right.missing') == '' or getValue('snellen.left.missing') == '' ) then - out = out ..' Snellen ETDRS\n' + out = out .. 'Objektivt:\n' + if ( getValue('snellen.right.missing') == '' ) then - out = out..'Syn højre øje: '..getValue('snellen.right')..' '..getValue('etdrs.right')..'\n' + out = out .. 'VISUS O.DXT. ' .. getValue('snellen.right') .. '\n' + out = out .. 'ETDRS O.DXT. ' .. getValue('etdrs.right') .. '\n' end + if ( getValue('snellen.left.missing') == '' ) then - out = out..'Syn venstre øje: '..getValue('snellen.left')..' '..getValue('etdrs.left')..'\n' + out = out .. 'VISUS O.SIN. ' .. getValue('snellen.left') .. '\n' + out = out .. 'ETDRS O.SIN. ' .. getValue('etdrs.left') .. '\n' end end return out |