Changes to code
This commit is contained in:
@ -1,3 +1,20 @@
|
||||
<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=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}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user