Questions tagged as 'laravel'

0
answers

Vue in conflict with Bootstrap?

I'm implementing Vuejs in a Laravel5.7 mine and I noticed that this is apparently a conflict with almost all my nav-tabs, because when I change tabs in nav-tabs, regardless of how many tabs there are, it will not class "show" of the tabs that I'...
asked by 22.11.2018 / 17:19
1
answer

How to use the "break" in the blade template?

I'm developing a modal checklist where new protocol data will be registered. Each attribute of the item will be informed by the user and this information will be registered to the checklist_protocolo table of the database. But informat...
asked by 08.11.2018 / 17:49
1
answer

Pivo Table for 3 Tables Laravel

My question would be how to display table data in a many to many relationship with more than two related tables: Ex: Main table SALE PIVO Table VENDA_DETALHE (where idvenda / idproducto / idcentrocusto goes) Table PRODUCT CENTROCUSTO Table...
asked by 07.11.2018 / 17:51
1
answer

Laravel + AJAX JQuery

Good evening, I'm learning Laravel and need to update a div every 10 seconds. I have a route that, upon being called, makes a query to the database. This route returns the Dashboard view. Route: Route::get('/dashboard','DashboardContr...
asked by 08.11.2018 / 00:14
0
answers

Treat ERP Bling's json callback in Laravel

I'm having trouble handling the following json return from ERP Bling on Laravel: array ( 'data' => '{"retorno":{"pedidos":[{"pedido":{"desconto":"0","observacoes":"","observacaointerna":"","data":"2018-10-20","numero":"6462","vendedor":"M...
asked by 08.11.2018 / 03:48
0
answers

Parameter by name in the query

I have the following query SELECT * FROM myTable WHERE ip = 192.168.1.2 I would like to make a query by sending parameter by name using DB::raw() $dados = DB::raw("SELECT * FROM myTable WHERE ip = :ip", ["ip" => '192.168.1.2'])...
asked by 15.11.2018 / 19:01
1
answer

Laravel 5.6 - global and dynamic variable

I have an API with laravel 5.6 and I need to create global variables that throughout the application can have their value changed, however I'm having problems. Example:     1. At the first request, the value of this variable is "test";     2....
asked by 27.11.2018 / 17:31
0
answers

AdminLTE menu according to the user

I'm creating a scheduling system with Laravel and AdminLTE. The authentication method I used was not Laravel Auth or AdminLTE because I simply used a Controller that uses a method for authentication in my AD (ldap_connect and ldap_bind). Once lo...
asked by 27.11.2018 / 18:49
2
answers

Execute a specific migration in Laravel 5.6

I need to run only migration within my laravel system, so as not to affect the rest of it. Excerpt from migration: public function up() { Schema::create('notifications', function (Blueprint $table) { $table->inc...
asked by 13.11.2018 / 16:52
1
answer

Route without token protection requesting token

I am trying to register a new user who is not on the middleware protected route token jwt, but I am getting the return. { "error": "The token could not be parsed from the request" } Following routes routes / api.php Route::group(['mid...
asked by 12.11.2018 / 16:02