Advertisement
NelsonGG

Untitled

Oct 11th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.31 KB | None | 0 0
  1. $tbl2 = '<table border="0" cellpadding="5" cellspacing="0" align="justify" style="font-size:10px;">
  2.  
  3. <tr bgcolor="#D8D8D8">
  4. <th width="60px" style="text-align:center; border:1px solid #000;"><strong>CANT</strong></th>
  5. <th width="40px" style="text-align:center; border:1px solid #000;"><strong>COD</strong></th>
  6. <th width="180px" style="text-align:center; border:1px solid #000;"><strong>DETALLE</strong></th>
  7. <th width="95px" style="text-align:center; border:1px solid #000;"><strong>DESPACHO</strong></th>
  8. <th width="95px" style="text-align:center; border:1px solid #000;"><strong>PROC.ORIGEN</strong></th>
  9. <th width="60px" style="text-align:center; border:1px solid #000;"><strong>P.UNI</strong></th>
  10. <th width="65px" style="text-align:center; border:1px solid #000;"><strong>BON.%</strong></th>
  11. <th width="50px" style="text-align:center; border:1px solid #000;"><strong>P.NETO</strong></th>
  12. <th style="text-align:center; border:1px solid #000;" width="70px" ><strong>IMPORTE</strong></th>
  13.  
  14. </tr>';
  15.  
  16. foreach ($items as $datos) {
  17.  
  18.   $tb12 .= "<tr><td width='60px'>{$datos['CANT']}</td>
  19.  <td width='40px'>{$datos['COD']}</td>
  20.  <td width='180px'></td>
  21.  <td width='96px'></td>
  22.  <td width='94px'></td>
  23.  <td></td>
  24.  <td></td>
  25.  <td></td>
  26.  <td width='70px'></td></tr>";
  27.   }
  28.  
  29. $tb12 .= "</table>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement