Posts by Onivaldo • 46 points
6 posts
-
0
votes0
answers40
viewsQ: Type Orm Relations between entities does not bring the data
My question is how the typeorm brings data from your relationships. const user = await this.userRepository.findOne({ where: { id }, relations: ['userAddress', 'emails', 'phone_numbers', 'person',…
-
1
votes2
answers400
viewsA: Files . css should be in the /public or /Resources folder?
You can also minify your Assets by following Laravel’s own documentation with Laravel Mix. They remain in your Resources folder and will be minified to the public folder.…
-
0
votes1
answer28
views -
0
votes1
answer70
viewsA: Can someone give a hand with my Paging code with php PDO
I believe that because you are not changing the value give pages in ifs nothing happens. Try so: /* Cálcula qual será a página anterior em relação a página atual em exibição */ $pagina_anterior =…
-
1
votes2
answers38
viewsA: Add user filter in a function
You can do an if before calling the function: if(cliente) { issue_automatic_invoice( $order_id, $from, $to, $order ) } else { die('admin') } hope I’ve helped…
-
1
votes1
answer54
viewsA: Problem-Reading XML with PHP
Guy couldn’t use his xml it gives an error because it’s not closed </ or something like that. So check the structure of your xml file. <?xml version="1.0"?> <Tests…