Closed aditiadika closed 3 years ago
Hi Adit,
You are skipping a step. For example, after instantiating the balance sheet, you need to call $balanceSheet->getTransactions()
Cheers
thanks for your reply @ekmungai , when i dd $balanceSheet->getTransactions() -> return an error "Call to undefined method IFRS\Reports\BalanceSheet::getTransactions()" i used package v2.0.1, when i check on vendor Report\BalanceSheet only available toString() & getSections(), when i dd getSections()& toString() always return null
After calling getSections(), whats the output of dd'ing the $balanceSheet object?
when i dd($balanceSheet):
dd($balanceSheet->getSections()):
thanks @ekmungai
Hi Adit,
Sorry about the mistake, I meant getSections(). This function does not return anything which is why dd gives null. Try call in and then inspecting the $balanceSheet object via dd. Also debug the actual query called in Account::getSections()
to ensure that the date ranges are in line with the data in your tables
Cheers
hai @ekmungai how to show/get report? i try get report trial balance or profit loss with example on the docs always return null, even though on the table ledger already record. here is example to get report. i used v2.0.1:
thanks