if (is_subledger_account(get_post('code_id')))
{ // for home currency postings show all customers
$sel_cur = get_post('currency', $order->currency);
- subledger_list_cells(null, 'person_id', get_post('code_id'), null, false, false,
- get_company_currency() == $sel_cur ? null : $sel_cur);
+ subledger_list_cells(null, 'person_id', get_post('code_id'), null);
} elseif ($order->has_sub_accounts())
label_cell('');
if ($dim >= 1)
{
// for home currency postings show all customers
$sel_cur = get_post('currency', $order->currency);
- subledger_list_cells(null, 'person_id', get_post('code_id'), null, false, false,
- get_company_currency() == $sel_cur ? null : $sel_cur);
+ subledger_list_cells(null, 'person_id', get_post('code_id'), null);
}
elseif ($order->has_sub_accounts())
label_cell('');
}
function gl_all_accounts_list_row($label, $name, $selected_id=null,
- $skip_bank_accounts=false, $cells=false, $all_option=false, $type_id=false)
+ $skip_bank_accounts=false, $cells=false, $all_option=false, $submit_on_change=false, $all=false, $type_id=false)
{
echo "<tr><td class='label'>$label</td>";
gl_all_accounts_list_cells(null, $name, $selected_id,
- $skip_bank_accounts, $cells, $all_option, $type_id);
+ $skip_bank_accounts, $cells, $all_option, $submit_on_change, $all, $type_id);
echo "</tr>\n";
}