Changeset 22300 for branches/version-2_12-multilang/data/class/SC_Fpdf.php
- Timestamp:
- 2013/01/22 11:36:56 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/SC_Fpdf.php
r22205 r22300 107 107 // 郵便番号 108 108 // $text = '〒 ' . $arrInfo['law_zip01'] . ' - ' . $arrInfo['law_zip02']; 109 $text = '〒 '. $arrInfo['law_zipcode'];109 $text = t('SC_Fpdf_021') . $arrInfo['law_zipcode']; 110 110 $this->lfText(125, 71, $text, 8); 111 111 // 都道府県+所在地 … … 117 117 //FAX番号が存在する場合、表示する 118 118 if (strlen($arrInfo['law_fax01']) > 0) { 119 $text .= ' 119 $text .= ' FAX: '.$arrInfo['law_fax01'].'-'.$arrInfo['law_fax02'].'-'.$arrInfo['law_fax03']; 120 120 } 121 121 $this->lfText(125, 80, $text, 8); //TEL・FAX … … 152 152 // 購入者情報 153 153 // $text = '〒 '.$this->arrDisp['order_zip01'].' - '.$this->arrDisp['order_zip02']; 154 $text = '〒 '.$this->arrDisp['order_zipcode'];154 $text = t('SC_Fpdf_021') . $this->arrDisp['order_zipcode']; 155 155 $this->lfText(23, 43, $text, 10); //購入者郵便番号 156 156 $text = $this->arrPref[$this->arrDisp['order_pref']] . $this->arrDisp['order_addr01']; 157 157 $this->lfText(27, 47, $text, 10); //購入者都道府県+住所1 158 158 $this->lfText(27, 51, $this->arrDisp['order_addr02'], 10); //購入者住所2 159 $text = $this->arrDisp['order_name01'].' '.$this->arrDisp['order_name02'].' 様';159 $text = t('SC_Fpdf_018', array('T_LASTNAME' => $this->arrDisp['order_name01'], 'T_FIRSTNAME' => $this->arrDisp['order_name02'])); 160 160 $this->lfText(27, 59, $text, 11); //購入者氏名 161 161 … … 170 170 $this->Cell(5, 0, '', 0, 0, 'R', 0, ''); 171 171 $this->SetFont('SJIS', 'B', 15); 172 $tokens = array( 173 'T_PRICE' => number_format($this->arrDisp['payment_total']), 174 'T_UNIT' => t('SC_Fpdf_019') 175 ); 176 $this->Cell(67, 8, t('SC_Fpdf_018', $tokens), 0, 2, 'R', 0, ''); 172 $this->Cell(67, 8, t('SC_Fpdf_019', array('T_FIELD' => number_format($this->arrDisp['payment_total']))), 0, 2, 'R', 0, ''); 177 173 $this->Cell(0, 45, '', 0, 2, '', 0, ''); 178 174 179 175 $this->SetFont('SJIS', '', 8); 180 176 181 $monetary_unit = t('SC_Fpdf_019');182 177 $point_unit = t('SC_Fpdf_020'); 183 178 … … 205 200 } 206 201 $arrOrder[$i][1] = number_format($data[0]); 207 $arrOrder[$i][2] = number_format($data[1]).$monetary_unit;208 $arrOrder[$i][3] = number_format($data[2]).$monetary_unit;202 $arrOrder[$i][2] = t('SC_Fpdf_019', array('T_FIELD' => number_format($data[1]))); 203 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => number_format($data[2]))); 209 204 210 205 } … … 219 214 $arrOrder[$i][1] = ''; 220 215 $arrOrder[$i][2] = t('SC_Fpdf_005'); 221 $arrOrder[$i][3] = number_format($this->arrDisp['subtotal']).$monetary_unit;216 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => number_format($this->arrDisp['subtotal']))); 222 217 223 218 $i++; … … 225 220 $arrOrder[$i][1] = ''; 226 221 $arrOrder[$i][2] = t('SC_Fpdf_006'); 227 $arrOrder[$i][3] = number_format($this->arrDisp['deliv_fee']).$monetary_unit;222 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => number_format($this->arrDisp['deliv_fee']))); 228 223 229 224 $i++; … … 231 226 $arrOrder[$i][1] = ''; 232 227 $arrOrder[$i][2] = t('SC_Fpdf_007'); 233 $arrOrder[$i][3] = number_format($this->arrDisp['charge']).$monetary_unit;228 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => number_format($this->arrDisp['charge']))); 234 229 235 230 $i++; … … 237 232 $arrOrder[$i][1] = ''; 238 233 $arrOrder[$i][2] = t('SC_Fpdf_008'); 239 $arrOrder[$i][3] = '- '.number_format(($this->arrDisp['use_point'] * POINT_VALUE) + $this->arrDisp['discount']).$monetary_unit;234 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => '- '.number_format(($this->arrDisp['use_point'] * POINT_VALUE) + $this->arrDisp['discount']))); 240 235 241 236 $i++; … … 243 238 $arrOrder[$i][1] = ''; 244 239 $arrOrder[$i][2] = t('SC_Fpdf_009'); 245 $arrOrder[$i][3] = number_format($this->arrDisp['payment_total']).$monetary_unit;240 $arrOrder[$i][3] = t('SC_Fpdf_019', array('T_FIELD' => number_format($this->arrDisp['payment_total']))); 246 241 247 242 // ポイント表記
Note: See TracChangeset
for help on using the changeset viewer.