Working on event person, registration, badge, session, presentation, and presenter create and update. _v3 things

This commit is contained in:
Scott Idem
2021-08-25 16:25:46 -04:00
parent 8ff404e534
commit c93792634a
11 changed files with 372 additions and 74 deletions

View File

@@ -138,7 +138,7 @@ def get_event_id_w_event_person_id(
# Event Registration can only update the primary event_person because they should already exist before registration is started. Chicken and egg problem...
# Event Registration can create or update the event_person_list.
# NOTE: Should there be a check before trying to update the primary event_person if they are also in the event_person_list??? Chicken and egg problem again?
# Updated 2021-08-24
# Updated 2021-08-25
def create_event_registration_obj(
event_id: int|str,
event_person_id: int|str,
@@ -231,7 +231,7 @@ def create_event_registration_obj(
# Event Registration can only update the primary event_person because they should already exist since registration is started and registration "requires" the primary event_person first. Chicken and egg problem...
# Event Registration can create or update the event_person_list.
# NOTE: Should there be a check before trying to update the primary event_person if they are also in the event_person_list??? Chicken and egg problem again?
# Updated 2021-08-24
# Updated 2021-08-25
def update_event_registration_obj_v3(
event_registration_id: int|str,
event_registration_obj_exist: Event_Registration_Base,