1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Ninja/Intents/WebApp/CreateProductIntent.php
2017-04-04 17:51:01 +03:00

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);
}
}