Posts by Murilo • 11 points
3 posts
-
0
votes1
answer535
viewsQ: Search records between two dates using the eloquent of the Standard
I need to search the bank records between two dates. example: $emprestimos_material_qtd = MultimeiosDetalheEmprestimo:: where('recursoId', 2) ->where('dataDevolucao', null)…
-
0
votes1
answer86
viewsQ: How to pick the difference in time between two dates using the Carbon plugin, where it shows me whether it is positive or negative
Example: $primeiraData = Carbon::parse('2019-02-01 13:00:00'); $segundaData = Carbon::parse('2019-02-02 14:00:00'); $resultado = $segundaData->diffInHours($primeiraData); Regardless of the order…
-
0
votes0
answers41
viewsQ: I have updated the version of Laravel 5.2 to 5.6 and I am having problems with the requests via ajax that receives a return Sponse()->json
I have a system running normally in Laravel 5.2, but I need resources that only have the most current versions of the framework. With this I updated it to version 5.6 and I am having problems with…