Completed
Push — master ( cb0792...983e3e )
by Reginaldo
29:42
created
app/Controller/OrcamentoController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once(ROOT . DS . 'vendor' . DS . 'autoload.php');
3
+require_once(ROOT.DS.'vendor'.DS.'autoload.php');
4 4
 
5 5
 use Dompdf\Dompdf;
6 6
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 		$html .= '	<table style="background-color: #cacaca;"  width="100%" valign="center" align="center">';
79 79
 		$html .= '		<tr align="center">';
80 80
 		$html .= '			<td>';
81
-		$html .= '				<h2>Orçamento Pedido #' . $dadosVenda[0]['Venda']['id'] . '</h2>';
81
+		$html .= '				<h2>Orçamento Pedido #'.$dadosVenda[0]['Venda']['id'].'</h2>';
82 82
 		$html .= '			</td>';
83 83
 		$html .= '		</tr> ';
84 84
 		$html .= '	</table>';
@@ -86,11 +86,11 @@  discard block
 block discarded – undo
86 86
 		$html .= '	<table width="100%" valign="center" align="center">';
87 87
 		$html .= '		<tr  style="background-color: #ccc;">';
88 88
 		$html .= '			<td>Total: </td>';
89
-		$html .= '			<td>R$ ' . number_format($dadosVenda[0]['Venda']['valor'], 2, ',', '.') . '</td>';
89
+		$html .= '			<td>R$ '.number_format($dadosVenda[0]['Venda']['valor'], 2, ',', '.').'</td>';
90 90
 		$html .= '		</tr>';
91 91
 		$html .= '		<tr  style="background-color: #ccc;">';
92 92
 		$html .= '			<td>Valor a Pagar: </td>';
93
-		$html .= '			<td>R$ ' . number_format($dadosVenda[0]['Venda']['valor'], 2, ',', '.') . '</td>';
93
+		$html .= '			<td>R$ '.number_format($dadosVenda[0]['Venda']['valor'], 2, ',', '.').'</td>';
94 94
 		$html .= '		</tr>';
95 95
 		$html .= '	</table>';
96 96
 		$html .= '	<br>';
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
 			$total = number_format($total, 2, ',', '.');
121 121
 
122 122
 			$html .= '					<tr>';
123
-			$html .= '						<td>' . $produtoInfos['Produto']['nome'] . '</td>';
124
-			$html .= '						<td>' . $produto['VendaItensProduto']['quantidade_produto'] . '</td>';
125
-			$html .= '						<td>R$ ' . $total . '</td>';
123
+			$html .= '						<td>'.$produtoInfos['Produto']['nome'].'</td>';
124
+			$html .= '						<td>'.$produto['VendaItensProduto']['quantidade_produto'].'</td>';
125
+			$html .= '						<td>R$ '.$total.'</td>';
126 126
 			$html .= '					</tr>';
127 127
 		}
128 128
 		$html .= '				</table>';
Please login to merge, or discard this patch.