Changeset 23053


Ignore:
Timestamp:
2013/08/11 14:24:47 (7 years ago)
Author:
poego
Message:

#2222 受注編集でお届け日の実在日チェックを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r23039 r23053  
    610610    { 
    611611        $objProduct = new SC_Product_Ex(); 
     612        $arrValues = $objFormParam->getHashArray(); 
    612613 
    613614        $arrErr = array(); 
    614615        $arrErrTemp = $objFormParam->checkError(); 
    615  
    616         $arrValues = $objFormParam->getHashArray(); 
     616        $arrErrDate = array(); 
     617        foreach ($arrValues['shipping_date_year'] as $key_index => $year) { 
     618            $month = $arrValues['shipping_date_month'][$key_index]; 
     619            $day = $arrValues['shipping_date_day'][$key_index]; 
     620            $objError = new SC_CheckError_Ex(array('shipping_date_year' => $year, 
     621                'shipping_date_month' => $month, 
     622                'shipping_date_day' => $day)); 
     623            $objError->doFunc(array('お届け日', 'shipping_date_year', 'shipping_date_month', 'shipping_date_day'), array('CHECK_DATE')); 
     624            $arrErrDate['shipping_date_year'][$key_index] = $objError->arrErr['shipping_date_year']; 
     625        } 
     626        $arrErrTemp = array_merge($arrErrTemp, $arrErrDate); 
     627 
    617628 
    618629        // 商品の種類数 
Note: See TracChangeset for help on using the changeset viewer.