Update card.php
This commit is contained in:
parent
94875cdc77
commit
b29bd325fe
@ -3730,8 +3730,7 @@ if ($action == 'create') {
|
||||
print '<input type="hidden" name="amount" value="'.$objectsrc->total_ht.'">'."\n";
|
||||
print '<input type="hidden" name="total" value="'.$objectsrc->total_ttc.'">'."\n";
|
||||
print '<input type="hidden" name="tva" value="'.$objectsrc->total_tva.'">'."\n";
|
||||
// The lines below override the parameters set by GET or POST for origin value and also be present in $origin and $originid variables (it make creation of invoice originating from an external module object impossible because for get an external module class we also need to know the name of the module in addition of the name of the element).
|
||||
// This input fields already printed above at the <form> begin.
|
||||
// The commented lines below are fields already added as hidden parameters before
|
||||
//print '<input type="hidden" name="origin" value="'.$objectsrc->element.'">';
|
||||
//print '<input type="hidden" name="originid" value="'.$objectsrc->id.'">';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user