Questions tagged as 'laravel-5'

1
answer

send to more than two emails from laravel

I am developing a help desk module in laravel and I am sending the request from an email and I want you to receive it from two emails, but I do not have the faintest idea how to do it, I would like you to help me with my problem in advanc...
asked by 28.05.2018 / 18:14
0
answers

The php artisan plugin VS Code does not work

Good evening I tell you my problem: I was getting bored of constantly executing laravel artisan commands from CMD on Windows, so I decided to install said plugin (laravel artisan), which I get this error: command 'artisan.run .command 'not found...
asked by 25.05.2018 / 05:52
0
answers

Convert Query SQL to use in Laravel 5.6

Good afternoon I'm using Laravel 5.6 and I want to make this sql query select e.id_asignacion, e.id_item, e.serie, id_funcionario, id_operacion, i.precio_unitario, min(nro_valorada) as minimo, max(nro_valorada) as Fin, count(e.id_item) as cant...
asked by 24.05.2018 / 23:36
1
answer

Problem with $ HTTP_RAW_POST

Good morning.  I was making a Vue.js connection with Axios and Laravel and I noticed this problem. 1. I added a method and wanted to show the element by console. methods: { newThought(){ const params = { d...
asked by 29.05.2018 / 18:39
0
answers

Create a dependent select?

I'm trying to create a dependent select with laravel, but I can not get the second select to work, the response returns empty. This is my script <script type="text/javascript"> $(document).ready(function(){ $.ajaxSetup({...
asked by 24.05.2018 / 01:05
0
answers

How to show user data Laravel Passport

This is what it shows me when I send the user's data so that it generates a token with laravel postman, but I would like to know how to show the data of the user who has just logged in since I am interested in knowing the role of this user , I k...
asked by 23.05.2018 / 16:37
0
answers

laravel class user not found in Controller and if in Tinker

I'm relating User with same, in Tinker everything works fine, it creates a record in the pivot table ejemplo en Tinker todo OK $p=App\User::find(246) $u=App\User::find(247) $u->addParent($p) But in the controller it does not work...
asked by 20.05.2018 / 02:28
1
answer

Call to protected method Barryvdh \ DomPDF \ PDF :: render () from context 'App \ Http \ Controllers \ UserController'

You see, I am creating a function which will generate the PDF with the curriculum of several users. For this, I have this function. public function fichaje(Sector $sector){ $usuarios=User::whereHas('experiencias',function($query) use ($...
asked by 19.05.2018 / 11:55
1
answer

Form clogged by enctype="multipart / form-data"

You see, I have the following form, which will receive a PDF and an email. @extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8">...
asked by 18.05.2018 / 11:13
1
answer

Problem with functions in Laravel

You see, I have an Offer table with these columns: Schema::create('ofertas', function (Blueprint $table){ $table->increments('id'); $table->string('titulo'); $table->text('descripcion'); $table->stri...
asked by 09.05.2018 / 21:15