$connection,
$deLangId,
$this->
getDeliveryReturnedPartiallyHTMLTemplateDe(),
$this->
getDeliveryReturnedPartiallyPlainTemplateDe() );
// update order state email template
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_STATE_CANCELLED,
$connection,
$deLangId,
$this->
getOrderStateCancelledHTMLTemplateDe(),
$this->
getOrderStateCancelledPlainTemplateDe() );
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_STATE_OPEN,
$connection,
$deLangId,
$this->
getOrderStateOpenHTMLTemplateDe(),
$this->
getOrderStateOpenPlainTemplateDe() );