Name
Award Credit
Referrals Used
Redeemable Capacity
Created
Expiration
Status
{{$defaultOffer := .FreeCredits.GetDefaultFromSet}}
{{$defaultOffer.Name}}
${{$defaultOffer.AwardCredit}}
{{$defaultOffer.NumRedeemed}}
{{$defaultOffer.RedeemableCap}}
{{printf "%.10s" $defaultOffer.CreatedAt}}
{{printf "%.10s" $defaultOffer.ExpiresAt}}
{{if gt (len .FreeCredits.Set) 0}}
{{$currentOffer := .FreeCredits.GetCurrentFromSet}}
{{$currentOffer.Name}}
${{$currentOffer.AwardCredit}}
{{$currentOffer.NumRedeemed}}
{{$currentOffer.RedeemableCap}}
{{printf "%.10s" $currentOffer.CreatedAt}}
{{printf "%.10s" $currentOffer.ExpiresAt}}
Live ·
{{end}}
{{if gt (len .FreeCredits.Set) 0}}
{{range .FreeCredits.Set}}
{{$offer := .}}
{{if $offer.IsDone}}
{{$offer.Name}}
${{$offer.AwardCredit}}
{{$offer.NumRedeemed}}
{{$offer.RedeemableCap}}
{{printf "%.10s" $offer.CreatedAt}}
{{printf "%.10s" $offer.ExpiresAt}}
off
{{end}}
{{end}}
{{end}}
{{end}}