Example #1
0
 /**
  * Logs comment to the order
  * @param TinyBrick_OrderEdit_Model_Order $order
  * @param string $comment Comment appended to order
  * @param string $status Status of order
  * @param int $notify Notify customer
  */
 public function logComment(TinyBrick_OrderEdit_Model_Order $order, $comment, $status, $notify = 0)
 {
     $order->addStatusToHistory($status, $comment, $notify);
     $order->save();
 }