print "<td>"; $css->CrearInputText("TxtNumFactura", "text", 'Numero de Factura:<br>', "", "Numero de Comprobante", "black", "", "", 300, 30, 0, 1); print "</td>"; print "<td>"; $css->CrearInputText("TxtSubtotal", "number", 'Subtotal: <br>', "", "SubTotal", "black", "onkeyup", "CalculeTotal()", 150, 30, 0, 1); print "<br>"; $css->CrearInputText("TxtIVA", "number", 'IVA:<br>', "0", "IVA", "IVA", "onkeyup", "CalculeTotal()", 150, 30, 0, 1); $css->CrearSelect("CmbIVADes", "", "black", "", 1); $css->CrearOptionSelect(2408, "Descontable", 1); $css->CrearOptionSelect(521570, "No Descontable", 0); $css->CerrarSelect(); print "<br>"; $css->CrearInputText("TxtTotal", "number", 'Total:<br>', "", "Total", "black", "", "", 150, 30, 1, 1); print "<br>"; } $css->CrearBotonFuncion("BtnGuardarEgreso", "Guardar", "onClick='Confirmar();return false'"); print "</td>"; $css->CierraFilaTabla(); $css->CierraFilaTabla(); $css->CerrarTabla(); $css->CerrarForm(); } else { $css->CrearTabla(); $css->CrearFilaNotificacion("No se ha seleccionado un tipo de egreso", 16); $css->CerrarTabla(); } } ////////////////////////////////////Si se solicita buscar un cliente if (!empty($_REQUEST["TxtBuscarProveedor"])) { $Key = $_REQUEST["TxtBuscarProveedor"]; $pa = mysql_query("SELECT * FROM proveedores\tWHERE RazonSocial LIKE '%{$Key}%' OR Num_Identificacion = '{$Key}' LIMIT 10") or die(mysql_error());