summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.2.2.4.2.xml
diff options
context:
space:
mode:
authordeva <deva>2009-03-02 07:52:10 +0000
committerdeva <deva>2009-03-02 07:52:10 +0000
commitdf88d843e13bcd3da067b882d91fc4c02365a1af (patch)
tree99d848a78cdd95aa1413f21066340e90451539de /server/xml/macros/B.2.2.4.2.xml
parent4c61472e47253bb21a7196d5bbe727ed91d72b08 (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.xml25
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