ajout de la fonction fetch_contact pour rcuprer le dtail d'un contact propal, commande,

facture...
This commit is contained in:
Regis Houssin 2006-06-19 16:59:29 +00:00
parent fc7dfdf863
commit c37521eea2
2 changed files with 1 additions and 26 deletions

View File

@ -935,19 +935,7 @@ class Commande extends CommonObject
$adresse->fetch_adresse_livraison($idadresse);
$this->adresse = $adresse;
}
/**
*
*
*/
function fetch_contact_commande($id)
{
$idcontact = $id;
$contact = new Contact($this->db);
$contact->fetch($idcontact);
$this->contact = $contact;
}
/**
* \brief Renvoie un tableau avec les expéditions par ligne

View File

@ -476,19 +476,6 @@ class Facture extends CommonObject
$this->client = $client;
}
/**
*
*
*/
function fetch_contact_facture($id)
{
$idcontact = $id;
$contact = new Contact($this->db);
$contact->fetch($idcontact);
$this->contact = $contact;
}
/**
* \brief Classe la facture dans un projet