diff --git a/server/src/uds/core/managers/stats.py b/server/src/uds/core/managers/stats.py index 91490f49..20012d9c 100644 --- a/server/src/uds/core/managers/stats.py +++ b/server/src/uds/core/managers/stats.py @@ -214,11 +214,12 @@ class StatsManager(metaclass=singleton.Singleton): try: def getKwarg(fld: str) -> str: - val = None - for i in FLDS_EQUIV[fld]: - val = kwargs.get(i) - if val is not None: - break + val = kwargs.get(fld) + if val is None: + for i in FLDS_EQUIV[fld]: + val = kwargs.get(i) + if val is not None: + break return val or '' fld1 = getKwarg('fld1') diff --git a/server/src/uds/core/reports/css/report.css b/server/src/uds/core/reports/css/report.css index 8b1652d5..4509c4f8 100644 --- a/server/src/uds/core/reports/css/report.css +++ b/server/src/uds/core/reports/css/report.css @@ -17,13 +17,13 @@ @bottom-right { content: '{printed}' } - @left-top { + /*@left-top { content: "{water}"; font: .5cm/1.5 Fontin Sans; background: #557891; color: #fff; text-align: right; padding-right: 2em; height: 1.5em; width: 10cm; transform-origin: 100% 0; transform: rotate(-90deg); - } + }*/ } body { text-align: justify;