Skip to content
Snippets Groups Projects
Commit 36c7697b authored by Christophe Battarel's avatar Christophe Battarel
Browse files

FIX: retrieve correct pu_ttc (set by printObjectLine function) like in

3.7
parent 35145cd7
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ $coldisplay=-1; // We remove first td ...@@ -124,7 +124,7 @@ $coldisplay=-1; // We remove first td
if ($inputalsopricewithtax) if ($inputalsopricewithtax)
{ {
$coldisplay++; $coldisplay++;
print '<td align="right"><input type="text" class="flat" size="8" id="price_ttc" name="price_ttc" value="'.(isset($line->pu_ttc)?price($line->pu_ttc,0,'',0):'').'"'; print '<td align="right"><input type="text" class="flat" size="8" id="price_ttc" name="price_ttc" value="'.(isset($pu_ttc)?price($pu_ttc,0,'',0):'').'"';
if ($this->situation_counter > 1) print ' readonly'; if ($this->situation_counter > 1) print ' readonly';
print '></td>'; print '></td>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment