EnVisageOnline/Main/Source/EnVisage/Content/templates/ActivityCalendar/projectActualsNumbersRow.html

17 lines
864 B
HTML

<tr ng-if="row.Initialized" ng-show="row.Show">
<td ng-repeat="header in (ViewModel.Header.Weeks) track by $index"
ng-if="header.Initialized"
ng-show="header.Show"
ng-class="row.CSSClass[$index]"
style="height: 31px; {{ row.CSSStyle[$index] }}">
<a href="#" editable-text="row.Cells[$index]" e-name="ColValue" e-ng-blur="onTxtBlur(this);" onshow="watchKeyInput(this)" buttons="no"
blur="submit" onbeforesave="checkResourceActualsValue(row, $index, $data)" e-required
ng-if="row.EditableForecastWeeks[$index] && ViewModel.Visibility.ActualsEditable">
{{ row.Cells[$index] || 0 | number:2 }}
</a>
<span ng-if="!row.EditableForecastWeeks[$index] || !ViewModel.Visibility.ActualsEditable">
{{ (row.Cells[$index] | number:2) }}
</span>
</td>
</tr>