#IF(#DEFINED(#INPUT.NewCreatedOrder))
#ELSIF(#DEFINED(#NewCreatedOrder))
#ENDIF
#IF(#LineItemContainer.IsTaxClassRemoved)
{Notification}
{TaxClassRemoved}
#ENDIF
#IF(#LineItemContainer.IsTaxClassParentBackup)
{Notification}
{BackupTaxClass}
#ENDIF
#IF(#FUNCTION("MENU_COUNT", "InfoBox"))
#MENU("InfoBox")
#INCLUDE(#Template)
#ENDMENU
#ENDIF
#IF(#CHANGE_STATUS_WARNING)
{Attention}
#MENU("ChangeStatusWarnings")
#INCLUDE(#Template)
#ENDMENU
#ENDIF
#IF(#FormError)
#IF(#OBJECT_EXISTS)
{InputError}
{OrderExists}
#ELSIF(#FormErrors.Reason.No_Recipients)
{NoCustomerEmail}
#ELSIF(#FormErrors.Reason.NoShipping)
{InputError}
{NoShippingSelection}
#ELSIF(#FormErrors.Reason.NoPayment)
{InputError}
{NoPaymentSelection}
#ELSIF(#FormErrors.Reason.OrderNoExists)
{InputError}
{OrderNoExists}
#ELSIF(#FormErrors.Reason.SEND_MAIL_FAILED OR #FormErrors.Reason.InactiveMailType OR #FormErrors.Reason.MISSING_FROM)
{Notification}
{SEND_MAIL_FAILED}
#ELSIF(#FormErrors.Reason.Invalid_Recipient)
{Notification}
{Invalid_Recipient} (#Recipient)
#ELSIF(#FormErrors.Reason.ShippingMethodChanged)
{InputError}
{ShippingMethodChanged}
#ELSIF(#FormErrors.Reason.PaymentMethodChanged)
{InputError}
{PaymentMethodChanged}
#ELSIF(#FormErrors.Reason.NoShippingMethod)
{InputError}
{NoShippingSelection}
#ELSIF(#FormErrors.Reason.NoPaymentMethod)
{InputError}
{NoPaymentSelection}
#ELSIF(#FormErrors.Reason.ProductNoPrice)
{InputError}
{ProductNoPriceMBO}
#ELSIF(#FormErrors.Reason.ProductCanNotAddToBasket)
{InputError}
{ProductCanNotAddToBasket}
#ELSIF(#FormErrors.Reason.ProductCanNotChangedAtBasket)
{InputError}
{ProductCanNotChangedAtBasket}
#ELSIF(#FormErrors.Reason.NotArchivedOrCancelled)
{Notification}
{CanNotDeleteOrder}
#ELSIF(#FormErrors.Reason.INPUT_FIELD_FIELD_TOO_LONG)
{InputError}
{StringTooLong}
#ELSE
{InputError}
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#IF(#No_SMTPConnection)
{Notification}
{SEND_MAIL_FAILED}
#ELSIF(#ORDERCONF_SEND_OK OR #SEND_MAIL_OK)
{EMailSendOk}
#ENDIF
#IF(#EMAIL_MISSING)
{Notification}
{NoCustomerEmail}
#ENDIF
#IF(#NOT_ARCHIVED_OR_CANCELLED)
{Notification}
{CanNotDeleteOrder}
#ENDIF
#IF(#DELETE)
{QuestDeleteOrderIncDocs}
#ENDIF
#IF(#IsFraud)
{Conflict}
{ConflictInfo}
{AmountOfOrder}: #LineItemContainer.GrandTotal[money]
{AmountOfTransaction}: #LineItemContainer.Payment.Amount[money]
#ENDIF
#INCLUDE("DocumentCreationMessage")
#IF(NOT #OriginalOrder)
{Status}
#MENU("OrderAdditionalInfo")
#INCLUDE(#Template)
#ENDMENU
#REM
#ENDREM
#LOCAL("DisableSendMail", 0)
#MENU("AdditionalSendMailLogic")
#INCLUDE(#Template) #REM#ENDREM
#ENDMENU
#BLOCK("WITH_FORM_ERROR", #FormError)
#ENDBLOCK
#ENDLOCAL
#BLOCK("WITH_FORM_ERROR", #FormError)
#ENDBLOCK
#INCLUDE("INC-OrderInformationTable")
{CustomerComment}
{BubbleHelpCusomerComment} {Example}: {TrackingCode}
#ELSE
#IF(#UpdateNotApplied AND NOT #FormError)
{Notification}
{UpdateNotApplied}
#ENDIF
#IF(#SKUNotExists)
{InputError}
{InvalidProduct}
#ENDIF
#BLOCK("WITH_FORM_ERROR", #FormError)
#ENDBLOCK
#INCLUDE("INC-EditOrderInformationTable")
{CustomerComment}
{BubbleHelpCusomerComment} {Example}: {TrackingCode}
#ENDIF