Ignore:
Timestamp:
2011/01/10 16:57:29 (12 years ago)
Author:
nanasess
bzr:base-revision:
nanasess@fsm.ne.jp-20110110045915-6b02oxleldtyw7ee
bzr:committer:
Kentaro Ohkouchi <nanasess@fsm.ne.jp>
bzr:file-ids:

data/class/helper/SC_Helper_Purchase.php sc_helper_purchase.p-20101020100530-jyaoa7ch9pdfjqzp-1
data/class/pages/shopping/LC_Page_Shopping.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping.php
data/class/pages/shopping/LC_Page_Shopping_Confirm.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Confirm.php
data/class/pages/shopping/LC_Page_Shopping_Deliv.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Deliv.php
data/class/pages/shopping/LC_Page_Shopping_Payment.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Payment.php
html/install/sql/create_table_mysql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_mysql.sql
html/install/sql/create_table_pgsql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_pgsql.sql
bzr:mapping-version:
v4
bzr:merge:

nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
nanasess@fsm.ne.jp-20110110075706-tq0uswsfrsetr0rq
bzr:revno:
2590
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/class/helper/SC_Helper_Purchase.php nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
data/class/pages/shopping/LC_Page_Shopping.php nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
data/class/pages/shopping/LC_Page_Shopping_Confirm.php nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
data/class/pages/shopping/LC_Page_Shopping_Deliv.php nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
data/class/pages/shopping/LC_Page_Shopping_Payment.php nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
html/install/sql/create_table_mysql.sql nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
html/install/sql/create_table_pgsql.sql nanasess@fsm.ne.jp-20110110075529-5iceg1qu15cmyr60
bzr:timestamp:
2011-01-10 16:57:06.664000034 +0900
bzr:user-agent:
bzr2.2.2+bzr-svn1.0.4
svn:original-date:
2011-01-10T07:57:06.664000Z
Message:

#843(複数配送先の指定)

  • お届け先の指定を修正
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r19860 r19861  
    143143            if(count($this->arrErr) == 0) { 
    144144                // DBへのデータ登録 
    145                 $this->lfRegistData($uniqid); 
     145                $this->lfRegistData($uniqid, $objPurchase); 
     146                $_SESSION['shipping'][0]['time_id'] = $this->objFormParam->getValue('deliv_time_id'); 
     147                $_SESSION['shipping'][0]['deliv_date'] = $this->objFormParam->getValue('deliv_date'); 
    146148                // 正常に登録されたことを記録しておく 
    147149                $objSiteSess->setRegistFlag(); 
    148150                // 確認ページへ移動 
    149                 $this->objDisplay->redirect($this->getLocation(SHOPPING_CONFIRM_URL_PATH, array(), true)); 
     151                SC_Response_Ex::sendRedirect(SHOPPING_CONFIRM_URL_PATH); 
    150152                exit; 
    151153            }else{ 
     
    161163            // 正常な推移であることを記録しておく 
    162164            $objSiteSess->setRegistFlag(); 
    163             $this->objDisplay->redirect(SHOPPING_URL); 
     165            SC_Response_Ex::sendRedirect(SHOPPING_URL); 
    164166            exit; 
    165167            break; 
     
    364366        $this->objFormParam->addParam("お支払い方法", "payment_id", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    365367        $this->objFormParam->addParam("ポイント", "use_point", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK", "ZERO_START")); 
    366         $this->objFormParam->addParam("お届け時間", "deliv_time_id", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), "", false); 
     368        $this->objFormParam->addParam("お届け時間", "deliv_time_id", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
    367369        $this->objFormParam->addParam("ご質問", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    368370        $this->objFormParam->addParam("ポイントを使用する", "point_check", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), '2'); 
    369         $this->objFormParam->addParam("お届け日", "deliv_date", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK"), "", false); 
     371        $this->objFormParam->addParam("お届け日", "deliv_date", STEXT_LEN, "KVa", array("MAX_LENGTH_CHECK")); 
    370372    } 
    371373 
     
    427429 
    428430    /* DBへデータの登録 */ 
    429     function lfRegistData($uniqid) { 
    430         $objDb = new SC_Helper_DB_Ex(); 
     431    function lfRegistData($uniqid, &$objPurchase) { 
    431432 
    432433        $sqlval = $this->objFormParam->getDbArray(); 
     
    444445        } 
    445446 
    446         // 受注_Tempテーブルに登録 
    447         $objDb->sfRegistTempOrder($uniqid, $sqlval); 
     447        $objPurchase->saveOrderTemp($uniqid, $sqlval); 
    448448    } 
    449449 
Note: See TracChangeset for help on using the changeset viewer.