Working on better bug fix for downloading export files. Some columns were missing.

This commit is contained in:
Scott Idem
2024-04-23 18:52:41 -04:00
parent 69c1250961
commit 94d0cfeb4d
3 changed files with 7 additions and 5 deletions

View File

@@ -391,8 +391,8 @@ async function handle_load_ae_obj_id__event_presenter({event_presenter_id, try_c
ae_promises.download__events_speakers_export = core_func.handle_download_export__obj_type({
api_cfg: $ae_api,
get_obj_type: 'event_presenter',
for_obj_type: 'account',
for_obj_id: $slct.account_id,
for_obj_type: 'event',
for_obj_id: $slct.event_id,
file_type: 'Excel',
return_file: true,
filename: `${$ae_loc.account_code}_Speakers_Hub_export_${ae_util.iso_datetime_formatter()}.xlsx`,

View File

@@ -367,7 +367,7 @@ async function handle_load_ae_obj_id__sponsorship({sponsorship_id, try_cache=fal
</script>
<section class="ae_events_speakers md:container h-full mx-auto flex flex-col items-center space-y-4">
<section class="ae_sponsorships md:container h-full mx-auto flex flex-col items-center space-y-4">
<header>
<h1 class="h1 text-center">
@@ -402,7 +402,7 @@ async function handle_load_ae_obj_id__sponsorship({sponsorship_id, try_cache=fal
}
ae_promises.download__sponsorships_export = core_func.handle_download_export__obj_type({
api_cfg: $ae_api,
get_obj_type: 'event_presenter',
get_obj_type: 'sponsorship',
for_obj_type: 'account',
for_obj_id: $slct.account_id,
file_type: 'Excel',