Posts by Daywison Ferreira Leal • 167 points
20 posts
-
0
votes1
answer779
viewsQ: How to format monetary values to be displayed in Brazilian format with chartjs
How to format monetary values to be displayed in Brazilian format with chartjs, in the tooltip and in the Y axis of the chart below I wanted to display : R$199,99 e R$2.888,99 But I didn’t find this…
chartjsasked Daywison Ferreira Leal 167 -
-2
votes1
answer68
viewsQ: How to escape monetary value commas in a php array?
How to escape monetary value commas in a php array? I have the array below with 12 positions but the comma that separates the decimals is giving me problems, php understands that it is a new…
phpasked Daywison Ferreira Leal 167 -
2
votes1
answer275
viewsQ: How to get total sales by months with mysql
I have a sales chart that records the date and time of sale. The output format is this: "2018-09-02 15:00:08" I wanted to get the total sales per month but I’m having difficulty to assemble the…
mysqlasked Daywison Ferreira Leal 167 -
0
votes0
answers22
viewsQ: Paginate query in Windows using DB::table
$role = $request->id_cliente; $data_inicial = $request->data_inicial; $data_final = $request->data_final; $vendasCliente = DB::table('venda') ->join('cliente', 'cliente.id_cliente', '=',…
laravelasked Daywison Ferreira Leal 167 -
1
votes0
answers21
viewsQ: How to convert a current data_to a data_formatted with php?
How to convert the date "2017-06-19 15:09:00.000000" to "19-06-2017" with php.
phpasked Daywison Ferreira Leal 167 -
0
votes1
answer164
viewsQ: How to use Laravel Localization?
I have a question to use the Localization of Laravel correctly, I have an application in Portuguese and I have to translate it into English.. my doubt is the following ex: <h2>Isso será apenas…
-
0
votes1
answer593
viewsQ: How to send an HTML page in the body of an email with PHP ?
How to send an HTML page in the body of an email with PHP ? This html contains some bootstrap classes, how can I upload this page with the bootstrap styles, or css styles using the PHP mail function…
phpasked Daywison Ferreira Leal 167 -
1
votes1
answer181
viewsQ: How do I sort the "Timeline" array in descending date order in PHP?
How to order the "Timeline" array in descending date order in PHP ? "bookingAnalysis": { "timeline": [ { "date": "2017-12-02", "count": 1, "peopleCount": 2 }, { "date": "2017-12-01", "count": 1,…
phpasked Daywison Ferreira Leal 167 -
1
votes2
answers82
viewsQ: How to access the data-weekday property of the div element with javascript?
How to access the data-weekday property of the div element with javascript? <div style="display: none;" id="weekday" data-weekday="7"></div>
javascriptasked Daywison Ferreira Leal 167 -
0
votes1
answer904
viewsQ: Change Y-axis values in Chart js
How to change these values of the Y axis in Chart js, these values from 5 to 50 were automatically placed by the plugin, wanted to modify them.…
-
0
votes3
answers48
viewsQ: how to take the initial and final schedules and store in two variables with javascript?
how to take initial and final schedules and store in two variables with javascript? var hora1 = '9h - 22h' var hora2 = '12h - 21h' var1 = 9 var2 = 22 var3 = 12 var4 = 21 using substring could not…
-
1
votes3
answers28
viewsQ: How to access the data-opened property of each div that is inside an array ? Jquery/Javascript
How to access the data-opened property of each div within an array ? <div class='bares' data-opened=1></div> <div class='bares' data-opened=2></div> <div class='bares'…
-
0
votes2
answers554
viewsQ: Check if working time is in the chosen time range Jquery/ Javascript
How to check if the schedule_working is within the chosen range? Example: a bar runs from 08:00 to 13:00, a user has chosen the time interval from 12:00 to 21:00, such as checking that this bar is…
-
2
votes3
answers328
viewsQ: Check if the value is contained in Range Jquery/Javascript
How to check if the value 15 is within the range ? var range = [10, 50]; var valor = 15
javascriptasked Daywison Ferreira Leal 167 -
-1
votes1
answer3956
viewsQ: Run function after 3 seconds Jquery/Javascript
I have the following code, which creates two variables and I call a function that displays an Alert, but I want the function verifi_aperture() to be executed after 3 seconds, how to do this? var…
-
0
votes1
answer38
viewsQ: Filter elements according to typed Jquery/Javascript key
I have an input that the user type the filter you want, every keystroke I want to perform a filter, if the typed text contains in the array I want the #div_1 to be displayed otherwise I want the…
-
1
votes2
answers2021
viewsQ: How to check whether elements of an array are contained in another Jquery array
How can I check if elements of an array are contained in another array? ex: array_1 = ['wifi', 'internet']; array_2 = ['wifi', 'internet', 'telefone', 'email'] How can I know if the values of the…
-
0
votes1
answer1909
viewsQ: How to create Models in Laravel from tables already created in the Mysql database
Good morning guys, I have a question in Laravel, I had a database created in Mysql and use Xethron/Migrations-Generator to create the Migrations from the tables created in the database, but how can…
laravelasked Daywison Ferreira Leal 167 -
0
votes1
answer648
viewsQ: Take a URL parameter with Jquery
Good morning, everyone, I have a question. I have this URL: http://localhost/admin-active.com/public/event/edit4/id_menu/8/id_event/22054 how can I get the parameter 22054 that is in that URL and…
jqueryasked Daywison Ferreira Leal 167 -
0
votes1
answer89
viewsQ: How to call a zend method using Jquery?
I have this Jquery function that enables an input for the user to edit a form, when editing and clicking 'Enter' I want to save the change made in the database, without submitting the form. -- My…