Changeset 18095
- Timestamp:
- 2009/06/10 13:52:51 (15 years ago)
- Location:
- branches/comu-ver2/data/class
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r18093 r18095 557 557 $objQuery = new SC_Query(); 558 558 if (USE_POINT !== false) { 559 560 561 559 $arrRet = $objQuery->select("point", "dtb_customer", "customer_id = ?", array($customer_id)); 560 $point = $arrRet[0]['point']; 561 $total_point = $arrRet[0]['point'] - $use_point + $add_point; 562 562 } else { 563 563 $total_point = 0; -
branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order.php
r17994 r18095 124 124 case 'delete': 125 125 case 'csv': 126 case 'pdf':127 126 case 'delete_all': 128 127 case 'search': … … 300 299 SC_Utils_Ex::sfCSVDownload($head.$data); 301 300 exit; 302 break;303 case 'pdf':304 $objFpdf = new SC_Fpdf(1, '納品書');305 $objFpdf->setData($arrRet);306 $objFpdf->createPdf();307 301 break; 308 302 case 'delete_all': -
branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order_Pdf.php
r17994 r18095 51 51 $this->tpl_subtitle = '帳票出力'; 52 52 53 54 55 53 $this->SHORTTEXT_MAX = STEXT_LEN; 54 $this->MIDDLETEXT_MAX = MTEXT_LEN; 55 $this->LONGTEXT_MAX = LTEXT_LEN; 56 56 57 57 $this->arrType[0] = "納品書"; 58 58 59 60 59 $this->arrDownload[0] = "ブラウザに開く"; 60 $this->arrDownload[1] = "ファイルに保存"; 61 61 } 62 62 … … 102 102 // エラー入力なし 103 103 if (count($this->arrErr) == 0) { 104 $i = 0;105 104 $objFpdf = new SC_Fpdf($arrRet['download'], $arrRet['title']); 106 foreach ($arrRet['order_id'] AS $key =>$val) {105 foreach ($arrRet['order_id'] AS $key => $val) { 107 106 $arrPdfData = $arrRet; 108 107 $arrPdfData['order_id'] = $val; 109 108 $objFpdf->setData($arrPdfData); 110 ++$i;111 109 } 112 110 $objFpdf->createPdf();
Note: See TracChangeset
for help on using the changeset viewer.