quelques global qui manquent
This commit is contained in:
parent
b9ebc3b4a9
commit
0d6db79024
@ -167,7 +167,7 @@ function factures ($db, $year, $month, $paye) {
|
|||||||
|
|
||||||
|
|
||||||
function pt ($db, $sql, $year) {
|
function pt ($db, $sql, $year) {
|
||||||
global $bc;
|
global $bc, $langs;
|
||||||
|
|
||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
@ -238,7 +238,7 @@ function pt ($db, $sql, $year) {
|
|||||||
|
|
||||||
function ppt ($db, $year, $socidp)
|
function ppt ($db, $year, $socidp)
|
||||||
{
|
{
|
||||||
global $bc,$conf;
|
global $bc,$conf,$langs;
|
||||||
print "<table width=\"100%\">";
|
print "<table width=\"100%\">";
|
||||||
|
|
||||||
print '<tr class="liste_titre"><td align="center" valign="top" width="30%">';
|
print '<tr class="liste_titre"><td align="center" valign="top" width="30%">';
|
||||||
|
|||||||
@ -33,6 +33,7 @@ if ($user->societe_id > 0)
|
|||||||
|
|
||||||
function pt ($db, $sql, $title) {
|
function pt ($db, $sql, $title) {
|
||||||
global $bc;
|
global $bc;
|
||||||
|
global $langs;
|
||||||
|
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user