| 
					
				 | 
			
			
				@@ -341,7 +341,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const qtyData = ctx.helper.checkBillsWithPos(ledgerData, posData, ['contract_qty', 'qc_qty']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 qtyData.error.forEach(x => { x.errorType = 'qty'; }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                const tpData = ctx.helper.checkBillsTp(ledgerData, [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                const tpData = ctx.helper.checkBillsTp(ledgerData.filter(x => {return !x.is_tp}), [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     { qty: 'contract_qty', tp: 'contract_tp' }, { qty: 'qc_qty', tp: 'qc_tp' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ], this.ctx.tender.info.decimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 tpData.error.forEach(x => { x.errorType = 'tp'; }); 
			 |