Bernd Wurst commited on 2024-06-17 11:14:33
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
... | ... |
@@ -520,9 +520,9 @@ class PDF(object): |
520 | 520 |
summaries.append(('Nettobetrag:', _formatPrice(part.sum - (part.sum / (vat + 1)) * vat))) |
521 | 521 |
summaries.sort() |
522 | 522 |
for line in summaries: |
523 |
- self.canvas.drawRightString(left + 14.5 * cm, self.y - self.font_height, line[0]) |
|
523 |
+ self.canvas.drawRightString(left + 11.5 * cm, self.y - self.font_height, '('+line[0]) |
|
524 | 524 |
if line[1]: |
525 |
- self.canvas.drawRightString(left + 16.8 * cm, self.y - self.font_height, line[1]) |
|
525 |
+ self.canvas.drawRightString(left + 13.8 * cm, self.y - self.font_height, line[1]+')') |
|
526 | 526 |
self.y -= self.line_height |
527 | 527 |
elif len(part.vat) == 1 and part.vatType == 'net': |
528 | 528 |
self.canvas.drawRightString(left + 14.5 * cm, self.y - self.font_height, 'Nettobetrag:') |
529 | 529 |