|  | @@ -644,7 +644,7 @@ const tenderListSpec = (function(){
 | 
												
													
														
															|  |              html.push('</div>');
 |  |              html.push('</div>');
 | 
												
													
														
															|  |              html.push('<div class="btn-group-table" tid="' + node.id + '">');
 |  |              html.push('<div class="btn-group-table" tid="' + node.id + '">');
 | 
												
													
														
															|  |              html.push('<a href="javascript:void(0);" name="edit" class="mr-1"><i class="fa fa-pencil fa-fw"></i></a>');
 |  |              html.push('<a href="javascript:void(0);" name="edit" class="mr-1"><i class="fa fa-pencil fa-fw"></i></a>');
 | 
												
													
														
															|  | -            const hasStage = node.progress ? node.stage_count > 0 : !!node.lastStage;
 |  | 
 | 
												
													
														
															|  | 
 |  | +            const hasStage = node.progress ? (node.stage_count > 0 ? true : node.stage_status !== 0) : !!node.lastStage;
 | 
												
													
														
															|  |              if (!hasStage) {
 |  |              if (!hasStage) {
 | 
												
													
														
															|  |                  html.push('<a href="javascript:void(0);" name="del" class="mr-1"><i class="fa fa-trash-o fa-fw text-danger"></i></a>');
 |  |                  html.push('<a href="javascript:void(0);" name="del" class="mr-1"><i class="fa fa-trash-o fa-fw text-danger"></i></a>');
 | 
												
													
														
															|  |              } else {
 |  |              } else {
 |