mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:47:33 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			373 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			373 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Ninja\Intents\WebApp;
 | 
						|
 | 
						|
use App\Ninja\Intents\BaseIntent;
 | 
						|
 | 
						|
class CreateExpenseIntent extends BaseIntent
 | 
						|
{
 | 
						|
    public function process()
 | 
						|
    {
 | 
						|
        $url = '/expenses/create';
 | 
						|
 | 
						|
        //$url = '/invoices/create/' . $clientPublicId . '?';
 | 
						|
        //$url .= $this->requestFieldsAsString(Invoice::$requestFields);
 | 
						|
 | 
						|
        return redirect($url);
 | 
						|
    }
 | 
						|
}
 |