Questions tagged as 'laravel-5'

1
answer

Problem with return route laravel 5

I have the following route: Route::get('FinDraT/efectivoxpuesto/{id}/index','EfectivoxPuestoController@index'); and in the controller function I do: return redirect()->route('FinDraT/efectivoxpuesto/'. $id.'/index'); And I get the...
asked by 02.11.2016 / 03:36
1
answer

How to access the properties of a file in laravel 5.2?

I'm trying to access the properties of an image Most of them agree so $request->file('imagenarticulo')->getsize() that is to say with the get ahead of the property but to which they have script, I am not able to access, I am loo...
asked by 16.06.2016 / 11:40
1
answer

Compare dates in Laravel

I have a table called Input, which has these parameters: public function up(){ Schema::create('entradas', function (Blueprint $table){ $table->increments('id'); $table->date('fecha'); $table-&g...
asked by 18.02.2018 / 12:50
2
answers

Problem with sending data by ajax (laravel)

I am sending a data by ajax with type: 'post', but it generates an error, when I change it to type: 'get', the data is received in success. This is the code. Ajax $('.QuestionList-item').on('click', function() { $('.Question').sho...
asked by 07.05.2016 / 18:00
2
answers

Show name of relationship Laravel 5.1

How can I show the name of the client with whom it is related? Migration projects Schema::create('projects', function (Blueprint $table) { $table->increments('id'); $table->string('nombre', 60); $...
asked by 01.05.2016 / 05:41
2
answers

Argument 1 passed to Illuminate \ Auth \ EloquentUserProvider :: validateCredentials () LARAVEL 5.2

A few days with this error and I do not know what is due, I was trying to make a login, with the make: auth of Laravel, the connection to the database is good, the fields exist and the routes work correctly , but when authenticating, this error...
asked by 26.04.2016 / 12:04
1
answer

Customize Login routes in Laravel 5.3

Hi, I have a problem with Login routing with the php artisan make: auth method that generates everything you need From now on it's quite difficult for me to join the project I was doing to this login and its views. But it does not let me change...
asked by 09.09.2016 / 05:31
1
answer

Error using validations

Veran I want to allow a user to enter money in a variable 'balance', for which I have the following form: @extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <...
asked by 29.05.2018 / 17:47
2
answers

error showing options of a select in laravel and vue js

does not show anything in the option but in the console if I can see the data new Vue({ el: '#aplicacion', data: { departamento:'', municipios:[], }, methods: { greet: function (event) {...
asked by 20.05.2018 / 03:11
1
answer

Delete repeated elements from a collection of objects

I got this product sales collection: $ventas = VentasProductos::withCount('producto') ->orderBy('producto_count', 'desc') ->take(5) ->get(); but in the view it...
asked by 12.04.2018 / 22:32