Ventas
This commit is contained in:
@ -3,7 +3,10 @@ use Incoviba\Controller\Ventas\Cuotas;
|
||||
|
||||
$app->group('/cuotas', function($app) {
|
||||
$app->get('/pendientes[/]', [Cuotas::class, 'pendientes']);
|
||||
$app->get('/abonar[/]', [Cuotas::class, 'depositadas']);
|
||||
});
|
||||
$app->group('/cuota', function($app) {
|
||||
$app->post('/depositar[/]', [Cuotas::class, 'depositar']);
|
||||
$app->post('/abonar[/]', [Cuotas::class, 'abonar']);
|
||||
$app->post('/devolver[/]', [Cuotas::class, 'devolver']);
|
||||
});
|
||||
|
6
app/resources/routes/ventas/pagos.php
Normal file
6
app/resources/routes/ventas/pagos.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use Incoviba\Controller\Ventas\Pagos;
|
||||
|
||||
$app->group('/pagos', function($app) {
|
||||
$app->get('/pendientes', [Pagos::class, 'pendientes']);
|
||||
});
|
Reference in New Issue
Block a user