Questions tagged as 'laravel'

1
answer

Calculated Fields

Working with laravel 5.5 I have a question, I have these 3 fields: Start Time: {!! Form::myInput('time', 'hora_inicio', 'Hora inicio: ', ['required']) !!} End Time {!! Form::myInput('time', 'hora_final', 'Hora final: ', ['required']...
asked by 07.09.2018 / 17:57
2
answers

How to transcribe sql query in Laravel ??

My query is the following as I can transcribe the following SQL for laravel: SELECT movimientos.descripcion as Detalle, desde.descripcion AS desde, destino.descripcion AS destino FROM movimientos JOIN almacens desde on desde.id_almacen=...
asked by 14.05.2018 / 17:15
2
answers

Administer Users

I have a question, I am doing a user administration module in Laravel, I have enabled the routes with:    php artisan make: auth However, I do not want to use the default driver, if not a separate one. I have successfully inserted the dat...
asked by 12.08.2018 / 02:41
1
answer

Vue does not show the data in the view

I have a small api made in Laravel, it is working without problems and all the tests in Postman are successful, the problem is when I try to show the data by the Vue view, it simply does not show me anything, not even errors This is the code...
asked by 04.05.2018 / 01:11
2
answers

How to delete data from a vue array and a table in html?

I have an arrangement defined in vue productos:[] I add elements with this function: (vue code) var appmeta = new Vue({ // el: '#v_meta', created: function(){ this.getMetas(); }, data:...
asked by 10.04.2018 / 17:54
1
answer

How to configure nginx with laravel so that it does not show files

As we all know, Apache has the .htaccess, I'm moving to nginx and I have a problem. My system works fine, but on the server nginx it shows me the files of the folders in this case those that are within PUBLIC of laravel. this does not happ...
asked by 26.04.2018 / 02:02
2
answers

Object of class stdClass could not be converted to string

From the controller I execute the following query: $pruebas = DB::select( DB::raw("SELECT t1.id, t2.name AS 'Type', t4.company AS 'Company', t4.name AS 'clientName', t4.lastname AS 'clientLastName', t4.email AS 'Co...
asked by 16.03.2018 / 17:20
1
answer

Obtain data from tables of different database

I have a dilemma that I try to do something that I do not know if it is even possible, I have 2 databases dpnmwin and spi_intranet of which dpnmwin is an existing one of a long time ago and which I can not touch its structur...
asked by 01.06.2018 / 19:00
1
answer

How to create a request object in laravel 5.1?

I need to have a request in laravel 5.1, but I need to create it from php and not from a form. What I'm trying to do is call a laravel function to regain user passwords from my own controller private function sendEmailWithPassword($objUser) {...
asked by 12.02.2018 / 17:17
1
answer

Simple search engine with laravel

I want to do a simple search with pagination, and to show the result below the search button, the most I have arrived is to show the arrangement with the information in the database, the question is: How do I show the information? by pressing th...
asked by 21.03.2018 / 04:19