' . TEXT_POINTS_CANCELLED . '';
if ($pending_points['points_status'] == 4) $points_status_name = '' . TEXT_POINTS_REDEEMED . '';
if ($orders_status['orders_status'] == 2 && $pending_points['points_status'] == 1 || $orders_status['orders_status'] == 3 && $pending_points['points_status'] == 1) {
$points_status_name = TEXT_POINTS_PROCESSING;
}
if (($pending_points['points_type'] == SP) && ($pending_points['points_comment'] == 'TEXT_DEFAULT_COMMENT')) {
$pending_points['points_comment'] = TEXT_DEFAULT_COMMENT;
}
if($pending_points['points_comment'] == 'TEXT_DEFAULT_REDEEMED') {
$pending_points['points_comment'] = TEXT_DEFAULT_REDEEMED;
}
if ($pending_points['points_type'] == RF) {
$referred_name_query = tep_db_query("SELECT customers_name FROM " . TABLE_ORDERS . " WHERE orders_id = '" . $pending_points['orders_id'] . "' LIMIT 1");
$referred_name = tep_db_fetch_array($referred_name_query);
if ($pending_points['points_comment'] == 'TEXT_DEFAULT_REFERRAL') {
$pending_points['points_comment'] = TEXT_DEFAULT_REFERRAL;
}
}
if (($pending_points['points_type'] == RV) && ($pending_points['points_comment'] == 'TEXT_DEFAULT_REVIEWS')) {
$pending_points['points_comment'] = TEXT_DEFAULT_REVIEWS;
}
if (($pending_points['orders_id'] > 0) && (($pending_points['points_type'] == SP)||($pending_points['points_type'] == RD))) {
?>
' . TEXT_STATUS_ADMINISTATION . '';
$pending_points['orders_id'] = '' . TEXT_ORDER_ADMINISTATION . '';
}
?>
|
|
|
|
|
|