- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$f = true;
$arOrder = CSaleOrder::GetByID($id_order);
$f = $f && ($arOrder ? true : false);
if ($f) $f = $f && CSaleOrder::StatusOrder($id_order,$status);
if ($f) $f = $f && CSaleOrder::DeliverOrder($id_order,"Y");
if ($f) $f = $f && CSaleOrder::PayOrder($id_order, "Y", true, true);
ling 14.04.2011 14:57 # 0