}
check_row(_('Include in tax register:'), 'taxable_trans', null, true);
+ // Query the user to retain the reconciled status
+ if (!$new) {
+ $result = get_bank_trans(ST_JOURNAL, $Order->order_id);
+ $row = db_fetch($result);
+ if ($row
+ && $row['reconciled']) {
+ check_row(_('Reconciled:'), 'reconciled', 1, true);
+ hidden('reconciled_date', $row['reconciled']);
+ }
+ }
end_outer_table(1);
}
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('');
dimensions_list_cells(null, 'dimension_id', null, true, " ", false, 1);
if ($dim > 1)
dimensions_list_cells(null, 'dimension2_id', null, true, " ", false, 2);
+ $_POST['LineMemo'] = "";
}
if (get_post('_code_id_update'))