phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4948 - in phpcompta/trunk: html include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4948 - in phpcompta/trunk: html include
Date: Tue, 19 Jun 2012 20:29:33 +0200 (CEST)

Author: danydb
Date: 2012-06-19 20:29:33 +0200 (Tue, 19 Jun 2012)
New Revision: 4948

Modified:
   phpcompta/trunk/html/show_document.php
   phpcompta/trunk/include/class_fiche.php
Log:
underline qcode in action : supplier, customer , banque & administration

Modified: phpcompta/trunk/html/show_document.php
===================================================================
--- phpcompta/trunk/html/show_document.php      2012-06-19 17:53:31 UTC (rev 
4947)
+++ phpcompta/trunk/html/show_document.php      2012-06-19 18:29:33 UTC (rev 
4948)
@@ -65,7 +65,7 @@
 if ($action == 'rmop')
 {
        $json = '{"ago_id":"-1"}';
-       $dt_id = $cn->get_value("select ag_id from action_gestion_operation 
where ago_id=$1", $_REQUEST['id']);
+       $dt_id = $cn->get_value("select ag_id from action_gestion_operation 
where ago_id=$1",array( $_REQUEST['id']));
        if ($g_user->check_action(RMDOC) == 1 && 
$g_user->can_write_action($dt_id) == true)
        {
                $cn->exec_sql("delete from action_gestion_operation where 
ago_id=$1", array($_REQUEST['id']));
@@ -78,7 +78,7 @@
 if ($action == 'rmcomment')
 {
        $json = '{"agc_id":"-1"}';
-       $dt_id = $cn->get_value("select ag_id from action_gestion_comment where 
agc_id=$1", $_REQUEST['id']);
+       $dt_id = $cn->get_value("select ag_id from action_gestion_comment where 
agc_id=$1", array($_REQUEST['id']));
        if ($g_user->check_action(RMDOC) == 1 && 
$g_user->can_write_action($dt_id) == true)
        {
                $cn->exec_sql("delete from action_gestion_comment where 
agc_id=$1", array($_REQUEST['id']));

Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php     2012-06-19 17:53:31 UTC (rev 
4947)
+++ phpcompta/trunk/include/class_fiche.php     2012-06-19 18:29:33 UTC (rev 
4948)
@@ -1605,7 +1605,7 @@
             if ( $p_amount && $amount['debit']==0 && $amount['credit'] == 0 && 
$amount['solde'] == 0 ) continue;
 
             $r.="<TR $odd>";
-            $e=sprintf('<A HREF="%s?ac=%s&sb=detail&f_id=%d&%s&sc=sv" 
title="Détail"> ',
+            $e=sprintf('<A HREF="%s?ac=%s&sb=detail&f_id=%d&%s&sc=sv" 
title="Détail" class="line"> ',
                        $script,$_REQUEST['ac'],$tiers->id,$str_dossier);
 
             $r.="<TD> $e".$tiers->strAttribut(ATTR_DEF_QUICKCODE)."</A></TD>";



---
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]