ok to display entries and equipments in templates
This commit is contained in:
parent
c74ba5ed85
commit
c3eb06ce0d
6 changed files with 50 additions and 2 deletions
|
|
@ -27,4 +27,9 @@ class Entry // entrées définitives
|
|||
{
|
||||
DB::getInstance()->insert('plugin_materiels_entry', $data);
|
||||
}
|
||||
|
||||
public function listAll()
|
||||
{
|
||||
return DB::getInstance()->get('SELECT * FROM plugin_materiels_entry ORDER BY date_of_entry DESC;');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue