Mise à jour look
This commit is contained in:
parent
7efe1522b6
commit
1d6fc5d8b9
@ -278,7 +278,6 @@ if ($action == 'send')
|
|||||||
|
|
||||||
if ( $mailfile->sendfile() )
|
if ( $mailfile->sendfile() )
|
||||||
{
|
{
|
||||||
|
|
||||||
$sendto = htmlentities($sendto);
|
$sendto = htmlentities($sendto);
|
||||||
|
|
||||||
$sql = "INSERT INTO ".MAIN_DB_PREFIX."actioncomm (datea,fk_action,fk_soc,note,fk_facture, fk_contact,fk_user_author, label, percent) VALUES (now(), '9' ,'$fac->socidp' ,'Envoyée à $sendto','$fac->id','$sendtoid','$user->id', 'Envoi Facture par mail',100);";
|
$sql = "INSERT INTO ".MAIN_DB_PREFIX."actioncomm (datea,fk_action,fk_soc,note,fk_facture, fk_contact,fk_user_author, label, percent) VALUES (now(), '9' ,'$fac->socidp' ,'Envoyée à $sendto','$fac->id','$sendtoid','$user->id', 'Envoi Facture par mail',100);";
|
||||||
@ -1022,16 +1021,17 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Récurrente
|
// Récurrente
|
||||||
if (! defined("FACTURE_NORECURENTE")) { // Possibilité de désactiver les factures récurrentes
|
if (! defined("FACTURE_NORECURENTE")) // Possibilité de désactiver les factures récurrentes
|
||||||
if ($fac->statut > 0)
|
|
||||||
{
|
{
|
||||||
print '<td align="center" width="20%"><a href="facture/fiche-rec.php?facid='.$fac->id.'&action=create">Récurrente</a></td>';
|
if ($fac->statut > 0)
|
||||||
|
{
|
||||||
|
print '<td align="center" width="20%"><a href="facture/fiche-rec.php?facid='.$fac->id.'&action=create">Récurrente</a></td>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print '<td align="center" width="20%">-</td>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
print '<td align="center" width="20%">-</td>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
print "</tr></table>";
|
print "</tr></table>";
|
||||||
}
|
}
|
||||||
@ -1296,31 +1296,26 @@ else
|
|||||||
print_barre_liste("Factures clients",$page,$PHP_SELF,"&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
print_barre_liste("Factures clients",$page,$PHP_SELF,"&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
print "<TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print '<TR class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<TD>Numéro</TD>';
|
print '<td>Numéro</td>';
|
||||||
print '<TD align="center">';
|
print '<td align="center">';
|
||||||
print_liste_field_titre("Date",$PHP_SELF,"f.datef","","&socidp=$socidp");
|
print_liste_field_titre("Date",$PHP_SELF,"f.datef","","&socidp=$socidp");
|
||||||
print '</td>';
|
print '</td><td>';
|
||||||
print '<td>';
|
|
||||||
print_liste_field_titre("Société",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
print_liste_field_titre("Société",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
||||||
print '</td>';
|
print '</td><td align="right">';
|
||||||
print '<td align="right">';
|
|
||||||
print_liste_field_titre("Montant HT",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
print_liste_field_titre("Montant HT",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
||||||
print '</td>';
|
print '</td><td align="right">';
|
||||||
print '<td align="right">';
|
|
||||||
print_liste_field_titre("Montant TTC",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
print_liste_field_titre("Montant TTC",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
||||||
print '</td>';
|
print '</td><td align="right">Reçu</td>';
|
||||||
|
|
||||||
print '<TD align="right">Reçu</TD>';
|
|
||||||
print '<td align="center">Status</td>';
|
print '<td align="center">Status</td>';
|
||||||
print "</TR>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
if ($num > 0)
|
if ($num > 0)
|
||||||
{
|
{
|
||||||
$var=True;
|
$var=True;
|
||||||
$total=0;
|
$total=0;
|
||||||
$totalrecu=0;
|
$totalrecu=0;
|
||||||
|
|
||||||
while ($i < min($num,$limit))
|
while ($i < min($num,$limit))
|
||||||
{
|
{
|
||||||
@ -1344,8 +1339,8 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td><a href="facture.php?facid='.$objp->facid.'">' . $objp->facnumber;
|
print '<td><a href="facture.php?facid='.$objp->facid.'">'.img_file()."</a> \n";
|
||||||
print "</a></TD>\n";
|
print '<a href="facture.php?facid='.$objp->facid.'">'.$objp->facnumber."</a></td>\n";
|
||||||
|
|
||||||
if ($objp->df > 0 )
|
if ($objp->df > 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user