Posts by Carlos Eduardo Silva • 377 points
18 posts
-
0
votes0
answers37
viewsQ: Average sales ticket using AVG Laravel
I’m trying to calculate the average sales value of a store but I’m facing some problems in calculating the total value of each sale, follow the code Controller: $valor_total =…
-
0
votes1
answer1105
viewsQ: Access-Control-Allow-Origin error
Personal I am trying to make a request from one server to another to perform a registration, but I always get returned this error: Failed to load http://domain: Response to preflight request doesn’t…
-
1
votes1
answer195
viewsQ: Upload Laravel + Vue.js
I need to upload some files, but there is a detail, will be mounted a table as in the figure below, I can already add in the table itself, but at the time of the upload I do not have the slightest…
-
0
votes1
answer319
viewsQ: Query for searching with multiple tables
I need to search the data of a table of processes, and of other 2 tables one of authors and defendants of the process, the doubt is how to search in grouped form that I can go through with foreach…
-
1
votes1
answer678
viewsQ: Sum of quantity multiplied by product value in daily sales
I have an order page, let’s take as a base a mercantil, where the person buys 3 sodas each with the value of R $ 6,00 and 2 cookies in the value of R $ 2,00 each. First I need to multiply these…
-
3
votes1
answer263
viewsQ: href Laravel and Vue.js
I am doing the list of registered phonesetters and in each line there is an edit button, in href, I need to use Encrypt and pass id, but this id comes from Vue.js and Blade with the use of {{ }}…
-
0
votes0
answers25
viewsQ: Bug lib jQueryGantt on bootstrap page
I’m using the jQueryGantt plugin (https://github.com/robicch/jQueryGantt) but I realize that on pages with bootstrap he "Buga" the table as in the image below, I wonder if anyone has used that lib…
-
0
votes1
answer246
viewsQ: Using multiple js Vue files in Laravel
Guys I am using Laravel v5.5 to start a personal project and I will use Vue.js, I did not find a very didactic content on the internet, as I do to use other files . js?? for example: /js/login.js…
-
0
votes0
answers93
viewsQ: Sum of working time of several employees
I have a collaborators table, and other 2 activity tables, each with a column of time used to perform that activity and I would like to add these tables to know the total time, example, employee A…
-
2
votes1
answer323
viewsQ: Error auth Lockable with another model?
People changed the name of the standard model of Laravel User.php for Colaboradores.php (of course, I set the $table and the $primaryKey model), I also changed the config/auth.php to model. but…
-
2
votes1
answer1277
viewsQ: Join no Eloquent - Join no Eloquent?
I’m learning Laravel now, and out of curiosity I came across the following problem, performing a Join between two tables, in my case, "categorias" and "subcategorias", when I will list the…
-
1
votes0
answers266
viewsQ: Chart.js error in Laravel?
Guys I’m trying to use Chart.js in Laravel through their own lib, but returns me the following error: Call to Undefined method Fx3costa Laravelchartjs Builder::size() I do not know what can be, I…
-
0
votes1
answer543
viewsQ: Script or API to check if domain is available in PHP
Do you guys know any opensource scripts or Apis that are running in PHP to see if a domain is available? One that works for extensions .com.br, I looked for some but so far nothing functional, if…
-
0
votes0
answers253
viewsQ: message Undefined offset 0 no codeigniter
I have a problem to set the data in a view with the Codeigniter framework. Model: // Metodo que busca os dados de um cliente especifico public function getCliente($id){ $this->db->select('*');…
-
15
votes0
answers312
viewsQ: Cardview does not display JSON information
Guys I’m trying to set some information in a Cardview, where these are obtained from a JSON, however, it does not display, the information search this ok, it returns the values normally but does not…
-
0
votes1
answer278
viewsQ: How to view posts from a facebook page?
I want to view posts from a facebook fanpage in an app. I’ve been doing some research and some people helped me and told me to use the Facebook API. Pis well, I am using, but, as facebook does not…
-
1
votes0
answers102
viewsQ: index not set (Undefined index) PHP $_POST
Good guys am Android Dev, but I don’t know much about WEB, so I took an example of another Android Dev in which it uses an online "system" that displays a map and makes some entries but whenever I…
phpasked Carlos Eduardo Silva 377 -
1
votes1
answer150
viewsQ: Shared Preferences does not store login using JSON
I’m not able to save the login using JSON, it logs in but when I close the application and start again it didn’t save the login. private EditText editTextLogin; private EditText editTextSenha;…