Changeset 13823


Ignore:
Timestamp:
2007/05/30 17:33:30 (17 years ago)
Author:
matsumoto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/order/mail.php

    r13822 r13823  
    124124} 
    125125 
    126 //function lfGetOrderData($order_id) { 
    127 //  global $objFormParam; 
    128 //  global $objPage; 
    129 //  if(sfIsInt($order_id)) { 
    130 //      // DB¤«¤é¼õÃí¾ðÊó¤òÆɤ߹þ¤à 
    131 //      $objQuery = new SC_Query(); 
    132 //      $where = "order_id = ?"; 
    133 //      $arrRet = $objQuery->select("*", "dtb_order", $where, array($order_id)); 
    134 //      $objFormParam->setParam($arrRet[0]); 
    135 //      list($point, $total_point) = sfGetCustomerPoint($order_id, $arrRet[0]['use_point'], $arrRet[0]['add_point']); 
    136 //      $objFormParam->setValue('total_point', $total_point); 
    137 //      $objFormParam->setValue('point', $point); 
    138 //      $objPage->arrDisp = $arrRet[0]; 
    139 //      // ¼õÃí¾ÜºÙ¥Ç¡¼¥¿¤Î¼èÆÀ 
    140 //      $arrRet = lfGetOrderDetail($order_id); 
    141 //      $arrRet = sfSwapArray($arrRet); 
    142 //      $objPage->arrDisp = array_merge($objPage->arrDisp, $arrRet); 
    143 //      $objFormParam->setParam($arrRet); 
    144 //       
    145 //      // ¤½¤Î¾»Ùʧ¤¤¾ðÊó¤òɽ¼¨ 
    146 //      if($objPage->arrDisp["memo02"] != "") $objPage->arrDisp["payment_info"] = unserialize($objPage->arrDisp["memo02"]); 
    147 //      if($objPage->arrDisp["memo01"] == PAYMENT_CREDIT_ID){ 
    148 //          $objPage->arrDisp["payment_type"] = "¥¯¥ì¥¸¥Ã¥È·èºÑ"; 
    149 //      }elseif($objPage->arrDisp["memo01"] == PAYMENT_CONVENIENCE_ID){ 
    150 //          $objPage->arrDisp["payment_type"] = "¥³¥ó¥Ó¥Ë·èºÑ"; 
    151 //      }else{ 
    152 //          $objPage->arrDisp["payment_type"] = "¤ª»Ùʧ¤¤"; 
    153 //      } 
    154 //  } 
    155 //} 
     126function lfGetOrderData($order_id) { 
     127    global $objFormParam; 
     128    global $objPage; 
     129    if(sfIsInt($order_id)) { 
     130        // DB¤«¤é¼õÃí¾ðÊó¤òÆɤ߹þ¤à 
     131        $objQuery = new SC_Query(); 
     132        $where = "order_id = ?"; 
     133        $arrRet = $objQuery->select("*", "dtb_order", $where, array($order_id)); 
     134        $objFormParam->setParam($arrRet[0]); 
     135        list($point, $total_point) = sfGetCustomerPoint($order_id, $arrRet[0]['use_point'], $arrRet[0]['add_point']); 
     136        $objFormParam->setValue('total_point', $total_point); 
     137        $objFormParam->setValue('point', $point); 
     138        $objPage->arrDisp = $arrRet[0]; 
     139    } 
     140} 
Note: See TracChangeset for help on using the changeset viewer.