This commit is contained in:
2026-03-09 17:50:26 +01:00
parent 96aab15a7a
commit 1dc69008d8
4 changed files with 203 additions and 143 deletions

View File

@@ -312,7 +312,7 @@ class Purchase(metaclass=PoolMeta):
if self.lines[0].price_type == 'priced':
return amount_to_currency_words(self.lines[0].unit_price)
elif self.lines[0].price_type == 'basis':
return amount_to_currency_words(self.lines[0].unit_price) + ' ' + self.lines[0].get_pricing_text()
return amount_to_currency_words(self.lines[0].unit_price)
else:
return ''