Unit fixes

This commit is contained in:
Oliver Walters 2021-02-04 16:06:01 +11:00
parent 6ebebe03d4
commit 0de284f1aa
2 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,6 @@ class ReportBase(models.Model):
def __str__(self):
return "{n} - {d}".format(n=self.name, d=self.description)
def getSubdir(self):
return ''

View File

@ -3,8 +3,12 @@
<head>
<style>
@page {
{% block page_size %}
size: A4;
{% endblock %}
{% block page_margin %}
margin: 2cm;
{% endblock %}
font-family: Arial, Helvetica, sans-serif;
font-size: 75%;
@ -50,8 +54,8 @@
left: 0px;
position: fixed;
width: 100%;
{% endblock %}
margin-top: -2.5cm;
{% endblock %}
}
.content {