}
var nTrs = $('#budgeth tbody tr');
- var iColspan = nTrs[1].getElementsByTagName('td').length;
+ var iColspan = nTrs[0].getElementsByTagName('td').length;
var sLastGroup = "";
for ( var i=0 ; i<nTrs.length ; i++ )
{
<tr data-tt-id="[% budget.budget_id %]">
[% END %]
<td>[% budget.budget_period_active %]</td>
- <td>Budget [% budget.budget_period_description %][% UNLESS budget.budget_period_active %] (inactive)[% END %]</td>
+ <td>Budget [% budget.budget_period_description %] [id=[% budget.budget_period_id %]][% UNLESS budget.budget_period_active %] (inactive)[% END %]</td>
<td>[% budget.budget_code_indent %]</td>
<td>[% budget.budget_name %]</td>
<td class="data">