summaryrefslogtreecommitdiff
path: root/server/xml/macros/egen_brille-1.0.xml
diff options
context:
space:
mode:
authorsenator <senator>2009-10-13 11:00:49 +0000
committersenator <senator>2009-10-13 11:00:49 +0000
commite51af58093988ea86070e6b6cd8f3c65d835c085 (patch)
treea90da1aaca4be04f55afd78b91f0218efbb30974 /server/xml/macros/egen_brille-1.0.xml
parentbdb136f7c2b0c5cfebac943d668cff53e7a136a9 (diff)
all visus macros fixed. all files containing tremaaneder moved to efterkontrol. several other smaller fixes applied to various.
Diffstat (limited to 'server/xml/macros/egen_brille-1.0.xml')
-rw-r--r--server/xml/macros/egen_brille-1.0.xml16
1 files changed, 4 insertions, 12 deletions
diff --git a/server/xml/macros/egen_brille-1.0.xml b/server/xml/macros/egen_brille-1.0.xml
index fef3a1e..a917dff 100644
--- a/server/xml/macros/egen_brille-1.0.xml
+++ b/server/xml/macros/egen_brille-1.0.xml
@@ -1,16 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
-<!--
- 20081203: Bent Bisballe Nyeng
- Feltnavnene ændret så de giver mening.
- -->
-<!--
- 20090108: Bent Bisballe Nyeng
- Højre/venstre byttet om.
- -->
-<!--
- 20090202: Bent Bisballe Nyeng
- 'missing eye' tilføjet.
- -->
<macro name="egen_brille" version="1.0">
<resume language="lua">
out = ''
@@ -19,6 +7,10 @@
out = out .. 'Egen brille højre øje: ' .. getValue('lensmeter.right.sf')
.. ' sf, ' .. getValue('lensmeter.right.cyl') .. ' cyl '
.. getValue('lensmeter.right.grader') .. ' grader.'
+ if ( getValue('lensmeter.left.missing') == '' )
+ then
+ out = out .. '\n'
+ end
end
if ( getValue('lensmeter.left.missing') == '' )