public function getAmountDifference()
    {
        $amount = ($this->hasChildren() ? $this->getGlobalAmount() : $this->getAmount());
        return ($amount - $this->getTransactionsAmount());
    }
public function getAmountDifference()
    {
        $amount = ($this->hasChildren() ? $this->getGlobalAmount() : $this->getAmount());
        return ($amount - $this->getTransactionsAmount());
    }
public function getAmountDifference ( ) { $ amount = ( $ this -> hasChildren ( ) ? $ this -> getGlobalAmount ( ) : $ this -> getAmount ( ) ) ; return ( $ amount - $ this -> getTransactionsAmount ( ) ) ; }
Get budget amount difference

@return float
Get budget amount difference