fix
This commit is contained in:
1 parent
505b9d73d5
commit
f0e6331630
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ class InventoryTransaction(models.Model):
|
|||||||
return self.amount * self.unit_price
|
return self.amount * self.unit_price
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "{}: {}: {}. {} stykker ({} kr per)".format(
|
return "{}: {}: {}. {:.0f} stykker ({} kr per)".format(
|
||||||
self.id,
|
self.id,
|
||||||
self.user,
|
self.user,
|
||||||
self.product,
|
self.product,
|
||||||
|
|||||||
Reference in new issue
Block a user