@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * @param string $sDestino Estabelece a direção do envio do documento PDF |
| 98 | 98 | * @param string $sDirPDF Caminho para o diretorio de armaz. dos PDF |
| 99 | 99 | * @param string $fonteDACTE Nome da fonte a ser utilizada |
| 100 | - * @param number $mododebug 0-Não 1-Sim e 2-nada (2 default) |
|
| 100 | + * @param integer $mododebug 0-Não 1-Sim e 2-nada (2 default) |
|
| 101 | 101 | * @param string $preVisualizar 0-Não 1-Sim |
| 102 | 102 | */ |
| 103 | 103 | public function __construct( |
@@ -491,8 +491,8 @@ discard block |
||
| 491 | 491 | * zCabecalho |
| 492 | 492 | * Monta o cabelhalho da DACTE ( retrato e paisagem ) |
| 493 | 493 | * |
| 494 | - * @param number $x Posição horizontal inicial, canto esquerdo |
|
| 495 | - * @param number $y Posição vertical inicial, canto superior |
|
| 494 | + * @param integer $x Posição horizontal inicial, canto esquerdo |
|
| 495 | + * @param integer $y Posição vertical inicial, canto superior |
|
| 496 | 496 | * @param number $pag Número da Página |
| 497 | 497 | * @param number $totPag Total de páginas |
| 498 | 498 | * @return number Posição vertical final |
@@ -1091,8 +1091,7 @@ discard block |
||
| 1091 | 1091 | * rodapeDACTE |
| 1092 | 1092 | * Monta o rodape no final da DACTE ( retrato e paisagem ) |
| 1093 | 1093 | * |
| 1094 | - * @param number $xInic Posição horizontal canto esquerdo |
|
| 1095 | - * @param number $yFinal Posição vertical final para impressão |
|
| 1094 | + * @param integer $x |
|
| 1096 | 1095 | */ |
| 1097 | 1096 | protected function zRodape($x, $y) |
| 1098 | 1097 | { |
@@ -1115,8 +1114,8 @@ discard block |
||
| 1115 | 1114 | * zTomador |
| 1116 | 1115 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1117 | 1116 | * |
| 1118 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1119 | - * @param number $y Posição vertical canto superior |
|
| 1117 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1118 | + * @param integer $y Posição vertical canto superior |
|
| 1120 | 1119 | * @return number Posição vertical final |
| 1121 | 1120 | */ |
| 1122 | 1121 | protected function zTomador($x = 0, $y = 0) |
@@ -1204,8 +1203,8 @@ discard block |
||
| 1204 | 1203 | * zCompValorServ |
| 1205 | 1204 | * Monta o campo com os componentes da prestação de serviços. |
| 1206 | 1205 | * |
| 1207 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1208 | - * @param number $y Posição vertical canto superior |
|
| 1206 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1207 | + * @param integer $y Posição vertical canto superior |
|
| 1209 | 1208 | * @return number Posição vertical final |
| 1210 | 1209 | */ |
| 1211 | 1210 | protected function zCompValorServ($x = 0, $y = 0) |
@@ -1304,8 +1303,8 @@ discard block |
||
| 1304 | 1303 | * zImpostos |
| 1305 | 1304 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1306 | 1305 | * |
| 1307 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1308 | - * @param number $y Posição vertical canto superior |
|
| 1306 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1307 | + * @param integer $y Posição vertical canto superior |
|
| 1309 | 1308 | * @return number Posição vertical final |
| 1310 | 1309 | */ |
| 1311 | 1310 | protected function zImpostos($x = 0, $y = 0) |
@@ -1467,8 +1466,8 @@ discard block |
||
| 1467 | 1466 | * zInfPrestacaoServico |
| 1468 | 1467 | * Monta o campo com das informações da prestação do serviço |
| 1469 | 1468 | * |
| 1470 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1471 | - * @param number $y Posição vertical canto superior |
|
| 1469 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1470 | + * @param integer $y Posição vertical canto superior |
|
| 1472 | 1471 | * @return number Posição vertical final |
| 1473 | 1472 | */ |
| 1474 | 1473 | protected function zInfPrestacaoServico($x = 0, $y = 0) |
@@ -1548,8 +1547,8 @@ discard block |
||
| 1548 | 1547 | * zDocCompl |
| 1549 | 1548 | * Monta o campo com os dados do remetente na DACTE. |
| 1550 | 1549 | * |
| 1551 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1552 | - * @param number $y Posição vertical canto superior |
|
| 1550 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1551 | + * @param integer $y Posição vertical canto superior |
|
| 1553 | 1552 | * @return number Posição vertical final |
| 1554 | 1553 | */ |
| 1555 | 1554 | protected function zDocCompl($x = 0, $y = 0) |
@@ -1611,8 +1610,8 @@ discard block |
||
| 1611 | 1610 | * zObs |
| 1612 | 1611 | * Monta o campo com os dados do remetente na DACTE. |
| 1613 | 1612 | * |
| 1614 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1615 | - * @param number $y Posição vertical canto superior |
|
| 1613 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1614 | + * @param integer $y Posição vertical canto superior |
|
| 1616 | 1615 | * @return number Posição vertical final |
| 1617 | 1616 | */ |
| 1618 | 1617 | protected function zObs($x = 0, $y = 0) |
@@ -1654,8 +1653,8 @@ discard block |
||
| 1654 | 1653 | * zSeguro |
| 1655 | 1654 | * Monta o campo com os dados de seguro do CT-e OS. |
| 1656 | 1655 | * |
| 1657 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1658 | - * @param number $y Posição vertical canto superior |
|
| 1656 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1657 | + * @param integer $y Posição vertical canto superior |
|
| 1659 | 1658 | * @return number Posição vertical final |
| 1660 | 1659 | */ |
| 1661 | 1660 | protected function zSeguro($x = 0, $y = 0) |
@@ -1715,8 +1714,8 @@ discard block |
||
| 1715 | 1714 | * zModalRod |
| 1716 | 1715 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1717 | 1716 | * |
| 1718 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1719 | - * @param number $y Posição vertical canto superior |
|
| 1717 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1718 | + * @param integer $y Posição vertical canto superior |
|
| 1720 | 1719 | * @return number Posição vertical final |
| 1721 | 1720 | */ |
| 1722 | 1721 | protected function zModalRod($x = 0, $y = 0) |
@@ -1803,8 +1802,8 @@ discard block |
||
| 1803 | 1802 | * zModalAquaviario |
| 1804 | 1803 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1805 | 1804 | * |
| 1806 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1807 | - * @param number $y Posição vertical canto superior |
|
| 1805 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1806 | + * @param integer $y Posição vertical canto superior |
|
| 1808 | 1807 | * @return number Posição vertical final |
| 1809 | 1808 | */ |
| 1810 | 1809 | protected function zModalAquaviario($x = 0, $y = 0) |
@@ -1973,8 +1972,8 @@ discard block |
||
| 1973 | 1972 | * zModalFerr |
| 1974 | 1973 | * Monta o campo com os dados do remetente na DACTE. ( retrato e paisagem ) |
| 1975 | 1974 | * |
| 1976 | - * @param number $x Posição horizontal canto esquerdo |
|
| 1977 | - * @param number $y Posição vertical canto superior |
|
| 1975 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 1976 | + * @param integer $y Posição vertical canto superior |
|
| 1978 | 1977 | * @return number Posição vertical final |
| 1979 | 1978 | */ |
| 1980 | 1979 | protected function zModalFerr($x = 0, $y = 0) |
@@ -2251,8 +2250,8 @@ discard block |
||
| 2251 | 2250 | * zCanhoto |
| 2252 | 2251 | * Monta o campo com os dados do remetente na DACTE. |
| 2253 | 2252 | * |
| 2254 | - * @param number $x Posição horizontal canto esquerdo |
|
| 2255 | - * @param number $y Posição vertical canto superior |
|
| 2253 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 2254 | + * @param integer $y Posição vertical canto superior |
|
| 2256 | 2255 | * @return number Posição vertical final |
| 2257 | 2256 | */ |
| 2258 | 2257 | protected function zCanhoto($x = 0, $y = 0) |
@@ -2336,9 +2335,10 @@ discard block |
||
| 2336 | 2335 | * zDadosAdic |
| 2337 | 2336 | * Coloca o grupo de dados adicionais da DACTE. |
| 2338 | 2337 | * |
| 2339 | - * @param number $x Posição horizontal canto esquerdo |
|
| 2340 | - * @param number $y Posição vertical canto superior |
|
| 2341 | - * @param number $h altura do campo |
|
| 2338 | + * @param integer $x Posição horizontal canto esquerdo |
|
| 2339 | + * @param double $y Posição vertical canto superior |
|
| 2340 | + * @param integer $h altura do campo |
|
| 2341 | + * @param integer $pag |
|
| 2342 | 2342 | * @return number Posição vertical final |
| 2343 | 2343 | */ |
| 2344 | 2344 | protected function zDadosAdic($x, $y, $pag, $h) |
@@ -2419,11 +2419,11 @@ discard block |
||
| 2419 | 2419 | * zhDashedLine |
| 2420 | 2420 | * Desenha uma linha horizontal tracejada com o FPDF |
| 2421 | 2421 | * |
| 2422 | - * @param number $x Posição horizontal inicial, em mm |
|
| 2423 | - * @param number $y Posição vertical inicial, em mm |
|
| 2422 | + * @param integer $x Posição horizontal inicial, em mm |
|
| 2423 | + * @param integer $y Posição vertical inicial, em mm |
|
| 2424 | 2424 | * @param number $w Comprimento da linha, em mm |
| 2425 | - * @param number $h Espessura da linha, em mm |
|
| 2426 | - * @param number $n Numero de traços na seção da linha com o comprimento $w |
|
| 2425 | + * @param double $h Espessura da linha, em mm |
|
| 2426 | + * @param integer $n Numero de traços na seção da linha com o comprimento $w |
|
| 2427 | 2427 | * @return none |
| 2428 | 2428 | */ |
| 2429 | 2429 | protected function zhDashedLine($x, $y, $w, $h, $n) |
@@ -2582,7 +2582,7 @@ discard block |
||
| 2582 | 2582 | * Fornece a imformação multiplicação de peso contida na CTe |
| 2583 | 2583 | * |
| 2584 | 2584 | * @param interger $U Informação de peso extraida da CTe |
| 2585 | - * @return interger |
|
| 2585 | + * @return integer |
|
| 2586 | 2586 | */ |
| 2587 | 2587 | protected function zMultiUniPeso($U = '') |
| 2588 | 2588 | { |
@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | $y += 19; |
| 376 | 376 | $x = $xInic; |
| 377 | 377 | $r = $this->zSeguro($x, $y); |
| 378 | - $y = $y-12; |
|
| 378 | + $y = $y - 12; |
|
| 379 | 379 | |
| 380 | 380 | |
| 381 | 381 | switch ($this->modal) { |
@@ -580,7 +580,7 @@ discard block |
||
| 580 | 580 | 'font' => $this->fontePadrao, |
| 581 | 581 | 'size' => 7, |
| 582 | 582 | 'style' => ''); |
| 583 | - $fone = $this->pSimpleGetValue($this->enderEmit, "fone")!=""? $this->zFormatFone($this->enderEmit):''; |
|
| 583 | + $fone = $this->pSimpleGetValue($this->enderEmit, "fone") != "" ? $this->zFormatFone($this->enderEmit) : ''; |
|
| 584 | 584 | $lgr = $this->pSimpleGetValue($this->enderEmit, "xLgr"); |
| 585 | 585 | $nro = $this->pSimpleGetValue($this->enderEmit, "nro"); |
| 586 | 586 | $cpl = $this->pSimpleGetValue($this->enderEmit, "xCpl"); |
@@ -968,7 +968,7 @@ discard block |
||
| 968 | 968 | $this->pdf->SetTextColor(0, 0, 0); |
| 969 | 969 | } |
| 970 | 970 | //indicar sem valor |
| 971 | - if ($tpAmb != 1 && $this->preVisualizar=='0') { // caso não seja uma DA de produção |
|
| 971 | + if ($tpAmb != 1 && $this->preVisualizar == '0') { // caso não seja uma DA de produção |
|
| 972 | 972 | $x = 10; |
| 973 | 973 | if ($this->orientacao == 'P') { |
| 974 | 974 | $y = round($this->hPrint / 2, 0); |
@@ -991,7 +991,7 @@ discard block |
||
| 991 | 991 | $texto = "AMBIENTE DE HOMOLOGAÇÃO"; |
| 992 | 992 | $this->pTextBox($x, $y + 14, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
| 993 | 993 | $this->pdf->SetTextColor(0, 0, 0); |
| 994 | - } elseif ($this->preVisualizar=='1') { // caso seja uma DA de Pré-Visualização |
|
| 994 | + } elseif ($this->preVisualizar == '1') { // caso seja uma DA de Pré-Visualização |
|
| 995 | 995 | $h = 5; |
| 996 | 996 | $w = $maxW - (2 * 10); |
| 997 | 997 | $x = 55; |
@@ -1009,14 +1009,14 @@ discard block |
||
| 1009 | 1009 | 'size' => 41, |
| 1010 | 1010 | 'style' => 'B'); |
| 1011 | 1011 | $texto = "Sem Validade Jurídica"; |
| 1012 | - $this->pTextBox90($x+20, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1012 | + $this->pTextBox90($x + 20, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1013 | 1013 | $this->pdf->SetTextColor(90, 90, 90); |
| 1014 | 1014 | $texto = "SEM VALOR FISCAL"; |
| 1015 | 1015 | $aFont = array( |
| 1016 | 1016 | 'font' => $this->fontePadrao, |
| 1017 | 1017 | 'size' => 48, |
| 1018 | 1018 | 'style' => 'B'); |
| 1019 | - $this->pTextBox90($x+40, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1019 | + $this->pTextBox90($x + 40, $y, $w, $h, $texto, $aFont, 'C', 'C', 0, ''); |
|
| 1020 | 1020 | $this->pdf->SetTextColor(0, 0, 0); // voltar a cor default |
| 1021 | 1021 | } else { |
| 1022 | 1022 | $x = 10; |
@@ -1102,13 +1102,13 @@ discard block |
||
| 1102 | 1102 | 'font' => $this->fontePadrao, |
| 1103 | 1103 | 'size' => 6, |
| 1104 | 1104 | 'style' => ''); |
| 1105 | - $this->pTextBox($x-1, $y+2, $w, 4, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 1106 | - $texto = $this->nomeDesenvolvedor . ' - '. $this->siteDesenvolvedor; |
|
| 1105 | + $this->pTextBox($x - 1, $y + 2, $w, 4, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 1106 | + $texto = $this->nomeDesenvolvedor . ' - ' . $this->siteDesenvolvedor; |
|
| 1107 | 1107 | $aFont = array( |
| 1108 | 1108 | 'font' => $this->fontePadrao, |
| 1109 | 1109 | 'size' => 6, |
| 1110 | 1110 | 'style' => ''); |
| 1111 | - $this->pTextBox($x-50, $y+2, $w, 4, $texto, $aFont, 'T', 'R', 0, $this->siteDesenvolvedor); |
|
| 1111 | + $this->pTextBox($x - 50, $y + 2, $w, 4, $texto, $aFont, 'T', 'R', 0, $this->siteDesenvolvedor); |
|
| 1112 | 1112 | } //fim zRodape |
| 1113 | 1113 | |
| 1114 | 1114 | /** |
@@ -1195,7 +1195,7 @@ discard block |
||
| 1195 | 1195 | $texto = 'FONE'; |
| 1196 | 1196 | $aFont = $this->formatPadrao; |
| 1197 | 1197 | $this->pTextBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1198 | - $texto = $this->pSimpleGetValue($this->toma, "fone")!=""? $this->zFormatFone($this->toma):''; |
|
| 1198 | + $texto = $this->pSimpleGetValue($this->toma, "fone") != "" ? $this->zFormatFone($this->toma) : ''; |
|
| 1199 | 1199 | $aFont = $this->formatNegrito; |
| 1200 | 1200 | $this->pTextBox($x + 8, $y, $w, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1201 | 1201 | } //fim da função tomadorDACTE |
@@ -1335,7 +1335,7 @@ discard block |
||
| 1335 | 1335 | $aFont = $this->formatPadrao; |
| 1336 | 1336 | $this->pTextBox($x, $y, $w * 0.14, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1337 | 1337 | |
| 1338 | - $wCol02=0.18; |
|
| 1338 | + $wCol02 = 0.18; |
|
| 1339 | 1339 | $x += $w * $wCol02; |
| 1340 | 1340 | $this->pdf->Line($x, $y, $x, $y + 9.5); |
| 1341 | 1341 | $texto = 'ALÍQ ICMS'; |
@@ -1412,7 +1412,7 @@ discard block |
||
| 1412 | 1412 | $x += $w * $wCol02; |
| 1413 | 1413 | |
| 1414 | 1414 | $texto = !empty($this->ICMS->getElementsByTagName("pRedBC")->item(0)->nodeValue) ? |
| 1415 | - number_format($this->pSimpleGetValue($this->ICMS, "pRedBC"), 2, ",", ".").'%' :''; |
|
| 1415 | + number_format($this->pSimpleGetValue($this->ICMS, "pRedBC"), 2, ",", ".") . '%' : ''; |
|
| 1416 | 1416 | $aFont = $this->formatNegrito; |
| 1417 | 1417 | $this->pTextBox($x, $y, $w * $wCol02, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1418 | 1418 | |
@@ -1640,14 +1640,14 @@ discard block |
||
| 1640 | 1640 | $texto .= $xObs; |
| 1641 | 1641 | } |
| 1642 | 1642 | $textoObs = explode("Motorista:", $texto); |
| 1643 | - $textoObs[1] = isset($textoObs[1]) ? "Motorista: ".$textoObs[1]: ''; |
|
| 1643 | + $textoObs[1] = isset($textoObs[1]) ? "Motorista: " . $textoObs[1] : ''; |
|
| 1644 | 1644 | $texto .= $this->pSimpleGetValue($this->imp, "infAdFisco", "\r\n"); |
| 1645 | 1645 | $aFont = array( |
| 1646 | 1646 | 'font' => $this->fontePadrao, |
| 1647 | 1647 | 'size' => 7.5, |
| 1648 | 1648 | 'style' => ''); |
| 1649 | 1649 | $this->pTextBox($x, $y, $w, $h, $textoObs[0], $aFont, 'T', 'L', 0, '', false); |
| 1650 | - $this->pTextBox($x, $y+11.5, $w, $h, $textoObs[1], $aFont, 'T', 'L', 0, '', false); |
|
| 1650 | + $this->pTextBox($x, $y + 11.5, $w, $h, $textoObs[1], $aFont, 'T', 'L', 0, '', false); |
|
| 1651 | 1651 | } //fim da função obsDACTE |
| 1652 | 1652 | |
| 1653 | 1653 | /** |
@@ -1685,7 +1685,7 @@ discard block |
||
| 1685 | 1685 | $aFont = $this->formatPadrao; |
| 1686 | 1686 | $this->pTextBox($x, $y, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1687 | 1687 | |
| 1688 | - $wCol02=0.33; |
|
| 1688 | + $wCol02 = 0.33; |
|
| 1689 | 1689 | $x += $w * $wCol02; |
| 1690 | 1690 | $this->pdf->Line($x, $y, $x, $y + 9.5); |
| 1691 | 1691 | $texto = 'NÚMERO DA APÓLICE'; |
@@ -1745,7 +1745,7 @@ discard block |
||
| 1745 | 1745 | $aFont = $this->formatPadrao; |
| 1746 | 1746 | $this->pTextBox($x, $y, $w * 0.14, $h, $texto, $aFont, 'T', 'L', 0, ''); |
| 1747 | 1747 | |
| 1748 | - $wCol02=0.18; |
|
| 1748 | + $wCol02 = 0.18; |
|
| 1749 | 1749 | $x += $w * $wCol02; |
| 1750 | 1750 | $this->pdf->Line($x, $y, $x, $y + 9.5); |
| 1751 | 1751 | $texto = 'PLACA DO VEÍCULO'; |
@@ -1787,8 +1787,7 @@ discard block |
||
| 1787 | 1787 | $x += $w * $wCol02; |
| 1788 | 1788 | |
| 1789 | 1789 | $texto = !empty($this->pSimpleGetValue($this->veic->item(0), "CPF")) ? |
| 1790 | - $this->pSimpleGetValue($this->veic->item(0), "CPF") : |
|
| 1791 | - (!empty($this->pSimpleGetValue($this->veic->item(0), "CNPJ")) ? |
|
| 1790 | + $this->pSimpleGetValue($this->veic->item(0), "CPF") : (!empty($this->pSimpleGetValue($this->veic->item(0), "CNPJ")) ? |
|
| 1792 | 1791 | $this->pSimpleGetValue($this->veic->item(0), "CNPJ") : ''); |
| 1793 | 1792 | $aFont = $this->formatNegrito; |
| 1794 | 1793 | $this->pTextBox($x, $y, $w * $wCol02, $h, $texto, $aFont, 'T', 'L', 0, ''); |
@@ -2257,7 +2256,7 @@ discard block |
||
| 2257 | 2256 | */ |
| 2258 | 2257 | protected function zCanhoto($x = 0, $y = 0) |
| 2259 | 2258 | { |
| 2260 | - $this->zhDashedLine($x, $y+2, $this->wPrint, 0.1, 80); |
|
| 2259 | + $this->zhDashedLine($x, $y + 2, $this->wPrint, 0.1, 80); |
|
| 2261 | 2260 | $y = $y + 2; |
| 2262 | 2261 | $oldX = $x; |
| 2263 | 2262 | $oldY = $y; |
@@ -2296,7 +2295,7 @@ discard block |
||
| 2296 | 2295 | |
| 2297 | 2296 | $this->pdf->Line($x, $y, $x, $y + 16.5); |
| 2298 | 2297 | |
| 2299 | - $texto = 'TÉRMINO DA PRESTAÇÃO - DATA/HORA' . "\r\n" . "\r\n" . "\r\n". "\r\n"; |
|
| 2298 | + $texto = 'TÉRMINO DA PRESTAÇÃO - DATA/HORA' . "\r\n" . "\r\n" . "\r\n" . "\r\n"; |
|
| 2300 | 2299 | $texto .= ' INÍCIO DA PRESTAÇÃO - DATA/HORA'; |
| 2301 | 2300 | $aFont = array( |
| 2302 | 2301 | 'font' => $this->fontePadrao, |
@@ -2306,14 +2305,14 @@ discard block |
||
| 2306 | 2305 | $x = $oldX; |
| 2307 | 2306 | $y = $y + 5; |
| 2308 | 2307 | |
| 2309 | - $this->pdf->Line($x, $y+3, $w * 0.255, $y+3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME |
|
| 2308 | + $this->pdf->Line($x, $y + 3, $w * 0.255, $y + 3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME |
|
| 2310 | 2309 | |
| 2311 | 2310 | $texto = 'RG'; |
| 2312 | 2311 | $aFont = array( |
| 2313 | 2312 | 'font' => $this->fontePadrao, |
| 2314 | 2313 | 'size' => 6, |
| 2315 | 2314 | 'style' => ''); |
| 2316 | - $this->pTextBox($x, $y+3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 2315 | + $this->pTextBox($x, $y + 3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
|
| 2317 | 2316 | $x += $w * 0.85; |
| 2318 | 2317 | |
| 2319 | 2318 | $this->pdf->Line($x, $y + 11.5, $x, $y - 5); // LINHA VERTICAL PROXIMO AO CT-E |