summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.2.1.3.xml
diff options
context:
space:
mode:
authordeva <deva>2009-02-25 09:51:44 +0000
committerdeva <deva>2009-02-25 09:51:44 +0000
commit3d5f3c8715fb2b01595a5891a7cf9102beaad3bc (patch)
tree9078206c2497cd4668ddb35d3fd783607d03b7d9 /server/xml/macros/B.2.1.3.xml
parentf35cc4e3cdef7765f96a3713908b28cf0a3233cd (diff)
Fix of date string formatting.
Diffstat (limited to 'server/xml/macros/B.2.1.3.xml')
-rw-r--r--server/xml/macros/B.2.1.3.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/xml/macros/B.2.1.3.xml b/server/xml/macros/B.2.1.3.xml
index 6d3d29c..cd2f356 100644
--- a/server/xml/macros/B.2.1.3.xml
+++ b/server/xml/macros/B.2.1.3.xml
@@ -40,7 +40,7 @@ ${current_eye_disease}</resume>
identifier = ''
suffix = ''
- if(num == 0 and days == 0)
+ if(num == 0 and math.floor(math.abs(days)) = 0)
then
num = 0
identifier = 'dag'
@@ -85,7 +85,7 @@ ${current_eye_disease}</resume>
.. getValue('observeret') .. ' igennem ' .. num .. ' '
.. identifier .. suffix .. '. Symptomerne er opstået '
.. getValue('when') .. ' og er efterfølgende '
- ..getValue('then')
+ ..getValue('then') .. '.'
">
<frame layout="vbox">
@@ -130,7 +130,7 @@ ${current_eye_disease}</resume>
<frame layout="vbox">
<label caption="Efterfølgende:"/>
<combobox name="then" value="UÆNDREDE">
- <item caption="Uændret" value="uændret."/>
+ <item caption="Uændret" value="UÆNDREDE"/>
<item caption="Forværret" value="FORVÆRRET"/>
<item caption="Forbedret" value="FORBEDRET"/>
</combobox>