[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5228 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5228 - phpcompta/trunk/include |
Date: |
Fri, 10 May 2013 23:45:03 +0200 (CEST) |
Author: danydb
Date: 2013-05-10 23:45:03 +0200 (Fri, 10 May 2013)
New Revision: 5228
Modified:
phpcompta/trunk/include/balance_card.inc.php
phpcompta/trunk/include/category_card.inc.php
phpcompta/trunk/include/category_followup.inc.php
phpcompta/trunk/include/category_operation.inc.php
phpcompta/trunk/include/class_fiche.php
phpcompta/trunk/include/constant.php
phpcompta/trunk/include/lettering.gestion.inc.php
Log:
task #827 : ajout nom tiers + quick_code
Modified: phpcompta/trunk/include/balance_card.inc.php
===================================================================
--- phpcompta/trunk/include/balance_card.inc.php 2013-05-10 20:46:34 UTC
(rev 5227)
+++ phpcompta/trunk/include/balance_card.inc.php 2013-05-10 21:45:03 UTC
(rev 5228)
@@ -26,6 +26,7 @@
require_once('class_exercice.php');
global $g_user;
echo '<div class="content" style="width:80%;margin-left:10%">';
+echo $f->get_gestion_title();
$exercice=new Exercice($cn);
$old='';
$fiche=new Fiche($cn,$_GET['f_id']);
Modified: phpcompta/trunk/include/category_card.inc.php
===================================================================
--- phpcompta/trunk/include/category_card.inc.php 2013-05-10 20:46:34 UTC
(rev 5227)
+++ phpcompta/trunk/include/category_card.inc.php 2013-05-10 21:45:03 UTC
(rev 5228)
@@ -109,9 +109,11 @@
if ( $ss_action == 'cn')
{
echo '<div class="content">';
- echo dossier::hidden();
- $f=new Fiche($cn,$_REQUEST['f_id']);
- $contact=new Contact($cn);
+
+ echo dossier::hidden();
+ $f = new Fiche($cn, $_REQUEST['f_id']);
+ echo $f->get_gestion_title();
+ $contact=new Contact($cn);
$contact->company=$f->get_quick_code();
echo $contact->summary("");
Modified: phpcompta/trunk/include/category_followup.inc.php
===================================================================
--- phpcompta/trunk/include/category_followup.inc.php 2013-05-10 20:46:34 UTC
(rev 5227)
+++ phpcompta/trunk/include/category_followup.inc.php 2013-05-10 21:45:03 UTC
(rev 5228)
@@ -44,7 +44,9 @@
$fiche=new Fiche($cn,$_REQUEST['f_id']);
$_GET['qcode']=$fiche->get_quick_code();
-$_REQUEST['qcode']=$fiche->get_quick_code();
+$_REQUEST['qcode'] = $fiche->get_quick_code();
+
echo '<div class="content">';
+echo $fiche->get_gestion_title();
require_once('action.common.inc.php');
echo '</div>';
Modified: phpcompta/trunk/include/category_operation.inc.php
===================================================================
--- phpcompta/trunk/include/category_operation.inc.php 2013-05-10 20:46:34 UTC
(rev 5227)
+++ phpcompta/trunk/include/category_operation.inc.php 2013-05-10 21:45:03 UTC
(rev 5228)
@@ -36,5 +36,7 @@
$_REQUEST['qcode']=$qcode;
$var_array=compute_variable('ledger_type=ALL');
put_global($var_array);
+echo $f->get_gestion_title();
+
require_once ('history_operation.inc.php');
Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php 2013-05-10 20:46:34 UTC (rev
5227)
+++ phpcompta/trunk/include/class_fiche.php 2013-05-10 21:45:03 UTC (rev
5228)
@@ -1899,5 +1899,12 @@
print_r($empty);
}
}
+
+ function get_gestion_title()
+ {
+ $r = "<h2>" . h($this->getName()) . " " .
h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() .
']</h2>';
+ return $r;
+ }
}
+
?>
Modified: phpcompta/trunk/include/constant.php
===================================================================
--- phpcompta/trunk/include/constant.php 2013-05-10 20:46:34 UTC (rev
5227)
+++ phpcompta/trunk/include/constant.php 2013-05-10 21:45:03 UTC (rev
5228)
@@ -35,6 +35,7 @@
$g_succeed="<span style=\"font-size:18px;color:green\">✓</span>";
/*set to none for production */
/* uncomment for production */
+ define ('SVNINFO',5900);
$version_phpcompta=SVNINFO;
define ("DEBUG",false);
/* define ('SVNINFO',5015);
Modified: phpcompta/trunk/include/lettering.gestion.inc.php
===================================================================
--- phpcompta/trunk/include/lettering.gestion.inc.php 2013-05-10 20:46:34 UTC
(rev 5227)
+++ phpcompta/trunk/include/lettering.gestion.inc.php 2013-05-10 21:45:03 UTC
(rev 5228)
@@ -2,6 +2,8 @@
require_once('class_lettering.php');
global $g_user;
echo '<div class="content">';
+echo $f->get_gestion_title();
+
echo '<div id="search">';
echo '<FORM METHOD="GET">';
echo dossier::hidden();
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5228 - phpcompta/trunk/include,
phpcompta-dev <=