modify db and add doc for it
This commit is contained in:
parent
12a11611c6
commit
8dcd7670a5
10 changed files with 407 additions and 21 deletions
|
|
@ -9,9 +9,10 @@ class Entry
|
|||
protected $columns_order = array(
|
||||
'id',
|
||||
'kind',
|
||||
'number_of_equipments',
|
||||
'equipment_number',
|
||||
'equipment_id',
|
||||
'date_of_entry',
|
||||
'entry_date',
|
||||
'additional_comment',
|
||||
);
|
||||
|
||||
public function listKinds()
|
||||
|
|
@ -36,6 +37,6 @@ class Entry
|
|||
|
||||
public function listAll()
|
||||
{
|
||||
return DB::getInstance()->get('SELECT * FROM plugin_materiels_entry ORDER BY date_of_entry DESC;');
|
||||
return DB::getInstance()->get('SELECT * FROM plugin_materiels_entry ORDER BY entry_date DESC;');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue