Questions tagged as 'laravel'

0
answers

add color to a font in laravel excel

I am generating a query through laravel excel but my problem is that I need to set the color of the font to the first cell and all the examples I have seen are to set the type of font, background, alignment, size, etc. . I appreciate your help,...
asked by 09.05.2018 / 16:09
1
answer

Problems with the validation of the fields of the forms

I am using Laravel 5.6.13 and Infiom to generate the CRUDs but I have a problem when it comes to the validations that are made in the same form, as the mail can not be repeated or empty fields, etc. I give you an example of the user management p...
asked by 09.05.2018 / 18:21
0
answers

I have a problem with a request by ajax to my database in Laravel 5.6

I just made a request for data by ajax to my database, but I answered the following:    Failed to load link : Redirect   from ' link ' to   ' link ' has been blocked by CORS policy: No   'Access-Control-Allow-Origin' header is present on the...
asked by 08.05.2018 / 18:47
1
answer

Problems when adding a group of devices with firebase CURL

Good afternoon to the whole community, I am using the push notification service of firebase with CURL and laravel however when I want to add a group of devices I get the following error $server_key = 'server_key'; $url = "https://an...
asked by 07.05.2018 / 22:01
2
answers

I need to make an insert to 2 related tables in laravel

So I have my driver public function store(Request $request) { $marca = MarcaAuto::create(['marca' => $request->marca ]); ModeloAuto::create([ 'modelo_auto' => $request->modelo, 'year_mod...
asked by 06.05.2018 / 15:08
3
answers

Using pluck laravel eloquent

I want to call a method of my laravel driver to return a JSON with the data that a DDBB. I have a Produtos table with the fields:    id, name, idCategoria, idGenero, stock A table Category with:    id, name, created And a Genre tab...
asked by 08.05.2018 / 17:02
0
answers

Error uploading video with Laravel 5.4

I have the following error that I can not solve being something so simple. I try to upload a video to later save it, but in the process I am shown the following message: The video failed to upload. The code of the form is as follows:...
asked by 05.05.2018 / 17:02
0
answers

Set Daily Limit to Queue: work Laravel 5.6

I have the following problem I am trying to send bulk mails (notifications) to certain records that I have in my database, the problem is that I am using a corporate mail and the limit is 250 emails per day, there is some possibility of the n...
asked by 05.05.2018 / 22:43
3
answers

Select dependent with ajax and laravel for an edit view

I'm currently working on an edit view http://127.0.0.1:8000/dgj/editar_ejuridica/7 , I have two dependent select 'has (' city ')? 'has-error': ''}} ">                                              *City:                                  ...
asked by 06.05.2018 / 02:18
1
answer

Problems obtaining an image from the public folder in a route. Laravel.

In one of the tables that you create from the database there is a field of type file. The file (image) is stored correctly in the database. As follows: if($request->file('imagen')){ //condicion de si existe la peticion...
asked by 06.05.2018 / 03:15