#BLOCK("WITH_FORM_ERROR", #FormError) #WITH(#Order) #ENDWITH #LOCAL("InternationalShipment", "") #IF(#DEFINED(#Order.ShippingAddress)) #IF(#Order.ShippingAddress.Country.Code2 EQ "DE") #SET("InternationalShipment", "0") #ELSE #SET("InternationalShipment", "0") #ENDIF #ELSE #IF(#Order.BillingAddress.Country.Code2 EQ "DE") #SET("InternationalShipment", "0") #ELSE #SET("InternationalShipment", "1") #ENDIF #ENDIF #IF(#InternationalShipment EQ "1") #ELSE #ENDIF #ENDLOCAL #IF(#Issued) #ENDIF
{DHLShippingLabel}
{DHLShippingNumber} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #Alias #ELSE #ENDIF  
{CustomerNoShort} #Customer.Alias #IF(#Issued AND #DEFINED(#DHLShoppingCart.ID)) {GoToDHLShoppingCart} #ELSE   #ENDIF
{DispatchType} {CouponCode} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#CouponCode) #CouponCode #ELSE {NONE} #ENDIF #ELSE #ENDIF
{OverallWeight} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #EnteredOrCalculatedOverallWeight[float] kg #ELSE kg #ENDIF {ShipmentId} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#ShipmentId)) #IF(#ProductId[substr:0:5] EQ "PAECK" AND #Proof EQ "0") #ShipmentId ({NoTrackingPossible}) #ELSE #LOCAL("TrackingParameter", "") #IF(#Address.Country.Code2 EQ "DE") #SET("TrackingParameter", "&zip=".#Address.Zipcode) #ELSE #SET("TrackingParameter", "&internationalShipment=on") #ENDIF #LOCAL("DHLTrackingLanguage","") #IF( (#Session.User.LocaleID EQ "de_DE") OR (#Session.User.LocaleID EQ "de_AT") OR (#Session.User.LocaleID EQ "de_CH") ) #SET("DHLTrackingLanguage","de") #ELSE #SET("DHLTrackingLanguage","en") #ENDIF #ShipmentId #ENDLOCAL #ENDLOCAL #ENDIF #ELSE {NONE} #ENDIF #ELSE #ENDIF
#IF(#FormErrors.Reason.GetProductsFromDBError)

{DatabaseError}

#ELSIF(NOT #DisplayName)

{InputError}

{GetProductsFromDBErrorNoSuchProduct} #ELSE

{YourChosenDHLProduct}: #DisplayName

#DisplayText
#LOCAL("CurrencyID","EUR") {Price}: #OverallPriceAmountEUR[money] #IF(#PickupService) {PickupPrice}#ENDIF #ENDLOCAL #ENDIF
{ShippingDimensions}
{Length} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#Length))#Length cm #ENDIF #ELSE cm #ENDIF
{Width} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#Width))#Width cm #ENDIF #ELSE cm #ENDIF
{Height} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#Depth))#Depth cm #ENDIF #ELSE cm #ENDIF
{AdditionalServices}:
GoGreen
{Proof}
{RolePackage}
GoGreen
{BulkGoods}
{RolePackage}
{Insurance} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#Insurance)) #IF(#Insurance EQ "NONE") {NONE} #ELSIF(#Insurance EQ "VERSI") {VERSI} #ELSIF(#Insurance EQ "VERSI25000") {VERSI25000} #ENDIF #ELSE {NONE} #ENDIF #ELSE #ENDIF
{PickupService} {PickupDate} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#DEFINED(#PickupDate)) #PickupDate[date] #ELSE {NoPickupServiceOrdered} #ENDIF #ELSE #IF(#PickupService NE "1") #ENDIF #ENDIF
{PreAdviceType} #IF(#Issued OR #INPUT.ViewAction EQ "MBO-ViewNewDHLShippingLabelQuestion") #IF(#PreAdviceType EQ "0") {PA_DESTROY} #ELSE {PA_RETURN} #ENDIF #ELSE #ENDIF   
{Gross} #IF( #DEFINED(#PdfDownloadUrl) ) #BruttoAmount[money] #ELSE --- #ENDIF {ShippingLabel} #IF( #DEFINED(#PdfDownloadUrl) ) {Download} #ELSE --- #ENDIF / #IF( #DEFINED(#AwtDownloadUrl) ) {PrintNow}{PrintNow} #ELSE --- #ENDIF
#ENDBLOCK