mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 01:37:30 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			454 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			454 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Ninja\Intents\WebApp;
 | |
| 
 | |
| use App\Models\Product;
 | |
| use App\Models\EntityModel;
 | |
| use App\Ninja\Intents\ProductIntent;
 | |
| use Exception;
 | |
| 
 | |
| class CreateProductIntent extends ProductIntent
 | |
| {
 | |
|     public function process()
 | |
|     {
 | |
|         $url = '/products/create';
 | |
|         
 | |
|         //$url = '/invoices/create/' . $clientPublicId . '?';
 | |
|         //$url .= $this->requestFieldsAsString(Invoice::$requestFields);
 | |
| 
 | |
|         return redirect($url);
 | |
|     }
 | |
| }
 |