Exemplo n.º 1
0
 function buscar()
 {
     $id = $_REQUEST['id'];
     $ordenVenta = new OrdenVenta();
     $data = $ordenVenta->buscarEmisionLetra($id);
     echo "<tr>";
     echo '<td>' . $data[0]['idorden'] . '</td>';
     echo '<td>' . date("d-m-Y", strtotime($data[0]['fecha'])) . '</td>';
     echo '<td>' . $data[0]['nombres'] . " " . $data[0]['apellidopaterno'] . " " . $data[0]['apellidomaterno'] . '</td>';
     echo '<td>' . number_format($data[0]['importe'], 2) . '</td>';
     echo "<tr>";
 }