-/*
- if ($_SESSION['Items']->trans_no == 0) {
-
- submit_center_first('ProcessOrder', $porder,
- _('Check entered data and save document'), 'default');
- submit_js_confirm('CancelOrder', _('You are about to void this Document.\nDo you want to continue?'));
- } else {
- if ($_SESSION['Items']->trans_type==ST_SALESORDER)
- submit_js_confirm('CancelOrder', _('You are about to cancel undelivered part of this order.\nDo you want to continue?'));
- submit_center_first('ProcessOrder', $corder,
- _('Validate changes and update document'), 'default');
- }