Fix var missing
This commit is contained in:
parent
0f268b682a
commit
cde2af7614
@ -131,7 +131,7 @@ if (!empty($conf->projet->enabled)) {
|
|||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
$object->totalpaye = $totalpaye; // To give a chance to dol_banner_tab to use already paid amount to show correct status
|
$object->totalpaid = $totalpaye; // To give a chance to dol_banner_tab to use already paid amount to show correct status
|
||||||
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0);
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ print '<div class="underbanner clearboth"></div>';
|
|||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
print '<table width="100%"><tr><td>';
|
print '<table class="centpercent"><tr><td>';
|
||||||
dol_print_object_info($object);
|
dol_print_object_info($object);
|
||||||
print '</td></tr></table>';
|
print '</td></tr></table>';
|
||||||
|
|
||||||
|
|||||||
@ -51,6 +51,12 @@ class Cstate // extends CommonObject
|
|||||||
|
|
||||||
public $code_departement;
|
public $code_departement;
|
||||||
public $code;
|
public $code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string name
|
||||||
|
*/
|
||||||
|
public $name = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
* @deprecated
|
* @deprecated
|
||||||
@ -58,10 +64,7 @@ class Cstate // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $nom = '';
|
public $nom = '';
|
||||||
|
|
||||||
/**
|
public $label;
|
||||||
* @var string name
|
|
||||||
*/
|
|
||||||
public $name = '';
|
|
||||||
|
|
||||||
public $active;
|
public $active;
|
||||||
|
|
||||||
@ -88,7 +91,6 @@ class Cstate // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function create($user, $notrigger = 0)
|
public function create($user, $notrigger = 0)
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
|
||||||
$error = 0;
|
$error = 0;
|
||||||
|
|
||||||
// Clean parameters
|
// Clean parameters
|
||||||
@ -155,7 +157,6 @@ class Cstate // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function fetch($id, $code = '')
|
public function fetch($id, $code = '')
|
||||||
{
|
{
|
||||||
global $langs;
|
|
||||||
$sql = "SELECT";
|
$sql = "SELECT";
|
||||||
$sql .= " t.rowid,";
|
$sql .= " t.rowid,";
|
||||||
$sql .= " t.code_departement,";
|
$sql .= " t.code_departement,";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user