Questions tagged as 'laravel-5'

1
answer

CSS import into another CSS and laravel mix

I am uploading a template for the administrator area and it turns out that the css matrix style.css in its code has an import of other css that I also have, the problem is that I do not load those css and I do not understand how to include them...
asked by 04.04.2018 / 04:26
1
answer

Create a record if it does not exist in the table or update data if the record exists

I need to save the data in a table if they do not already exist or update them if they exist. I have this code so far that you only create them in the table, the table is called Coin.php $client = new Client([ 'base_uri' => 'htt...
asked by 31.03.2018 / 23:47
2
answers

problem loading 2 select with data in Laravel 5.6.7?

I have a problem filling out two different selections within the same form in laravel 5.6.7. vista: registro.blade.php <div class="form-group"> {{ Form::label('empresa','Empresa:',['class' => 'control-label ']) }...
asked by 08.03.2018 / 21:18
2
answers

How to close with logout?

How can I do so that when logging out with route (logout) and the user presses the back button, it is not returned and redirected to the login? Note: I am working with oauth in laravel 5.5     
asked by 22.03.2018 / 17:35
1
answer

Problem with my route Route [invoices.obtainproducts] not defined

Generate my Controllers, models and views with infyom and everything perfect but when I create a function and I call it with a route in a view it tells me it is not defined I have in my file web.php the following line Route::r...
asked by 27.02.2018 / 21:39
1
answer

Insert in 2 different laravel tables?

I want to make an insert in 2 different tables of the database. I have the holiday table that stores the holidays and I have a calendar, in which calendar events must be saved to show it every time a vacation is approved, then I have: Contro...
asked by 20.02.2018 / 13:02
1
answer

Routes and Href in the sidebar menu

I have the following problem, I get a question mark "?" instead of "/" in my link of the "security (security)" option in the sidebar or url menu URL Sidebar menu Routes Controller Router list How can I solve that...
asked by 19.03.2018 / 18:15
1
answer

Laravel 5.6 and Vue Default values

I'm working on a project with Laravel 5.6 and Vue.js 2 that is costing me more than I thought. I have read several articles and questions in this community and everywhere I have understood that it is normal to use components of Vue.js to pass...
asked by 15.02.2018 / 20:41
1
answer

Saving data from a form with a bootstrap modal

I have a modal with a form and when I give the button to save the data I have entered, it does not send me to the address / path that is defined in the action attribute of the form tag, and therefore it does not save data In the database, what w...
asked by 25.02.2018 / 15:19
2
answers

Determine the 5 most-recorded items in a database table

There is some method in laravel 5 to determine the 5 most elements that have been inserted into a database table.     
asked by 12.04.2018 / 20:51