- if ($qes)
- table_section(2, "20%");
- else
- table_section(2, "50%");
+ 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();
+
+ table_section(2);
+
+ date_row(_("Document Date:"), 'doc_date', '', $new);
+ date_row(_("Event Date:"), 'event_date', '', $new);
+ text_row(_("Source ref:"), 'source_ref', null, 30, 60);
+
+ if ($new) {
+ table_section(3);
+ }
+
+ ref_row(_("Reference:"), 'ref', null, get_post('ref'), false, ST_JOURNAL, get_post('date_'));
+ hidden('ref_original');