public function filterReturnDelete($output) { if ($this->isRecalc && $output) { $this->makeOrderRecalc(); } return parent::filterReturn($output); }