+ table_section(1);
+
+ date_row(_("Journal Date:"), 'date_', '', $new, 0,0,0,null, true);
+ if (input_changed('date_'))
+ {
+ unset($_POST['ref']);
+ $Ajax->activate('ref');
+ }
+
+ currencies_list_row(_('Currency:'), 'currency', null, true);
+ if (list_updated('currency'))
+ unset($_POST['_ex_rate']);
+ exchange_rate_display(get_company_pref('curr_default'), get_post('currency'), get_post('date_'), true);
+
+ if (list_updated('currency'))
+ $Order->clear_items();