Début ajout bon de livraison
This commit is contained in:
parent
57d3c8778c
commit
8b1dc624c2
@ -140,9 +140,9 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
|||||||
$delivery = new Livraison($this->db);
|
$delivery = new Livraison($this->db);
|
||||||
$delivery->fetch($id);
|
$delivery->fetch($id);
|
||||||
|
|
||||||
$delivery = new Livraison($this->db);
|
$delivery->commande = new Livraison($this->db);
|
||||||
$delivery->commande->id = $delivery->commande_id;
|
$delivery->commande->commande_id = $delivery->commande_id;
|
||||||
$delivery->commande = fetch_commande();
|
$delivery->commande->fetch_commande();
|
||||||
|
|
||||||
$nblignes = sizeof($delivery->commande->lignes);
|
$nblignes = sizeof($delivery->commande->lignes);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user