Edit Pie
This commit is contained in:
@ -26,6 +26,7 @@ $app->group('/venta/{venta_id:[0-9]+}', function($app) {
|
||||
$app->group('/cuotas', function($app) {
|
||||
$app->get('[/]', [Ventas::class, 'cuotas']);
|
||||
});
|
||||
$app->get('[/]', [Ventas::class, 'pie']);
|
||||
});
|
||||
$app->get('/edit[/]', [Ventas::class, 'edit']);
|
||||
$app->get('[/]', [Ventas::class, 'show']);
|
||||
|
6
app/resources/routes/api/ventas/pies.php
Normal file
6
app/resources/routes/api/ventas/pies.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use Incoviba\Controller\API\Ventas\Pies;
|
||||
|
||||
$app->group('/pie/{pie_id}', function($app) {
|
||||
$app->post('/edit[/]', [Pies::class, 'edit']);
|
||||
});
|
Reference in New Issue
Block a user