2018-08-11 16:46:21 +00:00
|
|
|
<div class="crm-content-block crm-block">
|
2018-08-11 17:51:25 +00:00
|
|
|
<table cellpadding="0" cellspacing="0" border="0" class="row-highlight">
|
|
|
|
<thead class="sticky">
|
|
|
|
<th>{ts}Endowement{/ts}</th>
|
|
|
|
<th>{ts}Annual Budget{/ts}</th>
|
|
|
|
<th>{ts}Amount Awarded{/ts}</th>
|
|
|
|
<th>{ts}Amound Remaining{/ts}</th>
|
|
|
|
</thead>
|
|
|
|
{crmAPI var='result' entity='GrantBudget' action='getbudget' fiscal_year=2018}
|
|
|
|
{foreach from=$result.values item=row}
|
|
|
|
<tr id="GrantBudget-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}">
|
|
|
|
<td>{$row.name}</td>
|
|
|
|
<td class="crm-editable" data-field="budget" data-type="text">{$row.budget}</td>
|
|
|
|
<td>{$row.total_amount_granted}</td>
|
|
|
|
<td>{$row.balance_amount}</td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</table>
|
|
|
|
{crmButton p="civicrm" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
|
2018-08-11 16:46:21 +00:00
|
|
|
</div>
|