mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-01 19:26:53 +02:00
Show credit settlements as positive amounts
This commit is contained in:
@@ -12,6 +12,7 @@ from ccma.domain.contributions import (
|
||||
allocated_total,
|
||||
claim_balance,
|
||||
claim_items,
|
||||
claim_settled_total,
|
||||
claim_status,
|
||||
claim_total,
|
||||
credit_allocated_total,
|
||||
@@ -166,7 +167,7 @@ class ClaimTab(ttk.Frame):
|
||||
messagebox.showerror("Forderung konnte nicht geladen werden", str(exc), parent=self)
|
||||
return
|
||||
total = claim_total(self.claim)
|
||||
paid = allocated_total(self.data, self.claim_id)
|
||||
paid = claim_settled_total(self.data, self.claim)
|
||||
balance = claim_balance(self.data, self.claim)
|
||||
status = claim_status(self.data, self.claim)
|
||||
self.title_var.set(str(self.claim.get("title") or "Forderung"))
|
||||
|
||||
Reference in New Issue
Block a user