[Bug #939] Fixed adding the same method also in TaskQualityFormItem.
Fixed also translation of QualityForm type. FEA: ItEr72S04BugFixing
This commit is contained in:
parent
3fb9fa3361
commit
e244ca49d9
2 changed files with 7 additions and 3 deletions
|
|
@ -89,6 +89,10 @@ public class TaskQualityFormItem implements INewObject {
|
|||
return position;
|
||||
}
|
||||
|
||||
public String getStringPosition() {
|
||||
return position == null ? "" : new Integer(position + 1).toString();
|
||||
}
|
||||
|
||||
private void setPosition(Integer position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -275,8 +275,8 @@ public class AssignedTaskQualityFormsToOrderElementController extends
|
|||
|
||||
appendDetails(row, taskQualityForm);
|
||||
appendNewLabel(row, taskQualityForm.getQualityForm().getName());
|
||||
appendNewLabel(row, taskQualityForm.getQualityForm()
|
||||
.getQualityFormType().toString());
|
||||
appendNewLabel(row, _(taskQualityForm.getQualityForm()
|
||||
.getQualityFormType().toString()));
|
||||
appendCheckboxReportAdvance(row, taskQualityForm);
|
||||
appendOperations(row);
|
||||
}
|
||||
|
|
@ -424,7 +424,7 @@ public class AssignedTaskQualityFormsToOrderElementController extends
|
|||
row.setValue(item);
|
||||
|
||||
appendNewLabel(row, item.getName());
|
||||
appendNewLabel(row, item.getPosition().toString());
|
||||
appendNewLabel(row, item.getStringPosition());
|
||||
appendNewLabel(row, item.getPercentage().toString());
|
||||
appendCheckPassed(row);
|
||||
appendDate(row);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue