mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 20:33:11 +00:00
[Printer] Fix _compute_price
This commit is contained in:
parent
8620581e5c
commit
f1c9d8d066
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class JobWithOptions(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model
|
||||||
|
|
||||||
price_ink = price_paper*sheets + PRICES[self.color]*pages
|
price_ink = price_paper*sheets + PRICES[self.color]*pages
|
||||||
|
|
||||||
if self.stapling:
|
if self.stapling != 'None':
|
||||||
nb_staples = 2 - int('Top' in self.stapling)
|
nb_staples = 2 - int('Top' in self.stapling)
|
||||||
|
|
||||||
price_stapling = nb_staples * PRICES['Staples']
|
price_stapling = nb_staples * PRICES['Staples']
|
||||||
|
|
Loading…
Reference in a new issue