Questions tagged as 'laravel'

1
answer

I do not work the .load in laravel

I'm trying to load a .php file into a div, I'm working with Laravel but the file does not load me, I've already tried it with raw php and it works perfectly. I already check routes and everything is fine I do not know what h...
asked by 11.01.2018 / 22:24
1
answer

how to eliminate with ajax and laravel?

I need to delete a column using ajax and laravel so far I have the following but it does not work for me thanks view () <button id="eliminarArticulo" ruta = "{{URL::to('auto/eliminarArticulo')}}" onclick="eliminarArticulo({{$detalle_mode...
asked by 18.01.2018 / 17:06
1
answer

Laravel 5.0 Queries WhereIn

Good morning everyone I have the following problem: from the url I pick up a id with which I make a query from which I take out an array. With this array I make another query to get the data I need in another table. The problem comes to me...
asked by 17.01.2018 / 15:53
0
answers

local.ERROR: exception 'Swift_TransportException' with message 'Process could not be started [The system can not find the specified path. ]

I have a laravel web page that sends a form via a route, that route calls a controller and the controller sends the contact mail. The issue is that this process works perfectly in a hosting, the problem is when I want to run it locally, I get th...
asked by 16.01.2018 / 22:40
1
answer

Update filtered table totals with vue

Good morning. I have created a table with data whose last column is summed with the totalizeSell method and is shown at the bottom of the table. When applying a filter (using a computed Filtered Sales ) to this table, I would like this tot...
asked by 21.12.2017 / 17:30
1
answer

Lumen (Laravel) create a custom helper file

I have created a file in the path app/Helpers/helper.php where I want to include the helpers I need for my project in lumen, at the moment I have this code <?php namespace App\Helpers; /** * Generate a "random" alpha-numeric strin...
asked by 27.02.2018 / 13:31
1
answer

Relationship Error 1 to many in laravel 5.5

I am trying to obtain the name of the states of the republic in a one to many relationship: the model of States the relationship: public function empleado(){ return $this->hasMany('App\Models\Empleado'); } the model of the employ...
asked by 05.06.2018 / 21:01
1
answer

Change color of a cell?

I have a table in which I print several data, but I want that in the cell, state, when waiting for it to be of one color, and to be approved, of another. Try jQuery but at the moment it has not worked for me. <!-- .estado1 {background-co...
asked by 06.12.2017 / 17:12
0
answers

Integrating APP of Laravel with Mercadopago

I'm having a problem when creating my payment preference, such a problem is a    "Params Error" 400. Form with which I send the products of the cart to my controller: <form class="form-horizontal" action="{!! route('payment.process')...
asked by 18.01.2018 / 17:59
1
answer

Error 404 when accessing my virtual host

Good afternoon I am learning to use Laravel and for that I am doing a project, the problem is that when I try to access my virtual host it shows me a 404 error. I have the following routes in the routes / web.php file: Route::redirect('/',...
asked by 07.02.2018 / 21:26