mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01: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);
|
|
}
|
|
}
|