8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-08-19 21:53:41 +00:00

[Printer] remove useless import

This commit is contained in:
Maxime Bombar 2018-12-03 03:56:41 +01:00 committed by root
parent 51df34b7ce
commit 8620581e5c

View file

@ -41,7 +41,6 @@ from .settings import (
)
import math
"""
- ```user_printing_path``` is a function that returns the path of the uploaded file, used with the FileField.
@ -255,7 +254,7 @@ class JobWithOptions(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model
price_stapling = nb_staples * PRICES['Staples']
total_price = math.floor(self.count * (price_ink + price_stapling))
total_price = self.count * (price_ink + price_stapling)
return total_price/100