changes to sql and params
This commit is contained in:
@ -8,7 +8,12 @@
|
||||
</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"}">
|
||||
{if $row.id}
|
||||
{assign var='rowId' value=$row.id}
|
||||
{else}
|
||||
{capture assign=rowId}{$row.financial_type_id}_{$fiscalYear}{/capture}
|
||||
{/if}
|
||||
<tr id="GrantBudget-{$rowId}" 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>
|
||||
|
Reference in New Issue
Block a user