Posts by Bruno Passos • 81 points
6 posts
-
0
votes1
answer112
viewsA: Laravel - wrong return of last element of the bank within a loop
I just figured out the problem. In this passage DB::Raw('year(data)'), date('Y')) I’m using php’s date() function to pick up the current date. But the correct one would be to pick up the current…
-
0
votes1
answer112
viewsQ: Laravel - wrong return of last element of the bank within a loop
When records are entered within a loop and is made a select to get the last record based on a conditional, after the fifth interaction he no longer takes the last record and keeps picking up the…
-
4
votes0
answers1533
viewsQ: Angular2+ ngx-Mask deleting value in dynamic mask change
I have a document field where the value can be CPF or CNPJ. <label for="cnpj" class="label-control"> <select class="labelSelect" name="tipoDoc" id="tipoDoc" [(ngModel)]="tipoDoc">…
-
1
votes1
answer734
viewsA: Laravel - How to pick, manipulate and change Lengthawarepaginator items
I was able to solve by creating a new Lengthawarepaginator object and putting in it the data that was changed. I found the example in…
-
1
votes1
answer734
viewsQ: Laravel - How to pick, manipulate and change Lengthawarepaginator items
Good night, I need to take the database data and make a certain change in the return using php before returning the data. I will not paste the real example, because it is very complex and would end…
-
2
votes0
answers65
viewsQ: What better way to approach Docker for containers like apache, Nginx, mariadb, etc
I’m new to the Docker world and I’m having some doubts about the Docker concept in production. I know that one of the great advantages of Docker is having the same environment that we have in…
dockerasked Bruno Passos 81