@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * @param string $sDestino Estabelece a direção do envio do documento PDF |
| 103 | 103 | * @param string $sDirPDF Caminho para o diretorio de armaz. dos PDF |
| 104 | 104 | * @param string $fonteDACTE Nome da fonte a ser utilizada |
| 105 | - * @param number $mododebug 0-Não 1-Sim e 2-nada (2 default) |
|
| 105 | + * @param integer $mododebug 0-Não 1-Sim e 2-nada (2 default) |
|
| 106 | 106 | * @param string $preVisualizar 0-Não 1-Sim |
| 107 | 107 | */ |
| 108 | 108 | public function __construct( |
@@ -498,8 +498,8 @@ discard block |
||
| 498 | 498 | * cabecalho |
| 499 | 499 | * Monta o cabelhalho da DACTE ( retrato e paisagem ) |
| 500 | 500 | * |
| 501 | - * @param number $x Posição horizontal inicial, canto esquerdo |
|
| 502 | - * @param number $y Posição vertical inicial, canto superior |
|
| 501 | + * @param integer $x Posição horizontal inicial, canto esquerdo |
|
| 502 | + * @param integer $y Posição vertical inicial, canto superior |
|
| 503 | 503 | * @param number $pag Número da Página |
| 504 | 504 | * @param number $totPag Total de páginas |
| 505 | 505 | * @return number Posição vertical final |
@@ -1108,8 +1108,7 @@ discard block |
||
| 1108 | 1108 | * rodapeDACTE |
| 1109 | 1109 | * Monta o rodape no final da DACTE ( retrato e paisagem ) |
| 1110 | 1110 | * |
| 1111 | - * @param number $xInic Posição horizontal canto esquerdo |
|
| 1112 | - * @param number $yFinal Posição vertical final para impressão |
|
| 1111 | + * @param integer $x |
|
| 1113 | 1112 | */ |
| 1114 | 1113 | protected function rodape($x, $y) |
| 1115 | 1114 | { |
@@ -1132,8 +1131,8 @@ discard block |
||
| 1132 | 1131 | * tomador |
| 1133 | 1132 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1134 | 1133 | * |
| 1135 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1136 | - * @param number $y Posição vertical canto superior |
|
| 1134 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1135 | + * @param integer $y Posição vertical canto superior |
|
| 1137 | 1136 | * @return number Posição vertical final |
| 1138 | 1137 | */ |
| 1139 | 1138 | protected function tomador($x = 0, $y = 0) |
@@ -1221,8 +1220,8 @@ discard block |
||
| 1221 | 1220 | * compValorServ |
| 1222 | 1221 | * Monta o campo com os componentes da prestação de serviços. |
| 1223 | 1222 | * |
| 1224 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1225 | - * @param number $y Posição vertical canto superior |
|
| 1223 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1224 | + * @param integer $y Posição vertical canto superior |
|
| 1226 | 1225 | * @return number Posição vertical final |
| 1227 | 1226 | */ |
| 1228 | 1227 | protected function compValorServ($x = 0, $y = 0) |
@@ -1321,8 +1320,8 @@ discard block |
||
| 1321 | 1320 | * impostos |
| 1322 | 1321 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1323 | 1322 | * |
| 1324 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1325 | - * @param number $y Posição vertical canto superior |
|
| 1323 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1324 | + * @param integer $y Posição vertical canto superior |
|
| 1326 | 1325 | * @return number Posição vertical final |
| 1327 | 1326 | */ |
| 1328 | 1327 | protected function impostos($x = 0, $y = 0) |
@@ -1483,8 +1482,8 @@ discard block |
||
| 1483 | 1482 | * infPrestacaoServico |
| 1484 | 1483 | * Monta o campo com das informações da prestação do serviço |
| 1485 | 1484 | * |
| 1486 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1487 | - * @param number $y Posição vertical canto superior |
|
| 1485 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1486 | + * @param integer $y Posição vertical canto superior |
|
| 1488 | 1487 | * @return number Posição vertical final |
| 1489 | 1488 | */ |
| 1490 | 1489 | protected function infPrestacaoServico($x = 0, $y = 0) |
@@ -1564,8 +1563,8 @@ discard block |
||
| 1564 | 1563 | * docCompl |
| 1565 | 1564 | * Monta o campo com os dados do remetente na DACTE. |
| 1566 | 1565 | * |
| 1567 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1568 | - * @param number $y Posição vertical canto superior |
|
| 1566 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1567 | + * @param integer $y Posição vertical canto superior |
|
| 1569 | 1568 | * @return number Posição vertical final |
| 1570 | 1569 | */ |
| 1571 | 1570 | protected function docCompl($x = 0, $y = 0) |
@@ -1627,8 +1626,8 @@ discard block |
||
| 1627 | 1626 | * observacoes |
| 1628 | 1627 | * Monta o campo com os dados do remetente na DACTE. |
| 1629 | 1628 | * |
| 1630 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1631 | - * @param number $y Posição vertical canto superior |
|
| 1629 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1630 | + * @param integer $y Posição vertical canto superior |
|
| 1632 | 1631 | * @return number Posição vertical final |
| 1633 | 1632 | */ |
| 1634 | 1633 | protected function observacoes($x = 0, $y = 0) |
@@ -1670,8 +1669,8 @@ discard block |
||
| 1670 | 1669 | * seguro |
| 1671 | 1670 | * Monta o campo com os dados de seguro do CT-e OS. |
| 1672 | 1671 | * |
| 1673 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1674 | - * @param number $y Posição vertical canto superior |
|
| 1672 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1673 | + * @param integer $y Posição vertical canto superior |
|
| 1675 | 1674 | * @return number Posição vertical final |
| 1676 | 1675 | */ |
| 1677 | 1676 | protected function seguro($x = 0, $y = 0) |
@@ -1730,8 +1729,8 @@ discard block |
||
| 1730 | 1729 | * modalRod |
| 1731 | 1730 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1732 | 1731 | * |
| 1733 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1734 | - * @param number $y Posição vertical canto superior |
|
| 1732 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1733 | + * @param integer $y Posição vertical canto superior |
|
| 1735 | 1734 | * @return number Posição vertical final |
| 1736 | 1735 | */ |
| 1737 | 1736 | protected function modalRod($x = 0, $y = 0) |
@@ -1819,8 +1818,8 @@ discard block |
||
| 1819 | 1818 | * modalAquaviario |
| 1820 | 1819 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1821 | 1820 | * |
| 1822 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1823 | - * @param number $y Posição vertical canto superior |
|
| 1821 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1822 | + * @param integer $y Posição vertical canto superior |
|
| 1824 | 1823 | * @return number Posição vertical final |
| 1825 | 1824 | */ |
| 1826 | 1825 | protected function modalAquaviario($x = 0, $y = 0) |
@@ -1989,8 +1988,8 @@ discard block |
||
| 1989 | 1988 | * modalFerr |
| 1990 | 1989 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1991 | 1990 | * |
| 1992 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1993 | - * @param number $y Posição vertical canto superior |
|
| 1991 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1992 | + * @param integer $y Posição vertical canto superior |
|
| 1994 | 1993 | * @return number Posição vertical final |
| 1995 | 1994 | */ |
| 1996 | 1995 | protected function modalFerr($x = 0, $y = 0) |
@@ -2267,8 +2266,8 @@ discard block |
||
| 2267 | 2266 | * canhoto |
| 2268 | 2267 | * Monta o campo com os dados do remetente na DACTE. |
| 2269 | 2268 | * |
| 2270 | - * @param number $x Posição horizontal canto esquerdo |
|
| 2271 | - * @param number $y Posição vertical canto superior |
|
| 2269 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 2270 | + * @param integer $y Posição vertical canto superior |
|
| 2272 | 2271 | * @return number Posição vertical final |
| 2273 | 2272 | */ |
| 2274 | 2273 | protected function canhoto($x = 0, $y = 0) |
@@ -2351,9 +2350,10 @@ discard block |
||
| 2351 | 2350 | * dadosAdic |
| 2352 | 2351 | * Coloca o grupo de dados adicionais da DACTE. |
| 2353 | 2352 | * |
| 2354 | - * @param number $x Posição horizontal canto esquerdo |
|
| 2355 | - * @param number $y Posição vertical canto superior |
|
| 2356 | - * @param number $h altura do campo |
|
| 2353 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 2354 | + * @param double $y Posição vertical canto superior |
|
| 2355 | + * @param integer $h altura do campo |
|
| 2356 | + * @param integer $pag |
|
| 2357 | 2357 | * @return number Posição vertical final |
| 2358 | 2358 | */ |
| 2359 | 2359 | protected function dadosAdic($x, $y, $pag, $h) |
@@ -2546,7 +2546,7 @@ discard block |
||
| 2546 | 2546 | * Fornece a imformação multiplicação de peso contida na CTe |
| 2547 | 2547 | * |
| 2548 | 2548 | * @param interger $U Informação de peso extraida da CTe |
| 2549 | - * @return interger |
|
| 2549 | + * @return integer |
|
| 2550 | 2550 | */ |
| 2551 | 2551 | protected function multiUniPeso($U = '') |
| 2552 | 2552 | { |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | $y += 19; |
| 383 | 383 | $x = $xInic; |
| 384 | 384 | $r = $this->seguro($x, $y); |
| 385 | - $y = $y-12; |
|
| 385 | + $y = $y - 12; |
|
| 386 | 386 | |
| 387 | 387 | |
| 388 | 388 | switch ($this->modal) { |
@@ -587,7 +587,7 @@ discard block |
||
| 587 | 587 | 'font' => $this->fontePadrao, |
| 588 | 588 | 'size' => 7, |
| 589 | 589 | 'style' => ''); |
| 590 | - $fone = $this->getTagValue($this->enderEmit, "fone")!=""? $this->formatFone($this->enderEmit):''; |
|
| 590 | + $fone = $this->getTagValue($this->enderEmit, "fone") != "" ? $this->formatFone($this->enderEmit) : ''; |
|
| 591 | 591 | $lgr = $this->getTagValue($this->enderEmit, "xLgr"); |
| 592 | 592 | $nro = $this->getTagValue($this->enderEmit, "nro"); |
| 593 | 593 | $cpl = $this->getTagValue($this->enderEmit, "xCpl"); |
@@ -860,7 +860,7 @@ discard block |
||
| 860 | 860 | $this->pdf->textBox($x, $y + 12, $wa, $h, $texto, $aFont, 'T', 'C', 0, ''); |
| 861 | 861 | |
| 862 | 862 | if ($this->qrCodMDFe !== null) { |
| 863 | - $this->qrCodeDacteOs($y-25); |
|
| 863 | + $this->qrCodeDacteOs($y - 25); |
|
| 864 | 864 | $w = 38; |
| 865 | 865 | $x += 79; |
| 866 | 866 | $this->pdf->textBox($x, $y - 34, $w + 0.5, $h + 41.5); |
@@ -985,7 +985,7 @@ discard block |
||
| 985 | 985 | $this->pdf->setTextColor(0, 0, 0); |
| 986 | 986 | } |
| 987 | 987 | //indicar sem valor |
| 988 | - if ($tpAmb != 1 && $this->preVisualizar=='0') { // caso não seja uma DA de produção |
|
| 988 | + if ($tpAmb != 1 && $this->preVisualizar == '0') { // caso não seja uma DA de produção |
|
| 989 | 989 | $x = 10; |
| 990 | 990 | if ($this->orientacao == 'P') { |
| 991 | 991 | $y = round($this->hPrint / 2, 0); |
@@ -1008,7 +1008,7 @@ discard block |
||
| 1008 | 1008 | $texto = "AMBIENTE DE HOMOLOGAÇÃO"; |
| 1009 | 1009 | $this->pdf->textBox($x, $y + 14, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
| 1010 | 1010 | $this->pdf->setTextColor(0, 0, 0); |
| 1011 | - } elseif ($this->preVisualizar=='1') { // caso seja uma DA de Pré-Visualização |
|
| 1011 | + } elseif ($this->preVisualizar == '1') { // caso seja uma DA de Pré-Visualização |
|
| 1012 | 1012 | $h = 5; |
| 1013 | 1013 | $w = $maxW - (2 * 10); |
| 1014 | 1014 | $x = 55; |
@@ -1026,14 +1026,14 @@ discard block |
||
| 1026 | 1026 | 'size' => 41, |
| 1027 | 1027 | 'style' => 'B'); |
| 1028 | 1028 | $texto = "Sem Validade Jurídica"; |
| 1029 | - $this->pdf->textBox90($x+20, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1029 | + $this->pdf->textBox90($x + 20, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1030 | 1030 | $this->pdf->setTextColor(90, 90, 90); |
| 1031 | 1031 | $texto = "SEM VALOR FISCAL"; |
| 1032 | 1032 | $aFont = array( |
| 1033 | 1033 | 'font' => $this->fontePadrao, |
| 1034 | 1034 | 'size' => 48, |
| 1035 | 1035 | 'style' => 'B'); |
| 1036 | - $this->pdf->textBox90($x+40, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1036 | + $this->pdf->textBox90($x + 40, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1037 | 1037 | $this->pdf->setTextColor(0, 0, 0); // voltar a cor default |
| 1038 | 1038 | } else { |
| 1039 | 1039 | $x = 10; |
@@ -1119,13 +1119,13 @@ discard block |
||
| 1119 | 1119 | 'font' => $this->fontePadrao, |
| 1120 | 1120 | 'size' => 6, |
| 1121 | 1121 | 'style' => ''); |
| 1122 | - $this->pdf->textBox($x-1, $y+2, $w, 4, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 1123 | - $texto = $this->nomeDesenvolvedor . ' - '. $this->siteDesenvolvedor; |
|
| 1122 | + $this->pdf->textBox($x - 1, $y + 2, $w, 4, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 1123 | + $texto = $this->nomeDesenvolvedor . ' - ' . $this->siteDesenvolvedor; |
|
| 1124 | 1124 | $aFont = array( |
| 1125 | 1125 | 'font' => $this->fontePadrao, |
| 1126 | 1126 | 'size' => 6, |
| 1127 | 1127 | 'style' => ''); |
| 1128 | - $this->pdf->textBox($x-50, $y+2, $w, 4, $texto, $aFont, 'T', 'R', 0, $this->siteDesenvolvedor); |
|
| 1128 | + $this->pdf->textBox($x - 50, $y + 2, $w, 4, $texto, $aFont, 'T', 'R', 0, $this->siteDesenvolvedor); |
|
| 1129 | 1129 | } |
| 1130 | 1130 | |
| 1131 | 1131 | /** |
@@ -1212,7 +1212,7 @@ discard block |
||
| 1212 | 1212 | $texto = 'FONE'; |
| 1213 | 1213 | $aFont = $this->formatPadrao; |
| 1214 | 1214 | $this->pdf->textBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1215 | - $texto = $this->getTagValue($this->toma, "fone")!=""? $this->formatFone($this->toma):''; |
|
| 1215 | + $texto = $this->getTagValue($this->toma, "fone") != "" ? $this->formatFone($this->toma) : ''; |
|
| 1216 | 1216 | $aFont = $this->formatNegrito; |
| 1217 | 1217 | $this->pdf->textBox($x + 8, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1218 | 1218 | } |
@@ -1352,7 +1352,7 @@ discard block |
||
| 1352 | 1352 | $aFont = $this->formatPadrao; |
| 1353 | 1353 | $this->pdf->textBox($x, $y, $w * 0.14, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1354 | 1354 | |
| 1355 | - $wCol02=0.18; |
|
| 1355 | + $wCol02 = 0.18; |
|
| 1356 | 1356 | $x += $w * $wCol02; |
| 1357 | 1357 | $this->pdf->line($x, $y, $x, $y + 9.5); |
| 1358 | 1358 | $texto = 'ALÍQ ICMS'; |
@@ -1428,7 +1428,7 @@ discard block |
||
| 1428 | 1428 | $x += $w * $wCol02; |
| 1429 | 1429 | |
| 1430 | 1430 | $texto = !empty($this->ICMS->getElementsByTagName("pRedBC")->item(0)->nodeValue) ? |
| 1431 | - number_format($this->getTagValue($this->ICMS, "pRedBC"), 2, ",", ".").'%' :''; |
|
| 1431 | + number_format($this->getTagValue($this->ICMS, "pRedBC"), 2, ",", ".") . '%' : ''; |
|
| 1432 | 1432 | $aFont = $this->formatNegrito; |
| 1433 | 1433 | $this->pdf->textBox($x, $y, $w * $wCol02, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1434 | 1434 | |
@@ -1656,14 +1656,14 @@ discard block |
||
| 1656 | 1656 | $texto .= $xObs; |
| 1657 | 1657 | } |
| 1658 | 1658 | $textoObs = explode("Motorista:", $texto); |
| 1659 | - $textoObs[1] = isset($textoObs[1]) ? "Motorista: ".$textoObs[1]: ''; |
|
| 1659 | + $textoObs[1] = isset($textoObs[1]) ? "Motorista: " . $textoObs[1] : ''; |
|
| 1660 | 1660 | $texto .= $this->getTagValue($this->imp, "infAdFisco", "\r\n"); |
| 1661 | 1661 | $aFont = array( |
| 1662 | 1662 | 'font' => $this->fontePadrao, |
| 1663 | 1663 | 'size' => 7.5, |
| 1664 | 1664 | 'style' => ''); |
| 1665 | 1665 | $this->pdf->textBox($x, $y, $w, $h, $textoObs[0], $aFont, 'T', 'L', 0, '', false); |
| 1666 | - $this->pdf->textBox($x, $y+11.5, $w, $h, $textoObs[1], $aFont, 'T', 'L', 0, '', false); |
|
| 1666 | + $this->pdf->textBox($x, $y + 11.5, $w, $h, $textoObs[1], $aFont, 'T', 'L', 0, '', false); |
|
| 1667 | 1667 | } |
| 1668 | 1668 | |
| 1669 | 1669 | /** |
@@ -1701,7 +1701,7 @@ discard block |
||
| 1701 | 1701 | $aFont = $this->formatPadrao; |
| 1702 | 1702 | $this->pdf->textBox($x, $y, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1703 | 1703 | |
| 1704 | - $wCol02=0.33; |
|
| 1704 | + $wCol02 = 0.33; |
|
| 1705 | 1705 | $x += $w * $wCol02; |
| 1706 | 1706 | $this->pdf->line($x, $y, $x, $y + 9.5); |
| 1707 | 1707 | $texto = 'NÚMERO DA APÓLICE'; |
@@ -1761,7 +1761,7 @@ discard block |
||
| 1761 | 1761 | $aFont = $this->formatPadrao; |
| 1762 | 1762 | $this->pdf->textBox($x, $y, $w * 0.14, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1763 | 1763 | |
| 1764 | - $wCol02=0.18; |
|
| 1764 | + $wCol02 = 0.18; |
|
| 1765 | 1765 | $x += $w * $wCol02; |
| 1766 | 1766 | $this->pdf->line($x, $y, $x, $y + 9.5); |
| 1767 | 1767 | $texto = 'PLACA DO VEÍCULO'; |
@@ -1803,8 +1803,7 @@ discard block |
||
| 1803 | 1803 | $x += $w * $wCol02; |
| 1804 | 1804 | |
| 1805 | 1805 | $texto = !empty($this->getTagValue($this->veic->item(0), "CPF")) ? |
| 1806 | - $this->getTagValue($this->veic->item(0), "CPF") : |
|
| 1807 | - (!empty($this->getTagValue($this->veic->item(0), "CNPJ")) ? |
|
| 1806 | + $this->getTagValue($this->veic->item(0), "CPF") : (!empty($this->getTagValue($this->veic->item(0), "CNPJ")) ? |
|
| 1808 | 1807 | $this->getTagValue($this->veic->item(0), "CNPJ") : ''); |
| 1809 | 1808 | $aFont = $this->formatNegrito; |
| 1810 | 1809 | $this->pdf->textBox($x, $y, $w * $wCol02, $h, $texto, $aFont, 'T', 'L', 0, ''); |
@@ -2273,7 +2272,7 @@ discard block |
||
| 2273 | 2272 | */ |
| 2274 | 2273 | protected function canhoto($x = 0, $y = 0) |
| 2275 | 2274 | { |
| 2276 | - $this->pdf->dashedHLine($x, $y+2, $this->wPrint, 0.1, 80); |
|
| 2275 | + $this->pdf->dashedHLine($x, $y + 2, $this->wPrint, 0.1, 80); |
|
| 2277 | 2276 | $y = $y + 2; |
| 2278 | 2277 | $oldX = $x; |
| 2279 | 2278 | $oldY = $y; |
@@ -2312,7 +2311,7 @@ discard block |
||
| 2312 | 2311 | |
| 2313 | 2312 | $this->pdf->line($x, $y, $x, $y + 16.5); |
| 2314 | 2313 | |
| 2315 | - $texto = 'TÉRMINO DA PRESTAÇÃO - DATA/HORA' . "\r\n" . "\r\n" . "\r\n". "\r\n"; |
|
| 2314 | + $texto = 'TÉRMINO DA PRESTAÇÃO - DATA/HORA' . "\r\n" . "\r\n" . "\r\n" . "\r\n"; |
|
| 2316 | 2315 | $texto .= ' INÍCIO DA PRESTAÇÃO - DATA/HORA'; |
| 2317 | 2316 | $aFont = array( |
| 2318 | 2317 | 'font' => $this->fontePadrao, |
@@ -2322,14 +2321,14 @@ discard block |
||
| 2322 | 2321 | $x = $oldX; |
| 2323 | 2322 | $y = $y + 5; |
| 2324 | 2323 | |
| 2325 | - $this->pdf->line($x, $y+3, $w * 0.255, $y+3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME |
|
| 2324 | + $this->pdf->line($x, $y + 3, $w * 0.255, $y + 3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME |
|
| 2326 | 2325 | |
| 2327 | 2326 | $texto = 'RG'; |
| 2328 | 2327 | $aFont = array( |
| 2329 | 2328 | 'font' => $this->fontePadrao, |
| 2330 | 2329 | 'size' => 6, |
| 2331 | 2330 | 'style' => ''); |
| 2332 | - $this->pdf->textBox($x, $y+3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 2331 | + $this->pdf->textBox($x, $y + 3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 2333 | 2332 | $x += $w * 0.85; |
| 2334 | 2333 | |
| 2335 | 2334 | $this->pdf->line($x, $y + 11.5, $x, $y - 5); // LINHA VERTICAL PROXIMO AO CT-E |