Posts by Thainam • 11 points
5 posts
-
0
votes1
answer36
viewsA: Check if there are active products in this brand, if not, show brand
you can leverage this existing "brands" method, or create a separate one for active products only. In both cases, just add the Doctrine rule:…
-
0
votes1
answer40
viewsA: Problems with SQL query with Knex in React
Hello, friend. You are not lacking to reference the innerJoin with the ON ? Knex is not my area, but looking quickly at the documentation, they give this example: .innerJoin('accounts', function() {…
-
1
votes1
answer56
viewsA: Angular 9 Error 'length' of Undefined
1 - Create a variable in your system: phones: FormArray; 2 - Place your div inside another one like this: <div formArrayName="phones" > <div *ngFor="let phone of s.controls; let…
-
0
votes4
answers140
viewsA: Error in PHP code of "Invalid Parameter number" in sales code that must restore or remove the quantity of products in another table
Talk buddy, all right? You’re not passing :cd_itens_sale and :amount in the query $calculus but it’s giving bind in them. Has amount but is without the : in the query to reference: [..]SET…
-
-1
votes1
answer65
viewsA: How do I concatenate a parameter (String) into an Object path to access a Response?
What this line returns? console.log(response.data.data); Take a look at this question and see if it’s useful: https://stackoverflow.com/questions/29246725/cant-convert-json-to-array-in-angular-js…