mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
ch.eick: Output of DbRep reports in uiTable cleaned
git-svn-id: https://svn.fhem.de/fhem/trunk@28597 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
253f2b9f02
commit
2d9cb2b2ea
@ -317,8 +317,8 @@ sub WR_ctl_Format {\
|
|||||||
$QuarterPrevious = "Q".$loop \
|
$QuarterPrevious = "Q".$loop \
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
if ($period eq "_Qx") {\
|
if ($period eq "_Qx" and $QuarterPrevious ne "null") {\
|
||||||
return $QuarterPrevious;;\
|
return $QuarterPrevious;;\
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
@ -400,7 +400,7 @@ sub WR_ctl_Format {\
|
|||||||
$value .= ($YearPrevious ne "null") ? sprintf(" / %05d", ::ReadingsVal($YearBefore,$reading.$period,0) ) : "";;\
|
$value .= ($YearPrevious ne "null") ? sprintf(" / %05d", ::ReadingsVal($YearBefore,$reading.$period,0) ) : "";;\
|
||||||
return $value;;\
|
return $value;;\
|
||||||
}\
|
}\
|
||||||
return " / null";;\
|
return ;;\
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
|
Loading…
Reference in New Issue
Block a user