synchro
This commit is contained in:
parent
39a2ce4597
commit
c85750047c
@ -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++;
|
||||
}
|
||||
//}
|
||||
|
||||
@ -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].'&action=delete">'.$langs->trans("Delete")."</a></td>\n";
|
||||
print '<td align="right"><a href="grille.php?id='.$grille[0].'&action=delete">'.$langs->trans("Delete")."</a></td>\n";
|
||||
print "</tr>\n";
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user