21 lines
872 B
Smarty
21 lines
872 B
Smarty
<div class="crm-content-block crm-block">
|
|
<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=$fiscalYear}
|
|
{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}
|
|
</div>
|