{crmAPI var='result' entity='GrantBudget' action='getbudget' fiscal_year=$fiscalYear} {foreach from=$result.values item=row} {if $row.id} {assign var='rowId' value=$row.id} {else} {capture assign=rowId}{$row.financial_type_id}_{$fiscalYear}{/capture} {/if} {/foreach}
{ts}Endowment{/ts} {ts}Annual Budget{/ts} {ts}Amount Awarded{/ts} {ts}Amount Remaining{/ts}
{$row.name} {$row.budget} {$row.total_amount_granted} {$row.balance_amount}
{crmButton p="civicrm" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
{literal} {/literal}