mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:17:32 -05:00 
			
		
		
		
	Hide invoices with "Cancelled" status
This commit is contained in:
		
							parent
							
								
									122664037d
								
							
						
					
					
						commit
						4aad406ab0
					
				@ -76,6 +76,7 @@ class InvoicesTable extends Component
 | 
				
			|||||||
        $query = $query
 | 
					        $query = $query
 | 
				
			||||||
            ->where('client_id', auth('contact')->user()->client->id)
 | 
					            ->where('client_id', auth('contact')->user()->client->id)
 | 
				
			||||||
            ->where('status_id', '<>', Invoice::STATUS_DRAFT)
 | 
					            ->where('status_id', '<>', Invoice::STATUS_DRAFT)
 | 
				
			||||||
 | 
					            ->where('status_id', '<>', Invoice::STATUS_CANCELLED)
 | 
				
			||||||
            ->withTrashed()
 | 
					            ->withTrashed()
 | 
				
			||||||
            ->paginate($this->per_page);
 | 
					            ->paginate($this->per_page);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user