mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:07:33 -05:00 
			
		
		
		
	Don’t set qty to 1 when selecting task item on invoice form
This commit is contained in:
		
							parent
							
								
									3a23fabcda
								
							
						
					
					
						commit
						a1793753ea
					
				@ -1022,7 +1022,7 @@ ko.bindingHandlers.productTypeahead = {
 | 
				
			|||||||
                        model.cost(roundSignificant(datum.cost, true));
 | 
					                        model.cost(roundSignificant(datum.cost, true));
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if (!model.qty()) {
 | 
					                if (!model.qty() && ! model.task_public_id()) {
 | 
				
			||||||
                    model.qty(1);
 | 
					                    model.qty(1);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                @if ($account->invoice_item_taxes)
 | 
					                @if ($account->invoice_item_taxes)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user