Пример #1
0
 /** Cancel
  * @param $bol_id
  * @return bool
  */
 public function cancelBol($bol_id)
 {
     $this->_error = '';
     $cancelled = false;
     if (isset($this->resultLogin)) {
         try {
             $this->ePSFacade->invalidatePicking($bol_id);
             $cancelled = true;
         } catch (\Exception $e) {
             $this->_error = $e->getMessage();
             $this->log->addError('Speedy :: cancelBol :: ' . $e->getMessage());
         }
     }
     return $cancelled;
 }