/**
  *
  *@return FieldList
  **/
 function getCMSFields()
 {
     $fields = parent::getCMSFields();
     $dispatchedOnLabel = _t("OrderStatusLog.DISPATCHEDON", "Dispatched on");
     $fields->replaceField("DispatchedOn", $dispatchedOnField = new TextField("DispatchedOn", $dispatchedOnLabel));
     $dispatchedOnField->setRightTitle(_t("OrderStatusLog.DISPATCHED_ON_NOTE", "Please use year-month-date, e.g. 2015-11-23"));
     $dispatchLinkField = $fields->dataFieldByName("DispatchLink");
     $dispatchLinkField->setRightTitle(_t("OrderStatusLog.LINK_EXAMPLE", "e.g. http://www.ups.com/mytrackingnumber"));
     $dispatchLinkField = $fields->dataFieldByName("Note");
     $dispatchLinkField->setTitle(_t("OrderStatusLog.NOTE_NEW_TITLE", "Customer Message (*)"));
     $dispatchLinkField->setRightTitle(_t("OrderStatusLog.NOTE_NOTE", "This field is required"));
     return $fields;
 }
 /**
  *
  *@return FieldSet
  **/
 function getCMSFields()
 {
     $fields = parent::getCMSFields();
     $dispatchedOnLabel = _t("OrderStatusLog.DISPATCHEDON", "Dispatched on (Year - month - date): ");
     $fields->replaceField("DispatchedOn", new TextField("DispatchedOn", $dispatchedOnLabel));
     return $fields;
 }