phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r640 - in trunk/rapport_avance: . include


From: phpcompta-dev
Subject: [Phpcompta-dev] r640 - in trunk/rapport_avance: . include
Date: Tue, 31 Dec 2013 15:26:57 +0100 (CET)

Author: danydb
Date: 2013-12-31 15:26:56 +0100 (Tue, 31 Dec 2013)
New Revision: 640

Modified:
   trunk/rapport_avance/include/class_rapav_listing_formula.php
   trunk/rapport_avance/rapav_javascript.js
Log:
remove debug + update doc

Modified: trunk/rapport_avance/include/class_rapav_listing_formula.php
===================================================================
--- trunk/rapport_avance/include/class_rapav_listing_formula.php        
2013-12-31 01:16:39 UTC (rev 639)
+++ trunk/rapport_avance/include/class_rapav_listing_formula.php        
2013-12-31 14:26:56 UTC (rev 640)
@@ -172,11 +172,11 @@
     var $data;
 
     /**
-     * < RAPAV_Listing_Compute_SQL object */
+     * < RAPAV_Listing_Compute_Fiche_SQL object */
     var $fiche;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Detail_SQL object */
     var $detail;
 
     /**
@@ -287,7 +287,7 @@
     var $data;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Fiche_SQL object */
     var $fiche;
 
     /**
@@ -296,7 +296,7 @@
     var $sig;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Detail_SQL object */
     var $detail;
 
     function __construct(RAPAV_Listing_Param_SQL $obj, $p_cat_id = 0)
@@ -429,7 +429,7 @@
     var $data;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Fiche_SQL object */
     var $fiche;
 
     /**
@@ -438,7 +438,7 @@
     var $sig;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Detail_SQL object */
     var $detail;
 
     function __construct(RAPAV_Listing_Param_SQL $obj)
@@ -557,7 +557,8 @@
  *   - fp_formula
  *   - jrn_def_id
  *   - date_paid
- *   - tt
+ *   - lp_card_saldo
+ *   - type_sum_account
  *  
  */
 class RAPAV_Formula_Account extends RAPAV_Listing_Formula
@@ -568,7 +569,7 @@
     var $data;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Fiche_SQL */
     var $fiche;
 
     /**
@@ -577,7 +578,7 @@
     var $sig;
 
     /**
-     * < RAPAV_Listing_Detail_SQL object */
+     * < RAPAV_Listing_Compute_Detail_SQL object */
     var $detail;
 
     function __construct(RAPAV_Listing_Param_SQL $obj)
@@ -789,7 +790,7 @@
         $sel_total_type_row = new ISelect('tt_id');
         $sel_total_type_row->value = $cn->make_array('select tt_id,tt_label 
from '
                 . ' rapport_advanced.total_type_account order by 2');
-        $sel_total_type_row->selected=$this->data->tt_id;
+        $sel_total_type_row->selected=$this->data->type_sum_account;
         echo '<p>';
         echo "Reprendre historique opération: " . $histo_operation->input();
         echo '</p>';

Modified: trunk/rapport_avance/rapav_javascript.js
===================================================================
--- trunk/rapport_avance/rapav_javascript.js    2013-12-31 01:16:39 UTC (rev 
639)
+++ trunk/rapport_avance/rapav_javascript.js    2013-12-31 14:26:56 UTC (rev 
640)
@@ -772,15 +772,10 @@
                     onSuccess: function(req, json) {
                         try {
                             remove_waiting_box();
-                             console.log(775);
                             var answer = req.responseXML;
-                             console.log(777);
                             var acode = answer.getElementsByTagName('code');
-                             console.log(778);
                             var ap_id = answer.getElementsByTagName('l_id');
-                             console.log(779);
                             var html = answer.getElementsByTagName('html');
-                             console.log(780);
 
                             if (acode.length == 0) {
                                 var rec = req.responseText;
@@ -791,7 +786,6 @@
                             var code_html = unescape_xml(code_xml);
                             if (code == 'ok')
                             {
-                                console.log('ok');
                                 var afpid = 
answer.getElementsByTagName('lp_id');
                                 var fp_id = afpid[0].firstChild.nodeValue;
                                 var p_id = ap_id[0].firstChild.nodeValue;
@@ -819,7 +813,6 @@
                         }
                         catch (e) {
                             alert("save_param_detail " + e.message);
-                            console.log(e.message);
                             return false;
                         }
                         try {
@@ -827,7 +820,6 @@
                         }
                         catch (e) {
                             alert("save_param_detail Impossible executer 
script de la reponse\n" + e.message);
-                            console.log(e.message);
                         }
 
                     }



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]