diff options
author | deva <deva> | 2009-03-02 07:52:10 +0000 |
---|---|---|
committer | deva <deva> | 2009-03-02 07:52:10 +0000 |
commit | df88d843e13bcd3da067b882d91fc4c02365a1af (patch) | |
tree | 99d848a78cdd95aa1413f21066340e90451539de /server/xml/macros/B.2.2.4.2.xml | |
parent | 4c61472e47253bb21a7196d5bbe727ed91d72b08 (diff) |
Macro fix
Diffstat (limited to 'server/xml/macros/B.2.2.4.2.xml')
-rw-r--r-- | server/xml/macros/B.2.2.4.2.xml | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/server/xml/macros/B.2.2.4.2.xml b/server/xml/macros/B.2.2.4.2.xml index 3980234..d4735c0 100644 --- a/server/xml/macros/B.2.2.4.2.xml +++ b/server/xml/macros/B.2.2.4.2.xml @@ -14,17 +14,22 @@ <macro name="B.2.2.4.2" version="1.0"> <resume language="lua"> out = '' - if ( getValue('oct.right.missing') == '' ) - then - out = out .. 'Central nethindetykkelse, højre: ' .. getValue('oct.right.thickness') - .. ' µm, ' .. getValue('oct.right.description') .. '.\n' - end + if ( getValue('oct.right.missing') == '' or getValue('oct.left.missing') == '' ) + then + out = out .. 'Central nethindetykkelse:\n' - if ( getValue('oct.left.missing') == '' ) - then - out = out .. 'Central nethindetykkelse, venstre: ' .. getValue('oct.left.thickness') - .. ' µm, ' .. getValue('oct.left.description') .. '.\n' - end + if ( getValue('oct.right.missing') == '' ) + then + out = out .. 'OCT o.dxt ' .. getValue('oct.right.thickness') .. ' µm ' + .. getValue('oct.right.description') .. '.\n' + end + + if ( getValue('oct.left.missing') == '' ) + then + out = out .. 'OCT o.sin ' .. getValue('oct.left.thickness') .. ' µm ' + .. getValue('oct.left.description') .. '.\n' + end + end if ( getValue('oct.comments') ~= '' ) then |