listItem.appendChild(listCell);
}
private void appendDecimalBoxMaxValue(final Listitem listItem,
boolean isQualityFormOrReadOnly) {
final AdvanceAssignment advanceAssignment = (AdvanceAssignment) listItem
.getValue();
final Decimalbox maxValue = new Decimalbox();
maxValue.setScale(2);
final DirectAdvanceAssignment directAdvanceAssignment;
if ((advanceAssignment instanceof IndirectAdvanceAssignment)
|| isQualityFormOrReadOnly
|| (advanceAssignment.getAdvanceType() != null && advanceAssignment
.getAdvanceType().getPercentage())
|| manageOrderElementAdvancesModel
.hasConsolidatedAdvances(advanceAssignment)) {
maxValue.setDisabled(true);
}