accrual: More robust payment-to fallback in outgoing report.
This commit is contained in:
parent
18800b249d
commit
def05b8007
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def outgoing_report(groups: PostGroups,
|
|||
f"REQUESTOR: {requestor}",
|
||||
f"TOTAL TO PAY: {-related.balance()}",
|
||||
f"AGREEMENT: {contract_s}",
|
||||
f"PAYMENT TO: {ticket.get('CF.{payment-to}', requestor_name)}",
|
||||
f"PAYMENT TO: {ticket.get('CF.{payment-to}') or requestor_name}",
|
||||
f"PAYMENT METHOD: {ticket.get('CF.{payment-method}', '')}",
|
||||
f"PROJECT: {', '.join(projects)}",
|
||||
"\nBEANCOUNT ENTRIES:",
|
||||
|
|
Loading…
Reference in a new issue