X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fincludes%2Fui%2Fgl_journal_ui.inc;fp=gl%2Fincludes%2Fui%2Fgl_journal_ui.inc;h=060524102a1fbafa49c2242418eae2a68481a745;hb=40acce2851269a49d43e2082d7a09058a856a81b;hp=69ed170ce15652ebf177d3639681ebbeca197339;hpb=761ed4535349a1cf8af1900b41eb1a99c31834f0;p=fa-stable.git diff --git a/gl/includes/ui/gl_journal_ui.inc b/gl/includes/ui/gl_journal_ui.inc index 69ed170c..06052410 100644 --- a/gl/includes/ui/gl_journal_ui.inc +++ b/gl/includes/ui/gl_journal_ui.inc @@ -228,8 +228,7 @@ function gl_edit_item_controls(&$order, $dim, $sub_accounts, $Index=null) 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) @@ -246,8 +245,7 @@ function gl_edit_item_controls(&$order, $dim, $sub_accounts, $Index=null) { // 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('');