| " & _
" Order Received " & _
"Thanks! We've received your order details." & _
"Jurisdiction number " & H(order("JurisdictionNumber")) & "" & _
" · submitted " & H(EmailDate(model.SubmittedAt)) & " "
html = html & EmailSection("Contact Information", _
EmailRow("Contact Name", model.ContactName) & _
EmailRow("Municipality", model.Municipality) & _
EmailRow("Phone", model.Phone))
If IsTrue(model.PurpleWantsQuote) Then
html = html & EmailSection("Purple Ballot Envelopes", _
EmailRow("Print option", LabelPrintOption(model.PurplePrintOption)) & _
EmailRow("Envelope stock", LabelEnvelopeStock(model.PurpleEnvelopeStock)) & _
EmailRow("Envelope provider", model.PurpleEnvelopeProvider) & _
EmailRow("Also wants KCI blue envelopes", EmailYesNo(model.PurpleWantsBlueEnvelopes)) & _
EmailRow("Print style", LabelPrintStyle(model.PurplePrintStyle)) & _
EmailRow("Color coding by", LabelColorCodingBy(model.PurpleColorCodingBy)) & _
EmailRow("Number of precincts", model.PurplePrecinctCount) & _
EmailRow("Track with TrackMI Ballot", EmailYesNo(model.PurpleTrackMIBallot)) & _
EmailRow("Extra envelopes requested", model.PurpleExtraEnvelopeQty) & _
EmailRow("Requested delivery date", EmailDate(model.PurpleDeliveryDate)))
End If
If IsTrue(model.BlueWantsQuote) Then
html = html & EmailSection("Blue AV Envelopes", _
EmailRow("Provider", LabelBlueProvider(model.BlueEnvelopeProvider)) & _
EmailRow("Print permit", EmailYesNo(model.BluePrintPermit)) & _
EmailRow("Permit number", model.BluePermitNumber) & _
EmailRow("City of permit holder", model.BluePermitCity) & _
EmailRow("Permit class", model.BluePermitClass) & _
EmailRow("Print return address", EmailYesNo(model.BluePrintReturnAddress)) & _
EmailRow("Requested delivery date", EmailDate(model.BlueDeliveryDate)))
End If
If IsTrue(model.MailingWantsService) Then
html = html & EmailSection("Ballot Mailing Service", _
EmailRow("Postage", LabelPostageOption(model.MailingPostageOption)) & _
EmailRow("Nonprofit status with USPS", LabelNonprofitStatus(model.MailingHasNonprofitStatus)) & _
EmailRow("Sort ballots", EmailYesNo(model.MailingWantsSorting)) & _
EmailRow("Preferred pickup date", EmailDate(model.MailingPickupDate)))
End If
If NumOrZero(model.SecrecySleevesQty) > 0 Or NumOrZero(model.IVotedStickerRolls) > 0 Or NumOrZero(model.FutureVoterStickerRolls) > 0 Then
html = html & EmailSection("Additional Election Items", _
EmailRow("Secrecy sleeves (quantity)", model.SecrecySleevesQty) & _
EmailRow("""I Voted"" stickers (rolls of 250)", model.IVotedStickerRolls) & _
EmailRow("""Future Voter"" stickers (rolls of 500)", model.FutureVoterStickerRolls))
End If
html = html & "Questions about this order? Just reply to this email. " & _
" |
" & _
"