ekmungai / eloquent-ifrs

Eloquent Double Entry Accounting with a focus on IFRS Compliant Reporting
MIT License
335 stars 68 forks source link

Balance sheet report has string 1111111111 #38

Closed martuico closed 2 years ago

martuico commented 3 years ago

Hi @ekmungai

When generating balance sheet it gives me 11111 in front.

`public function balanceSheet(Request $request) {

    $balanceSheet = new BalanceSheet();
    $balanceSheet->attributes();
    $balanceSheet->getSections();
    return response()->json($balanceSheet, 200);
}`
Screen Shot 2021-03-30 at 4 31 13 AM
ekmungai commented 3 years ago

Hi Mar,

That is indeed strange. Do they appear when you dd($balanceSheet)?

martuico commented 3 years ago

Hi @ekmungai

Yes, it does.

Screen Shot 2021-03-31 at 2 20 53 AM
ekmungai commented 3 years ago

Hmm. Which version are you on?