{{/* [ .Shops, .SelectedPlatform, .SelectedShopID, .Listings ] */}} {{- $acctID := .Identity.Account.AccountID -}} {{- $shops := .Shops }} {{- if not $shops }} {{- $shops = .Accounts.GetMockShops $acctID -}} {{- end }} {{- $selectedPlatform := .SelectedPlatform }} {{- $selectedShopID := .SelectedShopID }} {{- if not $selectedPlatform | or (not $selectedShopID) }} {{- $formSelections := .Accounts.GetMockEventFormValues $acctID }} {{- $selectedPlatform = $formSelections.CountPlatform }} {{- $selectedShopID = $formSelections.CountShopID }} {{- end }} {{- $listings := .Listings }} {{- if $selectedShopID }} {{ $listings = .Accounts.GetMockListingsForShop $acctID $selectedPlatform $selectedShopID }} {{- end }} {{/* SET INVENTORY */}} {{- define "set-inventory-accordion-header" }}