| @@ 1301-1314 (lines=14) @@ | ||
| 1298 | $this->pdf->SetTextColor(0, 0, 0); |
|
| 1299 | } |
|
| 1300 | ||
| 1301 | if ($this->pNotaDPEC() || $this->tpEmis == 4) { |
|
| 1302 | //DPEC |
|
| 1303 | $x = 10; |
|
| 1304 | $y = $this->hPrint-130; |
|
| 1305 | $h = 25; |
|
| 1306 | $w = $maxW-(2*$x); |
|
| 1307 | $this->pdf->SetTextColor(200, 200, 200); |
|
| 1308 | $texto = "DANFE impresso em contingĂȘncia -\n". |
|
| 1309 | "DPEC regularmente recebido pela Receita\n". |
|
| 1310 | "Federal do Brasil"; |
|
| 1311 | $aFont = array('font'=>$this->fontePadrao, 'size'=>48, 'style'=>'B'); |
|
| 1312 | $this->pTextBox($x, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1313 | $this->pdf->SetTextColor(0, 0, 0); |
|
| 1314 | } |
|
| 1315 | if ($this->pNotaDenegada()) { |
|
| 1316 | //110 301 302 Denegada |
|
| 1317 | $x = 10; |
|
| @@ 1174-1190 (lines=17) @@ | ||
| 1171 | $this->pTextBox($x, $y + 25, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1172 | } |
|
| 1173 | } //fim cteProc |
|
| 1174 | if ($this->tpEmis == 4) { |
|
| 1175 | //DPEC |
|
| 1176 | $x = 10; |
|
| 1177 | $y = $this->hPrint - 130; |
|
| 1178 | $h = 25; |
|
| 1179 | $w = $maxW - (2 * $x); |
|
| 1180 | $this->pdf->SetTextColor(200, 200, 200); // 90,90,90 Ă© muito escuro |
|
| 1181 | $texto = "DACTE impresso em contingĂȘncia -\n" |
|
| 1182 | . "DPEC regularmente recebido pela Receita\n" |
|
| 1183 | . "Federal do Brasil"; |
|
| 1184 | $aFont = array( |
|
| 1185 | 'font' => $this->fontePadrao, |
|
| 1186 | 'size' => 48, |
|
| 1187 | 'style' => 'B'); |
|
| 1188 | $this->pTextBox($x, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1189 | $this->pdf->SetTextColor(0, 0, 0); |
|
| 1190 | } |
|
| 1191 | } //fim tpEmis |
|
| 1192 | $this->pdf->SetTextColor(0, 0, 0); |
|
| 1193 | } |
|