Topic: subledger_list_cells defined with 4 parameters and called with more

From the subledger_list_cells definition, we have only 4 parameters.

function subledger_list_cells($label, $name, $account, $selected_id=null)

and it was called from gl_journal_ui.inc. like this.

subledger_list_cells(null, 'person_id', get_post('code_id'), null, false, false,
                get_company_currency() == $sel_cur  ? null : $sel_cur);

Is there any reason with that. How its been used inside the same function.
@joe

Subscription service based on FA
HRM CRM POS batch Themes

Re: subledger_list_cells defined with 4 parameters and called with more

I will ask @itronics to look into this.

Joe

Re: subledger_list_cells defined with 4 parameters and called with more

Yes, indeed those were traces of some never implemented per customer multicurrency clearences. Fixed.
J.