prenom = $order->customer->first_name; $this->nom = $order->customer->last_name; $this->adresse = $order->address->address; $this->cp = $order->address->zipcode; $this->ville = $order->address->city; $this->societe = $order->customer->company; $this->email = $order->customer->email; $this->numero_suivi = $order->delivery_ref; $this->numero_commande = $order->ref; $this->date_expedition = $order->updated_at; $this->facture = Invoices::getInvoiceHtml($order->invoice->id); } }