anchor.diff:  		"class": 'material',
   		"text": name,
   		"data-id": id,
  -		"data-name": name
  +		"data-name": name,
  +		"quantity": quantity,
  +		"measurement": measurement
   	});
   
   	var $body = $('<ul></ul>', {
  
positive.code: 		}
  	});
  
  	// console.log(curr_assembly)
  	if (curr_assembly != null) {
  		fill_build(curr_assembly);
  	}
  
negative.code: 	}
  }
  
  function add_proc_to($mat, name, id, quantity=0, measurement="") {
  	var $proc = $('<li></li>', {
  		"class": 'collection-item process',
  		"text": name,
  		"data-id": id,
  		"data-name": name,
  		"quantity": quantity,
  		"measurement": measurement
  	});
  	var $delButton = make_delete_button($proc, 'process');
  	$delButton.appendTo($proc);
  	add_inputs($proc, 'process');
  	
  	$proc.find("#quantity").val(quantity);
  	$proc.find("#measurement").val(measurement);
  	
  	// $mat.find('.processes :last-child').before($proc);
  	$mat.find('.processes :last').before($proc);
  }
  