Browse Source

fix : The property am does not seem to exist on Tva

Philippe GRAND 3 years ago
parent
commit
65b6af12f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/compta/paiement_vat.php

+ 1 - 1
htdocs/compta/paiement_vat.php

@@ -290,7 +290,7 @@ if ($action == 'create') {
 		print "</tr>\n";
 		$total += $objp->total;
 		$total_ttc += $objp->total_ttc;
-		$totalrecu += $objp->am;
+		$totalrecu += $objp->amount;
 		$i++;
 	}
 	if ($i > 1) {