| 
															
																@@ -138,7 +138,7 @@ module.exports = app => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     nd.quantity = this.ctx.helper.round(d.quantity, precision.value); 
															 | 
															
															 | 
															
																                     nd.quantity = this.ctx.helper.round(d.quantity, precision.value); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     nd.total_price = this.ctx.helper.mul(nd.unit_price, nd.quantity, tpDecimal); 
															 | 
															
															 | 
															
																                     nd.total_price = this.ctx.helper.mul(nd.unit_price, nd.quantity, tpDecimal); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } else if(d.unit_price !== undefined) { 
															 | 
															
															 | 
															
																                 } else if(d.unit_price !== undefined) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    nd.tp = this.ctx.helper.mul(nd.unit_price, od.quantity, tpDecimal); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    nd.total_price = this.ctx.helper.mul(nd.unit_price, od.quantity, tpDecimal); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (d.qty !== undefined) { 
															 | 
															
															 | 
															
																                 if (d.qty !== undefined) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     nd.qty = this.ctx.helper.round(d.qty, precision.value); 
															 | 
															
															 | 
															
																                     nd.qty = this.ctx.helper.round(d.qty, precision.value); 
															 |