Synchro
This commit is contained in:
parent
0a8fa009be
commit
aee22408ea
@ -91,7 +91,7 @@ if ($_GET["facid"] > 0)
|
|||||||
$head[$h][1] = $langs->trans("Apercu");
|
$head[$h][1] = $langs->trans("Apercu");
|
||||||
$h++;
|
$h++;
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/prelevement.php?facid='.$fac->id;
|
||||||
$head[$h][1] = $langs->trans("Prelevement");
|
$head[$h][1] = $langs->trans("Prélèvement");
|
||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/note.php?facid='.$fac->id;
|
||||||
@ -132,7 +132,7 @@ if ($_GET["facid"] > 0)
|
|||||||
print "<div class=\"tabsAction\">\n";
|
print "<div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
// Valider
|
// Valider
|
||||||
if ($fac->statut > 0 && $fac->paye == 0)
|
if ($fac->statut > 0 && $fac->paye == 0 && $fac->mode_reglement == 3)
|
||||||
{
|
{
|
||||||
if ($user->rights->facture->creer)
|
if ($user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
@ -177,7 +177,7 @@ if ($_GET["facid"] > 0)
|
|||||||
|
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print '<td align="center">'.strftime("%d/%m/%Y",$obj->date_demande)."</td>\n";
|
print '<td align="center">'.strftime("%d/%m/%Y",$obj->date_demande)."</td>\n";
|
||||||
print '<td align="center">-</td>';
|
print '<td align="center">En attente de traitement</td>';
|
||||||
print '<td align="center">-</td>';
|
print '<td align="center">-</td>';
|
||||||
print '<td align="center" colspan="2">'.$obj->firstname." ".$obj->name.'</td>';
|
print '<td align="center" colspan="2">'.$obj->firstname." ".$obj->name.'</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user