{% set progress = object.approvalProgress %} {% if object.status == 'approved' %} Process Payment {% elseif object.status == 'processed' %} Paid {#{% else %} Awaiting Approval {% endif %}#} {% elseif object.status == 'pending_approval' or object.status == 'pending' %} {% if progress.isMet %} Finalize Admin Approval {% else %} {#
Voting in progress. Current approval is {{ progress.percentage|number_format(1) }}%. Threshold required: {{ object.approvalThresholdPercentage }}%.
#} {% endif %} {% else %}

The payout is currently in the {{ object.status }} stage.

{% endif %}