Remove check to see if payment-N-approved set.
The Python script save-feedback.py now sets payment-N-approved, so this script will run against tickets that are in needs-project-ok state and payment-N-approved is set (for now, anyway).
This commit is contained in:
		
							parent
							
								
									e5bf1e9f90
								
							
						
					
					
						commit
						f1ed2eb991
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -315,12 +315,6 @@ foreach my $ticket (@processList)  { | |||
|     } | ||||
|   } | ||||
|   my $expectVal = 'payment-' . $PAYMENT_NUMBER . "-approved"; | ||||
|   if ($completedInternshipField eq $expectVal and $PAYMENT_NUMBER != 1) { | ||||
|     print STDERR "\"$ticket\": $PAYMENT_NUMBER PAYMENT-DONE: Skipped: completed-internship is ", | ||||
|       "\"$completedInternshipField\" which indicates this payment round is in process.\n"; | ||||
|     next; | ||||
|   } | ||||
|   $expectVal = 'payment-' . $prevPayNum . "-approved" if $PAYMENT_NUMBER != 1; | ||||
|   if ($prevPayNum > 0 and $completedInternshipField ne $expectVal) { | ||||
|     print STDERR "\"$ticket\": Skipped: completed-internship field was ", | ||||
|       "\"$completedInternshipField\" instead of \"$expectVal\".\n"; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn