mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 20:33:11 +00:00
[Printer] remove useless import
This commit is contained in:
parent
51df34b7ce
commit
8620581e5c
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue