Skip to content
Snippets Groups Projects
Commit 60afe753 authored by clement's avatar clement
Browse files

c

parent 325b55ab
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,8 @@ class Facture extends Objet
public function str() {
$animal = new Animal()
$fields = $animal->select($this->id)
return $fields["nom"]." ".$this->prix_total;
$animal->select($this->animal)
$tostr = $animal->str().' : '.$this->prix_total;
return $tostr;
}
}
\ No newline at end of file
......@@ -79,7 +79,8 @@ class Ordonnance extends Objet
public function str() {
$animal = new Animal()
$fields = $animal->select($this->id)
return $fields["nom"]." ".$this->date;
$animal->select($this->animal)
$tostr = $animal->str().' : '.$this->date;
return $tostr;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment