Beispiel #1
0
 /**
  * 
  * @param type $idSale - the id of the sale
  * @return all errors reported for the specified idSale
  */
 public static function fetchDailySalesErrors($idSale)
 {
     $model = new Default_Model_DailySalesError();
     $select = $model->getMapper()->getDbTable()->select()->where('idSale = ?', $idSale);
     $result = $model->fetchAll($select);
     return $result;
 }