summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.2.2.4.2.xml
diff options
context:
space:
mode:
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