risolto bug Report entrate con month diverso da quello passsato da parametro
This commit is contained in:
parent
f288cd3d49
commit
914fd2759e
@ -155,8 +155,8 @@ class MovimentiController extends Controller
|
|||||||
->selectRaw('ABS(Sum(movimentis.mov_importo)) as resoconto, categories.cat_name')
|
->selectRaw('ABS(Sum(movimentis.mov_importo)) as resoconto, categories.cat_name')
|
||||||
->join('categories','movimentis.mov_fk_categoria','=','categories.id')
|
->join('categories','movimentis.mov_fk_categoria','=','categories.id')
|
||||||
->where('mov_importo','>',0)
|
->where('mov_importo','>',0)
|
||||||
->whereYear('mov_data',date('Y'))
|
->whereYear('mov_data',$year)
|
||||||
->whereMonth('mov_data',date('m'))
|
->whereMonth('mov_data',$month)
|
||||||
->groupBy('cat_name')
|
->groupBy('cat_name')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user