Posts by Jonathan Augusto Halberstadt • 55 points
10 posts
-
0
votes1
answer138
viewsQ: How to maintain filters after paginate and Submit
I have created a filter screen and paginate of the Laravel. The filters are all working, but I need that after I go to page 2, continue the filters I put. And when I put the filters in, they’re…
-
2
votes1
answer334
viewsQ: How to group ng-repeat in Angularjs
I need to group the Class field and list the tasks that exist, but I can’t do that with Angularjs. Here is my view: <div class="row"> <div class="col-md-12"> <div…
-
1
votes1
answer340
viewsQ: As for two values in highcharts
I set up a chart with highcharts where I need to know the percentage of financial input and output. <div id="container" style="min-width: 410px; height: 500px; max-width: 600px; margin: 0 auto;…
-
0
votes1
answer323
viewsA: How to adjust Table Width in PDF?
I ended up changing the library, because the previous one did not accept CSS. I switched to dompdf $dompdf = new DOMPDF(); $dompdf->loadHtml($tabela); $dompdf->setPaper('a4', "landscape");…
-
0
votes1
answer323
viewsQ: How to adjust Table Width in PDF?
I am exporting a report to PDF but the colors and widths are not working. $campo = $service->relatorioOrcamentario($data); $tabela = '<table border="1">';//abre table $tabela…
-
1
votes3
answers228
viewsA: How to insert multiple arrays at the same time in the database?
The insertion has to be done one at a time. Makes a foreach($compra as $compras){ //comando que adicionará no banco }
-
0
votes2
answers379
viewsA: Select2 in multiple fields with the same name
I had a problem like this and I found a functional solution that when you add a new item in the list that is when you download the Select2, you "Destroy" the Select2 and start again. // inicia…
-
0
votes1
answer144
viewsA: Take Select Option and multi-line Checkbox values
I solved the problem, but I had to change the checkbox to a select to work. I’ll leave the answer here for anyone who wants to use it in the future. <div class="form-group"> <label…
-
0
votes1
answer144
viewsQ: Take Select Option and multi-line Checkbox values
I need to make a list of employees who are linked to cost centers and I need to tell you if this employee is leadership within this cost center. I tried to mount a select and an added checkbox by…
-
0
votes1
answer469
viewsQ: foreach inside the foreach without repeating the data
I have a list of Employees and each employee can have many Cost Centers. And when I bring the bank employee information I need to list the cost centers and list the cost centers where the employee…