Cost: @cMoney($phase->estimated_cost, $phase->contract->currency, true)
@if($phase->tax_amount)
Tax: @cMoney($phase->tax_amount, $phase->contract->currency, true)
@endif
Total: @cMoney($phase->total_cost, $phase->contract->currency, true)
@if($phase->total_cost - $remaining_amount)
Invoiced: @cMoney($phase->total_cost - $remaining_amount, $phase->contract->currency, true)
@endif @if($remaining_amount != $phase->total_cost && $remaining_amount)
Remaining: @cMoney($remaining_amount, $phase->contract->currency, true)
@endif @if($paid_amount = $phase->getTotalPaidAmount())
Paid: @cMoney($paid_amount, $phase->contract->currency, true)
@endif @if($phase->total_cost - $paid_amount)
UnPaid: @cMoney($phase->total_cost - $paid_amount, $phase->contract->currency, true)
@endif @if($retention_withheld = $phase->getTotalRetentionWithheld())
Retention Withheld: @cMoney($retention_withheld, $phase->contract->currency, true)
@endif @if($retention_released = $phase->getTotalReleasedRetention())
Retention Released: @cMoney($retention_released, $phase->contract->currency, true)
@endif