Récupération du contact facture
This commit is contained in:
parent
4527351d62
commit
85bf8d96c3
@ -412,7 +412,7 @@ class Facture
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Recupére l'objet client lié à la facture
|
* \brief Recupére l'objet client lié à la facture
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -423,6 +423,19 @@ class Facture
|
|||||||
$this->client = $client;
|
$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
|
* \brief Classe la facture dans un projet
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user