#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #IF(#FormError)

{InputError}

{PleaseCorrectErrors}

#ENDIF #IF(#DELETE)

{AcceptAction}

{AcceptActionInfo}

#LOOP(#DeleteObjects) #ENDLOOP #ENDIF #SNIPPET("INC-PagerHeader", "ContextObjects", "{Customers}") #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #IF(#DELETE) #ELSE #IF(#Pager.OrderBy NE "Alias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "BillingAddress.LastName") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "BillingAddress.Country") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "CreationDate") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #LOCAL("LastOrder", 0) #LOCAL("LastOrderPath", 0) #ENDLOCAL #ENDLOCAL #ENDLOOP #ELSIF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #LOCAL("LastOrder", 0) #LOCAL("LastOrderPath", 0) #ENDLOCAL #ENDLOCAL #ENDLOOP #ENDIF
{CustomerNoShort} {Name} {Country} {Orders} {LatestOrder} {CreationDate} {CustomerNoShort} {CustomerNoShort} {CustomerNoShort} {Name} {Name} {Name} {Country} {Country} {Country} {Orders} {LatestOrder} {CustomerSince} {CustomerSince} {CustomerSince}
#IF(#COUNT(#Users) > 0) #ELSE #ENDIF #Alias #IF(#BillingAddress.EMail) #ENDIF #IF(NOT #BillingAddress.LastName AND NOT #BillingAddress.FirstName) #BillingAddress.DisplayName #ELSE #BillingAddress.FirstName #BillingAddress.LastName #ENDIF #IF(#BillingAddress.Country.Native) #BillingAddress.Country.Native #ELSE #BillingAddress.Country.English #ENDIF #LOCAL("LastCustomerOrder", #GetLastCustomerOrderAndOrderCount(#Object)) #SET("LastOrder", #LastCustomerOrder.Alias) #SET("LastOrderPath", #LastCustomerOrder.Path) #LastCustomerOrder.CustomerOrderCount #ENDLOCAL #IF(#LastOrder)#LastOrder#ENDIF #CreationDate[date]
{NoCustomersExists}
#IF(#COUNT(#Users) > 0) #ELSE #ENDIF #Alias #IF(#BillingAddress.EMail) #ENDIF #IF(NOT #BillingAddress.LastName AND NOT #BillingAddress.FirstName) #BillingAddress.DisplayName #ELSE #BillingAddress.FirstName #BillingAddress.LastName #ENDIF #IF(#BillingAddress.Country.Native) #BillingAddress.Country.Native #ELSE #BillingAddress.Country.English #ENDIF #LOCAL("LastCustomerOrder", #GetLastCustomerOrderAndOrderCount(#Object)) #SET("LastOrder", #LastCustomerOrder.Alias) #SET("LastOrderPath", #LastCustomerOrder.Path) #LastCustomerOrder.CustomerOrderCount #ENDLOCAL #IF(#LastOrder)#LastOrder#ENDIF #CreationDate[date]
#SNIPPET("Pager", "ContextObjects", "{Customers}") #IF(#DELETE)
#ENDIF