Posts by daniel mello • 15 points
3 posts
-
-3
votes5
answers86551
viewsA: Upload a file with AJAX
// Campos extras var colaborador_id = $(".model_id").val(); var nome_recibo = $("#nome_recibo").val(); //Utilizei o FormData para poder enviar arquivo via ajax p php var data = new FormData();…
-
1
votes1
answer44
viewsA: I need to mount a query with Mysql through Laravel (Eloquent)
I managed to solve it this way. public Function selectObjectives(array $filter = []) { $query = DB::table('planejamento_objetivo') ->join('planejamento', 'planejamento_objetivo.planejamento_id',…
-
-1
votes1
answer44
viewsQ: I need to mount a query with Mysql through Laravel (Eloquent)
I have to get data from 3 tables(planejamento_objetivo, planejamento and equipe) and then apply a period filter and team. Assemble query to bring up table data planejamento_objetivo. It will only…