Questions tagged as 'laravel'

0
answers

Laravel Eager Loading - Load (Does weird things)

I'm trying to load the polls of a group, which they do show, but I also want to retrieve the name of who did that survey. This is how I have my controller: public function index(Grupo $grupo) { $grupo->load('En...
asked by 27.12.2018 / 08:03
0
answers

Problem GraphQl Angular 7 - Laravel

I am using the laravel backend side and put graphql on the server, with which I can make queries from the graphical interface. Now it's time to send the queries from the frontend (Angular7) to laravel, but there's no way. From the beginning I us...
asked by 23.12.2018 / 13:46
1
answer

notice no procfile using 'web heroku-php-apache2' when doing deploy of project laravel in heroku

Best regards, I am trying to upload one of my projects to heroku following the documentation, I receive the following error when opening the application. I understand that this happens, because a file called Procfile must be created in...
asked by 24.12.2018 / 16:25
0
answers

Error 500 when doing delete with ajax in Laravel 5.5

When I click on the delete button, I get the error    POST link 500 (Internal Server   Error) or    DELETE link 500 (Internal Server   Error) If I do the action without AJAX the request if it arrives at the controller, otherwis...
asked by 22.12.2018 / 21:57
0
answers

interar several foreach in laravel framework

I have this code which does work but I would like to know if you can join the foreach into one and how it would be, public function store(Request $request) { $cliens = $request->input('idclientes'); $link = $request->input('adj...
asked by 20.12.2018 / 19:38
0
answers

How to align lines fpdf laravel foreach within foreach

foreach ($cotizacion->detalle_cotizacion as $key => $value) { $fpdf->Cell($lgCell + $smCell, (1.2 * (count($value->cotizacion_partida))), $value->cubierta->tipo_id, 1, 0, 'C', 1); $fpdf->Cell($lgCell,...
asked by 20.12.2018 / 20:03
0
answers

Edit commands and buttons in Kendo UI + Vuejs

Dear, someone can explain to me how to edit the commands provided by Kendo UI when creating a tree list table. That is, change the name of 'edit' to edit and also add features to taste. <kendo-treelist data-source-ref="remoteDataSource"...
asked by 20.12.2018 / 15:14
1
answer

How to send an html array by ajax?

I have the following html array: @foreach($lab->categoria as $cat) <label style="color:#000;margin-top:0px; margin-botton:0px" data-nombre="{{$cat->nombre}}"><i class="fa fa-mars"></i> {{$cat->nombre}} <input...
asked by 22.12.2018 / 07:29
0
answers

Someone knows Laravel Voyager

I have a problem that I can not solve, does anyone know of Laravel an ADMIN named Voyager? I have problems with relationships when editing form, which gives me an error and, as much as I've read in English, a lot of people do, but I can not f...
asked by 21.12.2018 / 21:53
1
answer

Query that inherits twice from a table

Select v.id_user, uv.nombre_nacion as PaisEnvia, up.nombre_nacion as PaisRecibe From solicituds as v INNER JOIN pais as uv on v.id_pais_envia = uv.id_nacion INNER JOIN pais as up on v.id_pais_recibe =up.id_nacion; It would be...
asked by 17.12.2018 / 15:27