remove debug info

This commit is contained in:
sparkyx 2007-10-14 10:21:18 +00:00
parent dc20427285
commit a35a1a91ee
4 changed files with 2 additions and 9 deletions

View file

@ -57,7 +57,6 @@ echo '</form>';
//------------- FORM ----------------------------------
if ( isset($_REQUEST['go'])) {
$cn=DbConnect(dossier::id());
print_r($_REQUEST['c2']);
$plan=new PlanAnalytic($cn,$_REQUEST['c2']);
$plan->pa_id=$_REQUEST['c2'];
if ( $plan->exist()==false)
@ -66,7 +65,6 @@ if ( isset($_REQUEST['go'])) {
$sql="select po_name , po_description from poste_analytique ".
"where pa_id=".$_REQUEST['c2']." and ".
" upper (po_name) like upper('%".pg_escape_string($_REQUEST['label'])."%') order by po_name";
print_r($sql);
$res=ExecSql($cn,$sql);
$array=pg_fetch_all($res);
if (empty($array) == true)

View file

@ -531,7 +531,6 @@ order by 1;
echo $bal->display_form();
echo '</form>';
if ( isset($_GET['result'])) {
print_r($bal);
echo $bal->show_button("","");
echo "<h1>HTML</h1>";
echo $bal->display_html();

View file

@ -293,7 +293,6 @@ static function test_me () {
echo $bal->display_form();
echo '</form>';
if ( isset($_GET['result'])) {
print_r($bal);
echo $bal->show_button("","");
echo "<h1>HTML</h1>";
echo $bal->display_html();

View file

@ -26,7 +26,7 @@
/*! \brief group of object operations, used for misc operation
*
*/
require_once ("class_operation.php");
require_once ("class_anc_operation.php");
require_once ("postgres.php");
require_once ("class_widget.php");
require_once ('class_plananalytic.php');
@ -97,7 +97,6 @@ class groupop
$ret.="<tr>";
foreach ($aPlan as $d)
{
print_r($d);
$idx=$d['id'];
/* array of possible value for the select */
$aPoste[$idx]=make_array($this->db,"select po_id as value,po_name||':'||po_description as label".
@ -169,7 +168,7 @@ class groupop
foreach ($aPlan as $d)
{
$idx=$d['id'];
$p=new operation($this->db);
$p=new Anc_Operation($this->db);
$p->oa_amount=$_POST["pamount$i"];
$p->oa_description=$_POST["pdesc"];
@ -215,10 +214,8 @@ class groupop
$cn=DbConnect($dossier);
if ( isset($_POST['go'])) {
print_r ($_POST);
$b=new groupop($cn);
$b->from_POST();
print_r($b);
exit();
}