mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Unit fixes
This commit is contained in:
parent
6ebebe03d4
commit
0de284f1aa
@ -86,7 +86,6 @@ class ReportBase(models.Model):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "{n} - {d}".format(n=self.name, d=self.description)
|
return "{n} - {d}".format(n=self.name, d=self.description)
|
||||||
|
|
||||||
|
|
||||||
def getSubdir(self):
|
def getSubdir(self):
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
@ -3,8 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
@page {
|
@page {
|
||||||
|
{% block page_size %}
|
||||||
size: A4;
|
size: A4;
|
||||||
|
{% endblock %}
|
||||||
|
{% block page_margin %}
|
||||||
margin: 2cm;
|
margin: 2cm;
|
||||||
|
{% endblock %}
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
|
|
||||||
@ -50,8 +54,8 @@
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
{% endblock %}
|
|
||||||
margin-top: -2.5cm;
|
margin-top: -2.5cm;
|
||||||
|
{% endblock %}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
Loading…
Reference in New Issue
Block a user