Cambiato entità di default
This commit is contained in:
@@ -32,18 +32,20 @@ class Movimenti extends Model
|
||||
'import_hash',
|
||||
];
|
||||
|
||||
/* public static $query = 'SELECT
|
||||
a.id,
|
||||
a.mov_data,
|
||||
a.mov_importo_dare,
|
||||
a.mov_importo_avere,
|
||||
a.mov_descrizione,
|
||||
c.cat_name,
|
||||
t.tag_name,
|
||||
(SELECT Count(entity_id) as quanti FROM gen_docs WHERE entity=0 AND entity_id = a.id) as quanti
|
||||
FROM movimentis as a
|
||||
JOIN tags as t ON a.mov_fk_tags=t.id
|
||||
JOIN categories as c ON a.mov_fk_categoria=c.id'; */
|
||||
/*
|
||||
public static $query = 'SELECT
|
||||
a.id,
|
||||
a.mov_data,
|
||||
a.mov_importo_dare,
|
||||
a.mov_importo_avere,
|
||||
a.mov_descrizione,
|
||||
c.cat_name,
|
||||
t.tag_name,
|
||||
(SELECT Count(entity_id) as quanti FROM gen_docs WHERE entity=0 AND entity_id = a.id) as quanti
|
||||
FROM movimentis as a
|
||||
JOIN tags as t ON a.mov_fk_tags=t.id
|
||||
JOIN categories as c ON a.mov_fk_categoria=c.id';
|
||||
*/
|
||||
|
||||
public function ContoDa()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user