This is a good point for things. Looks good and working well.

This commit is contained in:
Scott Idem
2024-03-21 18:13:05 -04:00
parent 7381797a28
commit 18c1c84044
5 changed files with 263 additions and 56 deletions

View File

@@ -122,7 +122,7 @@ async function handle_load_ae_obj_li__badge({api_cfg, event_id, params={}, try_c
async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qry_str, params={}, try_cache=true}) {
async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qry_str, external_event_id, params={}, try_cache=true}) {
console.log(`*** handle_search__event_badge() *** event_id=${event_id}`);
let enabled: string = (params.qry__enabled ?? 'enabled'); // all, disabled, enabled
@@ -139,6 +139,9 @@ async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qr
};
}
params_json['and_qry'] = {};
if (external_event_id) params_json['and_qry']['external_event_id'] = external_event_id;
// $events_sess.badges.status_qry__search = 'loading';
ae_promises.search__event_badge = await api.get_ae_obj_li_for_obj_id_crud({
api_cfg: api_cfg,

View File

@@ -46,6 +46,9 @@ let events_local_data_struct: key_val = {
'leads': {
show_content__scan_requirements: true,
// For ISHLT 2024 Annual Meeting only!
default__external_registration_id: '2024_Annual Meeting',
auto_view: true,
auto_hide_on_sign_in: true,
@@ -68,6 +71,8 @@ let events_local_data_struct: key_val = {
// The "tab" is a key value list of exhibit ID and tab name. This is intentionally using local storage to store the current tab for each exhibit.
// example: {'LNDF-67-89-92': 'start', 'OFLN-32-38-14': 'add_scan'}
tab: {},
},
// Presentation Management (Distributing)
@@ -121,6 +126,8 @@ let events_session_data_struct: key_val = {
show_form__search: false,
show_form__scan: false,
show_confirm__add_lead: [],
submit_status__license: null, // 'saving', 'created', 'updated'
// create_status__license: null, // 'creating', 'created', 'updated'
// update_status__license: null, // 'updating', 'created', 'updated'