diff --git a/app/resources/routes/04_ventas.php b/app/resources/routes/04_ventas.php index 49400bb..2ce4212 100644 --- a/app/resources/routes/04_ventas.php +++ b/app/resources/routes/04_ventas.php @@ -36,6 +36,7 @@ $app->group('/venta/{venta_id:[0-9]+}', function($app) { $app->get('[/]', Ventas\Abono\Cuotas::class); }); $app->get('/add[/]', [Ventas\Escrituras::class, 'add']); + $app->get('[/]', [Ventas\Escrituras::class, 'show']); }); $app->group('/credito', function($app) { $app->get('[/]', [Ventas\Creditos::class, 'show']); diff --git a/app/resources/routes/api/ventas.php b/app/resources/routes/api/ventas.php index 954eb1c..3a826a4 100644 --- a/app/resources/routes/api/ventas.php +++ b/app/resources/routes/api/ventas.php @@ -35,6 +35,9 @@ $app->group('/venta/{venta_id}', function($app) { $app->post('/add[/]', [Ventas\Bonos::class, 'add']); }); $app->group('/escritura', function($app) { + $app->group('/cuotas', function($app) { + $app->post('/add[/]', [Ventas\Abonos\Cuotas::class, 'add']); + }); $app->post('/add[/]', [Ventas\Escrituras::class, 'add']); }); $app->group('/credito', function($app) { diff --git a/app/resources/views/ventas/escrituras/abono/cuotas.blade.php b/app/resources/views/ventas/escrituras/abono/cuotas.blade.php index af664d6..1266beb 100644 --- a/app/resources/views/ventas/escrituras/abono/cuotas.blade.php +++ b/app/resources/views/ventas/escrituras/abono/cuotas.blade.php @@ -14,7 +14,7 @@