Ignore:
Timestamp:
2009/06/04 17:48:21 (15 years ago)
Author:
Seasoft
Message:

merge r17783
・取得元: version-2_4
【取得元のログメッセージ】

  • #297 納品書PDF一括出力対応
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/SC_Fpdf.php

    r18016 r18043  
    2323 
    2424/*---------------------------------------------------------------------- 
    25  * [名称] GC_Fpdf 
     25 * [名称] SC_Fpdf 
    2626 * [概要] pdfファイルを表示する。 
    2727 *---------------------------------------------------------------------- 
     
    3232 
    3333class SC_Fpdf { 
    34        
    3534    function SC_Fpdf($download, $title, $tpl_pdf = "template_nouhin01.pdf") { 
    3635        // デフォルトの設定 
     
    6766        // PDFを読み込んでページ数を取得 
    6867        $pageno = $this->pdf->setSourceFile($this->tpl_pdf); 
    69         #$this->createPdf(); 
    7068    } 
    7169 
     
    9896    function setShopData() { 
    9997        // ショップ情報 
     98 
    10099        $objInfo = new SC_SiteInfo(); 
    101100        $arrInfo = $objInfo->data; 
     
    109108        $this->lfText(125, 74, $text, 8);  //都道府県+住所1 
    110109        $this->lfText(125, 77, $arrInfo['law_addr02'], 8);          //住所2 
     110 
    111111        $text = "TEL: ".$arrInfo['law_tel01']."-".$arrInfo['law_tel02']."-".$arrInfo['law_tel03']; 
    112112        //FAX番号が存在する場合、表示する 
     
    116116        $this->lfText(125, 80, $text, 8);  //TEL・FAX 
    117117 
    118         if (!empty($arrInfo['law_email'])) { 
     118        if ( strlen($arrInfo['law_email']) > 0 ) { 
    119119            $text = "Email: ".$arrInfo['law_email']; 
    120120            $this->lfText(125, 83, $text, 8);      //Email 
     
    139139        $objInfo = new SC_SiteInfo(); 
    140140        $arrInfo = $objInfo->data; 
    141  
    142141        // DBから受注情報を読み込む 
    143142        $this->lfGetOrderData($this->arrData['order_id']); 
     
    232231        $arrOrder[$i][1] = ""; 
    233232        $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; 
    235234 
    236235        $i++; 
Note: See TracChangeset for help on using the changeset viewer.