Code refactoring after commit 510c38adcc
				
					
				
			This commit is contained in:
		| @@ -67,7 +67,7 @@ class Invoices extends BulkAction | ||||
|         $invoices = $this->getSelectedRecords($request); | ||||
|  | ||||
|         foreach ($invoices as $invoice) { | ||||
|             if ($invoice->status == 'cancelled' || $invoice->status == 'draft') { | ||||
|             if (! in_array($invoice->status, ['cancelled', 'draft'])) { | ||||
|                 continue; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user