@@ -1127,7 +1127,7 @@ discard block |
||
1127 | 1127 | 'size' => 6, |
1128 | 1128 | 'style' => ''); |
1129 | 1129 | $this->pdf->textBox($x, $y, $w, 4, $texto, $aFont, 'T', 'L', 0, ''); |
1130 | - $texto = $this->creditos . " Powered by NFePHP®"; |
|
1130 | + $texto = $this->creditos . " Powered by NFePHP®"; |
|
1131 | 1131 | $aFont = array( |
1132 | 1132 | 'font' => $this->fontePadrao, |
1133 | 1133 | 'size' => 6, |
@@ -1345,8 +1345,7 @@ discard block |
||
1345 | 1345 | $texto = $this->getTagValue($this->enderExped, "xLgr") . ', '; |
1346 | 1346 | $texto .= $this->getTagValue($this->enderExped, "nro"); |
1347 | 1347 | $texto .= $this->getTagValue($this->enderExped, "xCpl") != "" ? |
1348 | - ' - ' . $this->getTagValue($this->enderExped, "xCpl") : |
|
1349 | - ''; |
|
1348 | + ' - ' . $this->getTagValue($this->enderExped, "xCpl") : ''; |
|
1350 | 1349 | } else { |
1351 | 1350 | $texto = ''; |
1352 | 1351 | } |
@@ -1442,8 +1441,7 @@ discard block |
||
1442 | 1441 | $texto = $this->getTagValue($this->enderReceb, "xLgr") . ', '; |
1443 | 1442 | $texto .= $this->getTagValue($this->enderReceb, "nro"); |
1444 | 1443 | $texto .= ($this->getTagValue($this->enderReceb, "xCpl") != "") ? |
1445 | - ' - ' . $this->getTagValue($this->enderReceb, "xCpl") : |
|
1446 | - ''; |
|
1444 | + ' - ' . $this->getTagValue($this->enderReceb, "xCpl") : ''; |
|
1447 | 1445 | } else { |
1448 | 1446 | $texto = ''; |
1449 | 1447 | } |
@@ -1647,7 +1645,7 @@ discard block |
||
1647 | 1645 | $qCarga = 0; |
1648 | 1646 | foreach ($this->infQ as $infQ) { |
1649 | 1647 | if (in_array($this->getTagValue($infQ, "cUnid"), array('01', '02'))) { |
1650 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1648 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1651 | 1649 | } |
1652 | 1650 | } |
1653 | 1651 | $texto = 'PESO BRUTO (KG)'; |
@@ -1698,7 +1696,7 @@ discard block |
||
1698 | 1696 | $qCarga = 0; |
1699 | 1697 | foreach ($this->infQ as $infQ) { |
1700 | 1698 | if ($this->getTagValue($infQ, "cUnid") == '00') { |
1701 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1699 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1702 | 1700 | } |
1703 | 1701 | } |
1704 | 1702 | $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : ''; |
@@ -1715,7 +1713,7 @@ discard block |
||
1715 | 1713 | $qCarga = 0; |
1716 | 1714 | foreach ($this->infQ as $infQ) { |
1717 | 1715 | if ($this->getTagValue($infQ, "cUnid") == '03') { |
1718 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1716 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1719 | 1717 | } |
1720 | 1718 | } |
1721 | 1719 | $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : ''; |