Ignore:
Timestamp:
2010/06/16 16:28:56 (12 years ago)
Author:
kajiwara
Message:

#719 在庫不足時の文言を変更しました。

File:
1 edited

Legend:

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

    r18699 r18707  
    111111        $objSiteInfo = new SC_SiteInfo(); 
    112112        $objDb = new SC_Helper_DB_Ex(); 
    113         $objDate = new SC_Date(1970);  
    114         $this->arrYearDelivDate = $objDate->getYear('', date('Y'), '');  
    115         $this->arrMonthDelivDate = $objDate->getMonth(true);  
     113        $objDate = new SC_Date(1970); 
     114        $this->arrYearDelivDate = $objDate->getYear('', date('Y'), ''); 
     115        $this->arrMonthDelivDate = $objDate->getMonth(true); 
    116116        $this->arrDayDelivDate = $objDate->getDay(true); 
    117117        $arrInfo = $objSiteInfo->data; 
     
    381381        $this->objFormParam->addParam("お届け時間ID", "deliv_time_id", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    382382        $this->objFormParam->addParam("対応状況", "status", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    383         $this->objFormParam->addParam("お届け日(年)", "deliv_date_year", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"));   
    384         $this->objFormParam->addParam("お届け日(月)", "deliv_date_month", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"));   
     383        $this->objFormParam->addParam("お届け日(年)", "deliv_date_year", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     384        $this->objFormParam->addParam("お届け日(月)", "deliv_date_month", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    385385        $this->objFormParam->addParam("お届け日(日)", "deliv_date_day", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    386386        $this->objFormParam->addParam("お支払方法名称", "payment_method"); 
     
    512512                if (!isset($arrErr['quantity'])) $arrErr['quantity'] = ""; 
    513513 
    514                 $arrErr['quantity'] .= $this->arrForm['product_name'][$i] . '/(' . $className1 . ')/(' . $className2 . ')の数量(' . $arrVal['quantity'][$i]. ')と受注時の数量(' . $this->arrForm['quantity'][$i] . ')の差分(' . ($arrVal['quantity'][$i] - $this->arrForm['quantity'][$i]) . ')は在庫数(' . $productClass['stock'] . ')を上まわっています。<br />'; 
     514                $arrErr['quantity'] .= $this->arrForm['product_name'][$i] . '/(' . $className1 . ')/(' . $className2 . ') の在庫が不足しています。 設定できる数量は「' . ($this->arrForm['quantity'][$i] + $productClass['stock']) . '」までです。<br />'; 
    515515            } 
    516516        } 
Note: See TracChangeset for help on using the changeset viewer.