#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "TrustedShops"))#IF(#DisplayFeature NE "NotVisible") #LOCAL("Certificate", #Shop.TrustedShopsCertificate) #LOCAL("HasValidCertificate", 0) #IF(#DEFINED(#Certificate) AND #IS_TSID_STATUS_SHOWABLE_AT_SF(#Certificate.CertificateStatus)) #SET("HasValidCertificate", 1) #ENDIF #REM EPG-19525: check certificate currency #ENDREM #IF(#HasValidCertificate AND NOT(#INPUT.IsEditorModeEnabled) AND #Certificate.IsExcellence) #SET("HasValidCertificate", 0) #LOOP(#Certificate.ProtectionItems) #IF(#CurrencyID EQ #INPUT.Currency)#SET("HasValidCertificate", 1)#ENDIF #ENDLOOP #ENDIF #REM end of currency check for EPG-19525 #ENDREM #IF(#HasValidCertificate OR #INPUT.IsEditorModeEnabled)
{TrustedShopSealNoID}
{DoComplete}