Changeset 18043 for branches/comu-ver2/data/class/SC_Fpdf.php
- Timestamp:
- 2009/06/04 17:48:21 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/SC_Fpdf.php
r18016 r18043 23 23 24 24 /*---------------------------------------------------------------------- 25 * [名称] GC_Fpdf25 * [名称] SC_Fpdf 26 26 * [概要] pdfファイルを表示する。 27 27 *---------------------------------------------------------------------- … … 32 32 33 33 class SC_Fpdf { 34 35 34 function SC_Fpdf($download, $title, $tpl_pdf = "template_nouhin01.pdf") { 36 35 // デフォルトの設定 … … 67 66 // PDFを読み込んでページ数を取得 68 67 $pageno = $this->pdf->setSourceFile($this->tpl_pdf); 69 #$this->createPdf();70 68 } 71 69 … … 98 96 function setShopData() { 99 97 // ショップ情報 98 100 99 $objInfo = new SC_SiteInfo(); 101 100 $arrInfo = $objInfo->data; … … 109 108 $this->lfText(125, 74, $text, 8); //都道府県+住所1 110 109 $this->lfText(125, 77, $arrInfo['law_addr02'], 8); //住所2 110 111 111 $text = "TEL: ".$arrInfo['law_tel01']."-".$arrInfo['law_tel02']."-".$arrInfo['law_tel03']; 112 112 //FAX番号が存在する場合、表示する … … 116 116 $this->lfText(125, 80, $text, 8); //TEL・FAX 117 117 118 if ( !empty($arrInfo['law_email'])) {118 if ( strlen($arrInfo['law_email']) > 0 ) { 119 119 $text = "Email: ".$arrInfo['law_email']; 120 120 $this->lfText(125, 83, $text, 8); //Email … … 139 139 $objInfo = new SC_SiteInfo(); 140 140 $arrInfo = $objInfo->data; 141 142 141 // DBから受注情報を読み込む 143 142 $this->lfGetOrderData($this->arrData['order_id']); … … 232 231 $arrOrder[$i][1] = ""; 233 232 $arrOrder[$i][2] = $this->sjis_conv("値引き"); 234 $arrOrder[$i][3] = "- ".number_format( $this->arrDisp['use_point']+ $this->arrDisp['discount']).$monetary_unit;233 $arrOrder[$i][3] = "- ".number_format(($this->arrDisp['use_point'] * POINT_VALUE) + $this->arrDisp['discount']).$monetary_unit; 235 234 236 235 $i++;
Note: See TracChangeset
for help on using the changeset viewer.