public function testAllBalanceWithAgg() { $oContainer = $this->getContainer(); $oTrialDate = new DateTime('now'); $bUseAgg = true; $oBalance = new TrialBalance($oContainer, $oTrialDate, $bUseAgg); $oBalance->getTrialBalance(); }
/** * Class constructor * * @param LedgerContainer $oContainer The service DI container * @param DateTime $oTrialDate The date to run the trail balance too. * @param integer $iUser The user database id from ledger_user * @param boolean $bUseAggSource Use the Agg table ledger_daily_user or the ledger_entry * */ public function __construct(LedgerContainer $oContainer, DateTime $oTrialDate, $iUser, $bUseAggSource = true) { $this->iUser = $iUser; parent::__construct($oContainer, $oTrialDate, $bUseAggSource); }