#LOCAL("FeedbackNeeded", 0) #IF(#FormError)
#IF(#FormErrors.Reason.EbayRequestNotSuccessful)

{EbayWarning}

{EbayRequestNotSuccessful}:
#LOOP(#FormErrors.Reason.EbayRequestNotSuccessful.Errors) Auction #Transaction.EbayAuction.ExternalAuctionId - #Transaction.EbayUserName: #Message
#ENDLOOP

({Summary}: #FormErrors.Reason.EbayRequestNotSuccessful.ErrorCount)

#ELSIF(#FormErrors.Reason.CreateOrderNotSuccessful)

{FailedCreateOrder}

#LOOP(#FormErrors.Reason.CreateOrderNotSuccessful.Errors) #IF(#Name EQ "NoProduct")

{NoProduct}

#ELSIF(#Name EQ "ShippingMethodNoPrice")

{ShippingMethodNoPrice} #LOCAL("DefaultShipping", "")#LOOP(#Shop.ShippingMethods)#IF(#IsDefault)#SET("DefaultShipping", #ID)#ENDIF#ENDLOOP {EditSettingsNow}#ENDLOCAL

#ELSIF(#Name EQ "PaymentMethodNoPrice")

{PaymentMethodNoPrice} #LOCAL("DefaultPayment", "")#LOOP(#Shop.PaymentMethods)#IF(#IsDefault)#SET("DefaultPayment", #ID)#ENDIF#ENDLOOP {EditSettingsNow}#ENDLOCAL

#ENDIF #ENDLOOP #ELSE

{InputError}

{PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #INCLUDE("INC-PagerHeader") #IF(#Pager.OrderBy NE "Name") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "ExternalAuctionId") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "EbayUserName") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "Price") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "Customer") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "Order") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "CreationDate") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "FeedbackType") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #IF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #ENDLOOP #ENDIF #ENDIF
{SKUShort}{SKUShort}{SKUShort}{ExternalAuctionId}{ExternalAuctionId}{ExternalAuctionId}{EbayUserName}{EbayUserName}{EbayUserName}{Price}{Price}{Price}{Customer}{Customer}{Customer}{Order}{Order}{Order}{Date}{Date}{Date}{Feedback}{Feedback}{Feedback}
#IF(NOT #DELETE AND NOT #SCHEDULEREPEAT)#INCLUDE("Pager")#ENDIF
#IF(#INPUT.ViewAction EQ "MBO-ViewEbayOrders") {PleaseSearch}#ELSE {noEbayTransactions}#ENDIF
#IF(#DEFINED(#EbayAuction.Product)) #IF(#EbayAuction.Product.IsMaster AND #DEFINED(#SubProductAuction.Product)) #WITH(#SubProductAuction.Product) #Alias #INCLUDE("INC-ProductIcon") #ENDWITH #ELSE #WITH(#EbayAuction.Product) #Alias #INCLUDE("INC-ProductIcon") #ENDWITH #ENDIF #ENDIF #IF(#EbayAuction.ExternalAuctionId AND #EbayAuction.ExternalAuctionId NE " ") {Environment}: #EbayAuction.EbayShopEnvironment.EbayEnvironment.Name#EbayAuction.ExternalAuctionId #ELSE {Environment}: #EbayAuction.EbayShopEnvironment.EbayEnvironment.Name#EbayAuction.EbayShopEnvironment.Name[slice:15,html] #ENDIF #EbayUserName #LOOP(#Shop.Currencies) #LOCAL("ShopCurrencyID", #CurrencyID) #IF(#EbayAuction.EbayShopEnvironment.EbayEnvironment.CurrencyID EQ #ShopCurrencyID) #Price[money]#IF(#Quantity > 1) (#Quantity {Pieces})#ENDIF #ENDIF #ENDLOCAL #ENDLOOP #IF(#Customer) #IF(#DEFINED(#Customer.BillingAddress.DisplayName))#Customer.BillingAddress.DisplayName#ELSIF(#DEFINED(#Customer.BillingAddress.FullName))#Customer.BillingAddress.FullName#ENDIF #ENDIF #IF(#IsPurchased) #IF(#CustomerOrder) #CustomerOrder.Alias #ELSE {purchased} #ENDIF #ELSE #LOCAL("ElapsedDays", #CALCULATE(#Now[date] - #CreationDate[date])) #IF(#ElapsedDays >= 3)#ENDIF {NotPurchased} #ENDLOCAL #ENDIF #CreationDate[datetime] #IF(#FeedbackType == 0) #SET("FeedbackNeeded", 1) #ELSIF(#FeedbackType == 1) {positive}: #FeedbackText #ELSIF(#FeedbackType == 2) {neutral}: #FeedbackText #ELSIF(#FeedbackType == 3) {negative}: #FeedbackText #ENDIF
#IF(#COUNT(#Pager.Items))
{FeedbackText}
{FeedbackInfo}
#ENDIF
#ENDLOCAL