Only show mobile "quick receive" buttons if product is identifiable
This commit is contained in:
		
							parent
							
								
									0b9fe2dfe7
								
							
						
					
					
						commit
						8c26b632fe
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -85,7 +85,8 @@
 | 
			
		|||
    ${h.hidden('cases')}
 | 
			
		||||
    ${h.hidden('units')}
 | 
			
		||||
 | 
			
		||||
    % if quick_receive:
 | 
			
		||||
    ## only show quick-receive if we have an identifiable product
 | 
			
		||||
    % if quick_receive and instance.product:
 | 
			
		||||
        % if quick_receive_all:
 | 
			
		||||
            <button type="button" class="quick-receive" data-quantity="${quick_receive_quantity}" data-uom="${quick_receive_uom}">${quick_receive_text}</button>
 | 
			
		||||
        % elif allow_cases:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue