Browse Source

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

Philippe GRAND 3 years ago
parent
commit
8ba445b27c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/compta/paiement_charge.php

+ 1 - 1
htdocs/compta/paiement_charge.php

@@ -291,7 +291,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) {