src/Invoice/Completor.php
protected function checkMissingAmount()
    {
        // Check if we are missing an amount and, if so, add a line for it.
        $this->completeLineTotals();
        $areTotalsEqual = $this->areTotalsEqual();
        if ($areTotalsEqual === false) {
            $this->addMissingAmountLine();
        }
    }
protected function checkMissingAmount()
    {
        // Check if we are missing an amount and, if so, add a line for it.
        $this->completeLineTotals();
        $areTotalsEqual = $this->areTotalsEqual();
        if ($areTotalsEqual === false) {
            $this->addMissingAmountLine();
        }
    }
protected function checkMissingAmount ( ) { // Check if we are missing an amount and, if so, add a line for it. $ this -> completeLineTotals ( ) ; $ areTotalsEqual = $ this -> areTotalsEqual ( ) ; if ( $ areTotalsEqual === false ) { $ this -> addMissingAmountLine ( ) ; } }
Checks for a missing amount and handles it.
Checks for a missing amount and handles it .