germanoalves
<>
Hi!
I have a form where I have a script to do a mathematical reduction operation.
[...]
$var1 = '{tn___espelho_estoque_entrada}';
$var2 = '{tn___quantidade_saida}';
$var3 = $var1 - $var2;
$query->update('farmacia_entrada')->set('quantidade_entrada = ' . $var3)->where('id = ' . $db->quote('{farmacia_saida___nome_produto}'));
[...]
In that same form, I have a databasejoin field that takes a list of items from another table, and a cascading dropdown field that shows the relative quantity of that item and another field of type input where a value is inserted that will be reduced from the total of that item.
My question is, can I put these databasejoin, cascading and input fields to keep repeating?
And what would the mathematical formula look like for this reduction of this repeater group?
the question was a little confusing, I'm sorry :/
I have a form where I have a script to do a mathematical reduction operation.
[...]
$var1 = '{tn___espelho_estoque_entrada}';
$var2 = '{tn___quantidade_saida}';
$var3 = $var1 - $var2;
$query->update('farmacia_entrada')->set('quantidade_entrada = ' . $var3)->where('id = ' . $db->quote('{farmacia_saida___nome_produto}'));
[...]
In that same form, I have a databasejoin field that takes a list of items from another table, and a cascading dropdown field that shows the relative quantity of that item and another field of type input where a value is inserted that will be reduced from the total of that item.
My question is, can I put these databasejoin, cascading and input fields to keep repeating?
And what would the mathematical formula look like for this reduction of this repeater group?
the question was a little confusing, I'm sorry :/