Posts by Suporte Escritoriomovel • 100 points
19 posts
-
0
votes1
answer528
viewsA: How do I create this navbar?
I tweaked your code that had many errors, like 2 bodys, Ivs that do not close anything, you have to be aware of this because it makes all the difference, the CSS that you opened has to stay inside…
-
-1
votes1
answer97
viewsQ: Appear div when clicking on the image
I need to make a selection system, where the user will always have 3 options depending on what he chooses. I need that when I click on the image1 the div1 appears if I click on the imagem2 the div3…
-
1
votes2
answers220
viewsA: Create route template in Laravel with Resource
You can create a php boot.blade. and then import into your code, you will have to change the href by taking the local url developing a unique nomenclature. I don’t recommend doing that, because all…
laravelanswered Suporte Escritoriomovel 100 -
0
votes2
answers216
viewsA: Error configuring Passport in Laravel
Not missing the Construct? public function __construct() { $this->middleware('guest', ['except' => 'getLogout']); }
-
0
votes2
answers60
viewsA: How can I ensure that my API will only be used for the features I want it to use?
I believe that the best way for this is that any launch of for example: Customers / People / Companies / Products / Orders go the id of the company to which this user belongs. Then you create a…
-
1
votes1
answer23
viewsA: there is some function in javascript, php or xml to hide or lock the buttons of the header bar of nagedores
Completely stopping the user is not possible. You can ask him a question for example. window.onbeforeunload = function(e) setTimeout(function() { $("#modal_24").modal("show"); }, 10); var msg =…
-
0
votes2
answers44
viewsA: Loading Google Map
Problem was in Laravel’s Section, the scripts were in the head inside the Nav and the div map was in the index, so it didn’t work.
-
1
votes1
answer102
viewsA: Relationship MORPH
The documentation says to do Morph like this $table->morphs('taggable'); Adds taggable_id UNSIGNED BIGINT and taggable_type VARCHAR equivalent columns. in accordance with…
-
1
votes1
answer330
viewsA: Authentication on Laravel API routes
Why set another Api within Routes? See how I do. Inside the Routes.php Route::resource('pessoas', 'PessoasController'); And inside the controller public function __construct() {…
-
0
votes1
answer1074
viewsA: Problem when adding a FOREIGN KEY
You can do it all at once. Follow an example of a financier I made. Schema::create('financeiro', function (Blueprint $table) { $table->increments('id'); $table->date('data');…
laravelanswered Suporte Escritoriomovel 100 -
0
votes1
answer85
viewsA: Laravel - active menu
To achieve the effect of active class I use the following, it is a bit laborious, but as I use the NAV and then use @extends('Nav') and other @Section. <li class="{{ request()->is('/') ?…
laravelanswered Suporte Escritoriomovel 100 -
0
votes2
answers44
viewsQ: Loading Google Map
I want to link to a website I’m developing a Store API. I am using the following Google API - https://developers.google.com/maps/documentation/javascript/examples/marker-labels?hl=pt-br If I copy…
-
0
votes2
answers188
viewsA: Percentage javascript or php
I think this should be used to calculate. $('.valor').blur(function(){ // uso a classe valor para chamar o blur por mais de um campo var custo = $("input[name=txt_custo]").val() || 0; var margem =…
phpanswered Suporte Escritoriomovel 100 -
0
votes1
answer106
viewsQ: Calculate JS Value
I have a function for the total calculation. $('.valor').blur(function(){ var valor = $("input[name=valor]").val() || 0; var descontos = $("input[name=descontos]").val() || 0; var juros =…
javascriptasked Suporte Escritoriomovel 100 -
0
votes1
answer34
viewsQ: Sum of JS values
Two things. One must add up the 3 values, but is returning Nan. $('#valor').blur(function(){ var valor = $("input[name=valor]").val(); var descontos = $("input[name=descontos]").val(); var juros =…
javascriptasked Suporte Escritoriomovel 100 -
0
votes2
answers88
viewsQ: Join 2 arrays
I have two arrays $pessoas = 1 => "ERICA GRELLERT" 2 => "IARA BEATRIZ" 3 => "DANIELLE" 4 => "MARIANA" 5 => "ALESSANDRA" 6 => "EDUARDO" 7 => "DIEGO" 8 => "ROBERTA" 9 =>…
-
0
votes2
answers847
viewsQ: Format phones in mysql table
I have a MYSQL table with the registration of people that phones are formatted this way. 519995150105 5133116284 51991178789 51999862438 What I need is a command to format the phones to look like…
-
2
votes1
answer760
viewsQ: How to break line within <textarea>
I need to bring the list of people inside a textarea or some similar alternative. I’m bringing it this way: <textarea rows="5" name="pergunta4"> <?php foreach($avaliadores as…
-
-1
votes1
answer1695
viewsQ: Xampp MYSQL does not work
The following error is happening with my mysql. MySQL Service detected with wrong path Change XAMPP MySQL and Control Panel settings or Uninstall/disable the other service manually first Found Path:…