This commit is contained in:
Rodolphe Quiedeville 2007-07-11 18:50:42 +00:00
parent 39a2ce4597
commit c85750047c
2 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ class CommunicationTelephonique {
$dureenat += $objp->duree;
$nbnat++;
$num = "00".substr($this->numero, 1);
$num = "00".$this->numero;
$this->remise = $ligne->remise;
//}
@ -106,14 +106,14 @@ class CommunicationTelephonique {
if ($tarif_achat->cout($num, $this->cout_temp_achat, $this->cout_fixe_achat, $tarif_libelle_achat) == 0)
{
dolibarr_syslog("CommunicationTelephonique::Cout Tarif achat manquant pour $num");
array_push($this->messages, array('warning',"Tarif achat manquant pour le numero $num"));
array_push($this->messages, array('warning',"Tarif achat manquant pour le numero $this->numero"));
//$error++;
}
if ($tarif_vente->cout($num, $this->cout_temp_vente, $this->cout_fixe_vente, $this->tarif_libelle_vente) == 0)
{
dolibarr_syslog("CommunicationTelephonique::Cout Tarif vente manquant pour $num");
array_push($this->messages, array('error',"Tarif vente manquant pour le numero $num"));
array_push($this->messages, array('error',"Tarif vente manquant pour le numero $this->numero"));
$error++;
}
//}

View File

@ -109,7 +109,7 @@ foreach($grilles as $grille)
print "<tr $bc[$var]>";
print '<td><a href="../grille.php?id='.$grille[0].'">'.$grille[1]."</a></td>\n";
print '<td>'.$grille[2]."</td>\n";
print '<td align="right"><a href="grilles.php?id='.$grille[0].'&amp;action=delete">'.$langs->trans("Delete")."</a></td>\n";
print '<td align="right"><a href="grille.php?id='.$grille[0].'&amp;action=delete">'.$langs->trans("Delete")."</a></td>\n";
print "</tr>\n";
}
print "</table>";