removed hardcoded values

This commit is contained in:
2018-08-11 23:59:59 +05:30
parent b5c998846e
commit 04a78b6e3b
4 changed files with 20 additions and 8 deletions

View File

@ -6,7 +6,7 @@
<th>{ts}Amount Awarded{/ts}</th>
<th>{ts}Amound Remaining{/ts}</th>
</thead>
{crmAPI var='result' entity='GrantBudget' action='getbudget' fiscal_year=2018}
{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>