#IF(#INPUT.Page)
#ENDIF#IF(#INPUT.PageSize)
#ENDIF#IF(#INPUT.OrderBy)
#ENDIF#IF(#INPUT.OrderDesc)
#ENDIF
#IF(NOT #DELETE)
#IF(#NOT_ARCHIVED_OR_CANCELLED)
{CouldNotDeleteOrders}
#LOOP(#Pager.Items)
#IF(#GET(#ID . "_NOT_ARCHIVED_OR_CANCELLED"))
- {OrderNumber}: #Alias
#ENDIF
#ENDLOOP
#ENDIF
#ELSE
{AcceptAction}
#IF(#NOT_ARCHIVED_OR_CANCELLED)
{CouldNotDeleteOrders}
#LOOP(#Pager.Items)
#IF(#GET(#ID . "_NOT_ARCHIVED_OR_CANCELLED"))
- {OrderNumber}: #Alias
#ENDIF
#ENDLOOP
#ENDIF
#LOOP(#DeleteObjects)
#ENDLOOP
#ENDIF
#IF(NOT #DELETE)
#SNIPPET("INC-PagerHeader", "ContextObjects", "{Orders}")
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#REM #ENDREM
#ENDIF
#IF(#RequiresPaymentSetup)
#ENDIF
#IF(#DELETE)
|
{OrderNumber} |
{CreationDate} |
{GrandTotal} |
{ShippingMethod} |
{PaymentMethod} |
{Status} |
#ELSE
|
#IF(#Pager.OrderBy NE "Alias")
{OrderNumber}
{BubbleHelpChangeNumberFormat}
{BubbleHelpNumberFormatsLinkText}
|
#ELSIF(#INPUT.OrderDesc)
{OrderNumber}
{BubbleHelpChangeNumberFormat}
{BubbleHelpNumberFormatsLinkText}
|
#ELSE
{OrderNumber}
{BubbleHelpChangeNumberFormat}
{BubbleHelpNumberFormatsLinkText}
|
#ENDIF
#IF(#Pager.OrderBy NE "CreationDate")
{CreationDate}
|
#ELSIF(#INPUT.OrderDesc)
{CreationDate}
|
#ELSE
{CreationDate}
|
#ENDIF
#IF(#Pager.OrderBy NE "LineItemContainer.GrandTotal")
{GrandTotal} |
#ELSIF(#INPUT.OrderDesc)
{GrandTotal}
|
#ELSE
{GrandTotal}
|
#ENDIF
{ShippingMethod} |
{PaymentMethod} |
{Status} |
#ENDIF
#LOCAL("SalesVolume",#SALESVOLUME(#Shop.Object,#Shop.TaxModel,"all",#ObjectID))
0)) class="tfootNotEmpty"#ENDIF>
#IF(NOT #DELETE AND (#SalesVolume >0))
{SumOfOrders}: #SalesVolume[money](#IF(#Shop.TaxModel == 1){Gross}#ELSE#SPACE[0]{Net}#ENDIF)
#ENDIF
|
#ENDLOCAL
#IF(NOT #Pager.CountOfItems)
{NoOrders} |
#ENDIF
#IF(#DELETE)
#LOOP(#DeleteObjects)
#IF(NOT #OriginalOrder)
|
#Alias #INCLUDE("OrderAdditionalListInfo")
#IF(#DEFINED(#Comment) OR #DEFINED(#CustomerComment))
#IF(#DEFINED(#CustomerComment))
{CustomerComment}:
#CustomerComment[preline]
#ENDIF
#IF(#DEFINED(#Comment))
{Comment}:
#Comment[preline]
#ENDIF
#ENDIF
|
#CreationDate[datetime] |
#IF(#IsFraud)
{Conflict}
#LineItemContainer.GrandTotal[money]
{ConflictInfo}
{AmountOfOrder}: #LineItemContainer.GrandTotal[money]
{AmountOfTransaction}: #LineItemContainer.Payment.Amount[money]
#ELSE
#LineItemContainer.GrandTotal[money]
#ENDIF
|
#IF(#LineItemContainer.Shipping.ShippingMethod)
#LineItemContainer.Shipping.ShippingMethod.NameOrAlias
#ELSE
#LineItemContainer.Shipping.Name
#ENDIF
|
#IF(#LineItemContainer.Payment.PaymentMethod)
#LineItemContainer.Payment.PaymentMethod.NameOrAlias
#ELSE
#LineItemContainer.Payment.Name
#ENDIF
|
#INCLUDE("OrderStatusList") |
#ENDIF
#ENDLOOP
#ELSE
#LOOP(#Pager.Items)
|
#Alias
#INCLUDE("OrderAdditionalListInfo")
#IF(#DEFINED(#Comment) OR #DEFINED(#CustomerComment))
#IF(#DEFINED(#CustomerComment))
{CustomerComment}:
#CustomerComment[preline]
#ENDIF
#IF(#DEFINED(#Comment))
{Comment}:
#Comment[preline]
#ENDIF
#ENDIF
|
#CreationDate[datetime] |
#LineItemContainer.GrandTotal[money] |
#LineItemContainer.Shipping.ShippingMethod.NameOrAlias |
#LineItemContainer.Payment.PaymentMethod.NameOrAlias |
#INCLUDE("OrderStatusList") |
#ENDLOOP
#ENDIF
#IF(NOT #DELETE)
#SNIPPET("Pager", "ContextObjects", "{Orders}")
#ENDIF
#IF(#Pager.CountOfItems)
#IF(#DELETE)
#ENDIF
#ENDIF