Calculated Total:
@cMoney($competition->getTotalParticipantsAmount(), $competition->currency, true)
Manual Total:
@cMoney($competition->amount, $competition->currency, true)
Invoiced: @cMoney(($totalInvoicedAmount = $competition->getTotalInvoicedAmount()), $competition->currency, true)
Paid: @cMoney(($totalPaidAmount = $competition->getTotalPaidAmount()) ?? 0, $competition->currency, true)
Due: @cMoney($totalInvoicedAmount - $totalPaidAmount , $competition->currency, true)