{{/* [ .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.RefundPlatform }} {{- $selectedShopID = $formSelections.RefundShopID }} {{- end }} {{- $listings := .Listings }} {{- if $selectedShopID }} {{ $listings = .Accounts.GetMockListingsForShop $acctID $selectedPlatform $selectedShopID }} {{- end }} {{/* REFUNDS */}} {{- define "refund-accordion-header" }}