Well I need to make a query
where I have to bring all the listed items of the month we are in.
In query
that I've done I'm bringing all with status
co_de O
:
$vendas = Encomenda::where('FlgStEncomenda', 'O')->count();
In my table structure I have a OK
which is the creation date, made up of created_at
and data
as follows hora
through it I need to do the search. So I have to return all 2016-11-02 16:25:03
registered this month.