Nuevo formulario de extension para partes SCAI con nuevas tablas de aphis con catalogos fijos nuevos
This commit is contained in:
@@ -5,14 +5,18 @@ Agrega todos los módulos de la aplicación
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .agency_tariff_codes.routes import router as agency_tariff_codes_router
|
||||
from .carta_porte.routes import router as carta_porte_router
|
||||
from .code_pedimento_regimens.routes import router as code_pedimento_regimens_router
|
||||
from .containers.routes import router as containers_router
|
||||
from .countries.routes import router as countries_router
|
||||
from .currency_types.routes import router as currency_types_router
|
||||
from .customs_sections.routes import router as customs_sections_router
|
||||
from .customs_warehouses.routes import router as customs_warehouses_router
|
||||
from .identifiers.routes import router as identifiers_catalog_router
|
||||
from .incoterms.routes import router as incoterms_router
|
||||
from .invoice_types.routes import router as invoice_types_router
|
||||
from .license_exceptions.routes import router as license_exceptions_router
|
||||
from .material_types.routes import router as material_types_router
|
||||
from .payment_methods.routes import router as payment_methods_router
|
||||
from .pedimento_codes.routes import router as pedimento_codes_router
|
||||
@@ -28,6 +32,11 @@ from .valuation_methods.routes import router as valuation_methods_router
|
||||
router = APIRouter()
|
||||
|
||||
# Registrar módulos
|
||||
router.include_router(
|
||||
agency_tariff_codes_router,
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / agency_tariff_codes"],
|
||||
)
|
||||
router.include_router(
|
||||
pedimento_codes_router,
|
||||
prefix="/reference_data",
|
||||
@@ -53,6 +62,11 @@ router.include_router(
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / material_types"],
|
||||
)
|
||||
router.include_router(
|
||||
identifiers_catalog_router,
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / identifiers"],
|
||||
)
|
||||
router.include_router(
|
||||
currency_types_router,
|
||||
prefix="/reference_data",
|
||||
@@ -91,6 +105,11 @@ router.include_router(
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / transport_modes"],
|
||||
)
|
||||
router.include_router(
|
||||
carta_porte_router,
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / carta_porte"],
|
||||
)
|
||||
router.include_router(
|
||||
customs_sections_router,
|
||||
prefix="/reference_data",
|
||||
@@ -116,3 +135,8 @@ router.include_router(
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / incoterms"],
|
||||
)
|
||||
router.include_router(
|
||||
license_exceptions_router,
|
||||
prefix="/reference_data",
|
||||
tags=["public / reference_data / license_exceptions"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user