feat: Implement general catalogs for INPC, Legends, Multi-Currency Types, Packages, Ports, Prevalidators, Signatures, Unit Conversions, and Units of Measure

- Added INPC management page with search functionality.
- Created Legends management page with filters for code and description.
- Implemented Multi-Currency Types management with search capabilities.
- Developed Packages management page with filtering options.
- Introduced Ports management page with authentication and data fetching.
- Added Prevalidators management page with search filters.
- Implemented Signatures management page with search by name and position.
- Created Unit Conversions management page for conversion factors.
- Developed Units of Measure management pages for ACE, American, and OMA with data tables and create/edit dialogs.
This commit is contained in:
2025-12-08 14:17:47 -06:00
parent f1bd2d63e8
commit 6acbd48e9e
152 changed files with 7334 additions and 2747 deletions

View File

@@ -8,11 +8,13 @@ class Country(Base):
__table_args__ = (
PrimaryKeyConstraint("m3_key", name="countries_pkey"),
Index("ak_country_ame", "ame_key", unique=True),
{"schema": "public"}, # opcional
{"schema": "public", "extend_existing": True}, # opcional
)
m3_key: Mapped[str] = mapped_column(String(3), nullable=False) # clave M3
mex_key: Mapped[str] = mapped_column(String(2), nullable=False) # clave país México
m3_key: Mapped[str] = mapped_column(
String(3), primary_key=True, nullable=False) # clave M3
mex_key: Mapped[str] = mapped_column(
String(2), nullable=False) # clave país México
ame_key: Mapped[str] = mapped_column(
String(2), nullable=False
) # clave país América / regional