client-barcode: No longer mention absense of deposit for items how never have deposit
This commit is contained in:
parent
35989b3e04
commit
7a70f06bbb
|
@ -55,7 +55,7 @@ class BuyCommand(object):
|
||||||
return self._item.name
|
return self._item.name
|
||||||
|
|
||||||
def commodity_label(self):
|
def commodity_label(self):
|
||||||
if self._deposit:
|
if self._deposit or self.deposit_value() <= 0:
|
||||||
return self._item.name
|
return self._item.name
|
||||||
else:
|
else:
|
||||||
return "%s (exkl. Pfand)" % self._item.name
|
return "%s (exkl. Pfand)" % self._item.name
|
||||||
|
|
Loading…
Reference in New Issue