task #827 : ajout nom tiers + quick_code
This commit is contained in:
parent
fff3179347
commit
f504673abf
7 changed files with 21 additions and 4 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
|
|
@ -109,9 +109,11 @@ if ( $ss_action=='bal')
|
|||
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("");
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,9 @@ $retour=HtmlInput::button_anchor('Retour','?'.dossier::get().'&'.$base);
|
|||
$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>';
|
||||
|
|
|
|||
|
|
@ -36,5 +36,7 @@ $_GET['qcode']=$qcode;
|
|||
$_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');
|
||||
|
||||
|
|
|
|||
|
|
@ -1899,5 +1899,12 @@ class Fiche
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ $g_failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
|||
$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);
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue