Questions tagged as 'laravel'

1
answer

Help with view in laravel 5.4

Good evening friends I have a small problem and I do not know how to solve it, the problem is the following I have a table called transaction which is responsible for recording all transactions that occur in my application is this: wher...
asked by 12.12.2017 / 00:50
1
answer

Styles in view using Laravel 5.2

Thank you for taking your time. My problem is this, I am showing my records in a table from which the actions of eliminating and modifying are split, both buttons of each action work perfectly, the problem I have is that when I give Click on the...
asked by 09.12.2017 / 22:44
1
answer

Get the current model you are using Eloquent Laravel

I am making an implementation of a plugin, but I need to obtain the current model that laravel is using when performing some operation ... Is there a function or way to "intercept" the model that Eloquent is working on at that moment?     
asked by 18.12.2017 / 23:52
1
answer

Select Rand () between From GroupBy and with OrderBy

I have a table with the following fields: id code category web_sales brand I want to show only random code in Laravel and group it by category but that the code is generated randomly. The problem is this: how do I group the cat...
asked by 19.12.2017 / 02:42
1
answer

Retrieve data from several checkboxes when editing a Laravel form

I have an edit form that has many checkbox fields and I need to recover them in the edit view, view: <div class="uk-container"> <div class="uk-margin uk-text-left" uk-grid> <legend class="uk-legend"><strong>4. R...
asked by 19.12.2017 / 04:35
1
answer

Inheritance in controller.php Laravel 5.5

Is it possible to create a function in the Controller.php file and then use it in the controllers? I try to do it and I get the error: Method [findArticleById] does not exist on [App\Http\Controllers\ArticlesController]. The function in Con...
asked by 19.12.2017 / 00:26
1
answer

Help with the error "Action {$ action} not defined." in Laravel

In my controller called DocenteController I have the function: public function editarUsuario($id) {.....} In the routes file: Route::resource('misvistas/docente', 'DocenteController'); and I send it to bring: href="{{ URL::act...
asked by 24.12.2017 / 04:21
0
answers

Sending mail Gmail with Laravel 5.4, Class 'App \ Mail \' not found

I have configured the mail of gmail for sending messages, in localhost everything works fine, but when I upload it to the server I can not find the class Correo (which is the one I'm using). this is the extract from my controller <...
asked by 17.12.2017 / 06:00
1
answer

Prevent a user from authenticating more than once in other laravel devices

I have an application in laravel 5.4 in which an authenticated user can not be logged in more than one computer at a time, how could this be done? I am new to laravel, I appreciate any help or recommendation.     
asked by 05.12.2017 / 18:35
1
answer

Compare values?

I will try to be brief, I do not know if something like this is possible, I want to edit the values of a table, which is what is done with an update, but I want to allow editing those values compare the values that are stored, with the new ones,...
asked by 05.12.2017 / 00:54