payment updated
This commit is contained in:
@@ -9,7 +9,7 @@ from Validations.response.pagination import PaginateOnly
|
||||
from Extensions.Middlewares.token_provider import TokenProvider
|
||||
|
||||
|
||||
living_space_endpoint_route = APIRouter(prefix="/living-space", tags=["Living Space Cluster"])
|
||||
living_space_endpoint_route = APIRouter(prefix="/living/spaces", tags=["Living Spaces Cluster"])
|
||||
|
||||
|
||||
living_space_list = "LivingSpaceList"
|
||||
|
||||
@@ -14,7 +14,7 @@ from Schemas import (
|
||||
Build,
|
||||
BuildParts,
|
||||
ApiEnumDropdown,
|
||||
BuildTypes,
|
||||
# BuildTypes,
|
||||
BuildParts,
|
||||
AccountRecords,
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ from Validations.response import (
|
||||
from Validations.defaults.validations import CommonHeaders
|
||||
from Schemas import (
|
||||
Addresses,
|
||||
BuildTypes,
|
||||
# BuildTypes,
|
||||
Build,
|
||||
BuildSites,
|
||||
BuildParts,
|
||||
|
||||
@@ -17,7 +17,7 @@ if __name__ == "__main__":
|
||||
with get_db() as db_session:
|
||||
if set_alembic:
|
||||
generate_alembic(session=db_session)
|
||||
exit()
|
||||
|
||||
try:
|
||||
create_one_address(db_session=db_session)
|
||||
except Exception as e:
|
||||
@@ -26,6 +26,7 @@ if __name__ == "__main__":
|
||||
init_api_enums_build_types(db_session=db_session)
|
||||
except Exception as e:
|
||||
print(f"Error creating enums: {e}")
|
||||
exit()
|
||||
try:
|
||||
create_application_defaults(db_session=db_session)
|
||||
except Exception as e:
|
||||
|
||||
@@ -153,12 +153,32 @@ def init_api_enums_build_types(db_session):
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-CL",
|
||||
"type_name": "Close Last Period Receipt",
|
||||
"type_name": "Close Last Period Debit Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-OP",
|
||||
"type_name": "Open New Period Receipt",
|
||||
"type_name": "Open New Period Debit Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-OPR",
|
||||
"type_name": "Open New Period Renewal Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-CLR",
|
||||
"type_name": "Close Last Period Renewal Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-CLL",
|
||||
"type_name": "Close Last Period Lawyer Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
"type_code": "BDT-OPR",
|
||||
"type_name": "Open New Period Lawyer Receipt",
|
||||
},
|
||||
{
|
||||
"enum_class": "BuildDuesTypes",
|
||||
|
||||
Reference in New Issue
Block a user