diff --git a/app/resources/routes/api/ventas/precios.php b/app/resources/routes/api/ventas/precios.php index 6546f48..471a071 100644 --- a/app/resources/routes/api/ventas/precios.php +++ b/app/resources/routes/api/ventas/precios.php @@ -2,6 +2,7 @@ use Incoviba\Controller\API\Ventas\Precios; $app->group('/precios', function($app) { + $app->post('/import[/]', [Precios::class, 'import']); $app->post('[/]', [Precios::class, 'proyecto']); }); $app->group('/precio', function($app) { diff --git a/app/resources/routes/ventas/precios.php b/app/resources/routes/ventas/precios.php index c035216..a52f7ef 100644 --- a/app/resources/routes/ventas/precios.php +++ b/app/resources/routes/ventas/precios.php @@ -2,5 +2,5 @@ use Incoviba\Controller\Ventas\Precios; $app->group('/precios', function($app) { - $app->get('[/]', Precios::class); + $app->get('[/{project_id}[/]]', Precios::class); }); diff --git a/app/resources/views/ventas/precios/list.blade.php b/app/resources/views/ventas/precios/list.blade.php index 21c35ef..e51fbb2 100644 --- a/app/resources/views/ventas/precios/list.blade.php +++ b/app/resources/views/ventas/precios/list.blade.php @@ -24,6 +24,9 @@ + @@ -31,6 +34,7 @@