Synchro
This commit is contained in:
parent
851e3fe891
commit
2693d4d162
@ -125,8 +125,8 @@ class CommunicationTelephonique {
|
||||
}
|
||||
|
||||
/*
|
||||
* Enregistre la ligne de communications dans llx_telephonie_communications_details
|
||||
*
|
||||
* Enregistre la ligne de communications dans
|
||||
* llx_telephonie_communications_details
|
||||
*
|
||||
*/
|
||||
|
||||
@ -174,7 +174,9 @@ class CommunicationTelephonique {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
function _log( $text)
|
||||
{
|
||||
@ -184,10 +186,13 @@ class CommunicationTelephonique {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
function loghtml($file)
|
||||
{
|
||||
$this->file_details = $file;
|
||||
|
||||
|
||||
$this->_log( '<tr>');
|
||||
$this->_log( "<td>$this->index");
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
|
||||
class FactureTel {
|
||||
var $db;
|
||||
|
||||
var $id;
|
||||
|
||||
function FactureTel($DB, $id=0)
|
||||
@ -86,8 +85,8 @@ class FactureTel {
|
||||
|
||||
$sql = "UPDATE ".MAIN_DB_PREFIX."telephonie_facture";
|
||||
$sql .= " SET ";
|
||||
$sql .= " fk_facture = $facid ";
|
||||
$sql .= " WHERE rowid = $this->id";
|
||||
$sql .= " fk_facture = ".$facid ;
|
||||
$sql .= " WHERE rowid = ".$this->id;
|
||||
|
||||
if ( $this->db->query($sql) )
|
||||
{
|
||||
@ -101,7 +100,9 @@ class FactureTel {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
function get_comm_min_date($date)
|
||||
{
|
||||
@ -124,6 +125,10 @@ class FactureTel {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
function get_comm_max_date($date)
|
||||
{
|
||||
$sql = "SELECT ".$this->db->pdate("max(date)");
|
||||
@ -142,9 +147,6 @@ class FactureTel {
|
||||
return $row[0];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user