mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Deplacement des rapports de paiements
This commit is contained in:
parent
6c1958f7ba
commit
fccaae8b47
|
|
@ -37,7 +37,7 @@ $user->getrights("facture");
|
|||
if (! $user->rights->facture->lire)
|
||||
accessforbidden();
|
||||
|
||||
$dir = $conf->compta->dir_output;
|
||||
$dir = $conf->compta->dir_output.'/payments';
|
||||
|
||||
$socid=0;
|
||||
if ($user->societe_id > 0)
|
||||
|
|
@ -109,7 +109,6 @@ print '<br>';
|
|||
|
||||
clearstatcache();
|
||||
|
||||
|
||||
// Affiche lien sur autres années
|
||||
$found=0;
|
||||
if (is_dir($dir))
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ if ($modulepart)
|
|||
$accessallowed=1;
|
||||
}
|
||||
if ($user->societe_id > 0) $original_file=DOL_DATA_ROOT.'/private/'.$user->id.'/compta/'.$original_file;
|
||||
else $original_file=$conf->compta->dir_output.'/'.$original_file;
|
||||
else $original_file=$conf->compta->dir_output.'/payments/'.$original_file;
|
||||
}
|
||||
|
||||
// Wrapping pour les exports de compta
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ class pdf_paiement
|
|||
|
||||
$pdf->SetFont('Arial','',12);
|
||||
$pdf->Text(11, 22, $langs->transnoentities("Page")." : ".$page);
|
||||
// $pdf->Text(11, 22, "Page " . $page . " sur " . $pages);
|
||||
|
||||
$pdf->SetFont('Arial','',12);
|
||||
|
||||
|
|
@ -149,13 +148,7 @@ class pdf_paiement
|
|||
if ($oldprowid <> $lines[$j][7])
|
||||
{
|
||||
$oldprowid = $lines[$j][7];
|
||||
}
|
||||
|
||||
// if ($i < $this->line_per_page - 1)
|
||||
// {
|
||||
// $pdf->line(10, $this->tab_top + 10 + (($i+1) * $this->line_height), 200, $this->tab_top + 10 + (($i+1) * $this->line_height));
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
@ -203,7 +196,6 @@ class pdf_paiement
|
|||
$sql .= " AND date_format(p.datep, '%Y%m') = " . sprintf("%04d%02d",$year,$month);
|
||||
$sql .= " ORDER BY p.datep ASC, pf.fk_paiement ASC";
|
||||
$result = $this->db->query($sql);
|
||||
// print $sql ;
|
||||
|
||||
if ($result)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user