@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $this->pdf->textBox( |
| 25 | 25 | $this->margem, |
| 26 | 26 | $y, |
| 27 | - $this->wPrint/2, |
|
| 27 | + $this->wPrint / 2, |
|
| 28 | 28 | 3, |
| 29 | 29 | $texto, |
| 30 | 30 | $aFont, |
@@ -35,9 +35,9 @@ discard block |
||
| 35 | 35 | false |
| 36 | 36 | ); |
| 37 | 37 | $y1 = $this->pdf->textBox( |
| 38 | - $this->margem+$this->wPrint/2, |
|
| 38 | + $this->margem + $this->wPrint / 2, |
|
| 39 | 39 | $y, |
| 40 | - $this->wPrint/2, |
|
| 40 | + $this->wPrint / 2, |
|
| 41 | 41 | 3, |
| 42 | 42 | $qtd, |
| 43 | 43 | $aFont, |
@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | $texto = "Valor Total R$"; |
| 52 | 52 | $this->pdf->textBox( |
| 53 | 53 | $this->margem, |
| 54 | - $y+$y1, |
|
| 55 | - $this->wPrint/2, |
|
| 54 | + $y + $y1, |
|
| 55 | + $this->wPrint / 2, |
|
| 56 | 56 | 3, |
| 57 | 57 | $texto, |
| 58 | 58 | $aFont, |
@@ -64,9 +64,9 @@ discard block |
||
| 64 | 64 | ); |
| 65 | 65 | $texto = number_format((float) $bruto, 2, ',', '.'); |
| 66 | 66 | $y2 = $this->pdf->textBox( |
| 67 | - $this->margem+$this->wPrint/2, |
|
| 68 | - $y+$y1, |
|
| 69 | - $this->wPrint/2, |
|
| 67 | + $this->margem + $this->wPrint / 2, |
|
| 68 | + $y + $y1, |
|
| 69 | + $this->wPrint / 2, |
|
| 70 | 70 | 3, |
| 71 | 71 | $texto, |
| 72 | 72 | $aFont, |
@@ -80,8 +80,8 @@ discard block |
||
| 80 | 80 | $texto = "Desconto R$"; |
| 81 | 81 | $this->pdf->textBox( |
| 82 | 82 | $this->margem, |
| 83 | - $y+$y1+$y2, |
|
| 84 | - $this->wPrint/2, |
|
| 83 | + $y + $y1 + $y2, |
|
| 84 | + $this->wPrint / 2, |
|
| 85 | 85 | 3, |
| 86 | 86 | $texto, |
| 87 | 87 | $aFont, |
@@ -93,9 +93,9 @@ discard block |
||
| 93 | 93 | ); |
| 94 | 94 | $texto = number_format((float) $desconto, 2, ',', '.'); |
| 95 | 95 | $y3 = $this->pdf->textBox( |
| 96 | - $this->margem+$this->wPrint/2, |
|
| 97 | - $y+$y1+$y2, |
|
| 98 | - $this->wPrint/2, |
|
| 96 | + $this->margem + $this->wPrint / 2, |
|
| 97 | + $y + $y1 + $y2, |
|
| 98 | + $this->wPrint / 2, |
|
| 99 | 99 | 3, |
| 100 | 100 | $texto, |
| 101 | 101 | $aFont, |
@@ -113,8 +113,8 @@ discard block |
||
| 113 | 113 | $texto = "Valor a Pagar R$"; |
| 114 | 114 | $this->pdf->textBox( |
| 115 | 115 | $this->margem, |
| 116 | - $y+$y1+$y2+$y3, |
|
| 117 | - $this->wPrint/2, |
|
| 116 | + $y + $y1 + $y2 + $y3, |
|
| 117 | + $this->wPrint / 2, |
|
| 118 | 118 | 3, |
| 119 | 119 | $texto, |
| 120 | 120 | $aFont, |
@@ -126,9 +126,9 @@ discard block |
||
| 126 | 126 | ); |
| 127 | 127 | $texto = number_format((float) $valor, 2, ',', '.'); |
| 128 | 128 | $y4 = $this->pdf->textBox( |
| 129 | - $this->margem+$this->wPrint/2, |
|
| 130 | - $y+$y1+$y2+$y3, |
|
| 131 | - $this->wPrint/2, |
|
| 129 | + $this->margem + $this->wPrint / 2, |
|
| 130 | + $y + $y1 + $y2 + $y3, |
|
| 131 | + $this->wPrint / 2, |
|
| 132 | 132 | 3, |
| 133 | 133 | $texto, |
| 134 | 134 | $aFont, |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | false |
| 140 | 140 | ); |
| 141 | 141 | |
| 142 | - $this->pdf->dashedHLine($this->margem, $this->bloco4H+$y, $this->wPrint, 0.1, 30); |
|
| 142 | + $this->pdf->dashedHLine($this->margem, $this->bloco4H + $y, $this->wPrint, 0.1, 30); |
|
| 143 | 143 | return $this->bloco4H + $y; |
| 144 | 144 | } |
| 145 | 145 | } |