return false;
case ST_COSTUPDATE : // it's a stock cost update
return false;
- break;
}
return true;
{
display_error(_("The selected transaction was closed for edition and cannot be voided."));
set_focus('trans_no');
- return;
+ return false;
}
if (!is_date($_POST['date_']))
{