From 426d8912a7926229a37cab016d2f66a38e3b719e Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 21 May 2022 17:40:14 +0200 Subject: [PATCH 1/5] fix : The property chid does not seem to exist on PaymentSocialContribution --- .../sociales/class/paymentsocialcontribution.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php index b6a611a47ee..c6a4851fac1 100644 --- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php +++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php @@ -100,6 +100,11 @@ class PaymentSocialContribution extends CommonObject */ public $fk_user_modif; + /** + * @var int ID + */ + public $chid; + /** * Constructor * From c9e812d5ef4f67c24b2c97ebd33f928605ed8554 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 21 May 2022 17:47:25 +0200 Subject: [PATCH 2/5] fix : The property datepaye does not exist on PaymentSocialContribution --- .../sociales/class/paymentsocialcontribution.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php index c6a4851fac1..23b180da103 100644 --- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php +++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php @@ -105,6 +105,12 @@ class PaymentSocialContribution extends CommonObject */ public $chid; + /** + * @var integer|string datepaye + */ + public $datepaye; + + /** * Constructor * From 604a4670e083b12ccc2066089e4bc6e082b75129 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 21 May 2022 17:50:43 +0200 Subject: [PATCH 3/5] fix : The property does not exist on PaymentSocialContribution --- .../sociales/class/paymentsocialcontribution.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php index 23b180da103..1b83915714d 100644 --- a/htdocs/compta/sociales/class/paymentsocialcontribution.class.php +++ b/htdocs/compta/sociales/class/paymentsocialcontribution.class.php @@ -110,6 +110,11 @@ class PaymentSocialContribution extends CommonObject */ public $datepaye; + /** + * @var integer|string paiementtype + */ + public $paiementtype; + /** * Constructor From bff81ce9bb493e066f555cdb99da00a758896867 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 21 May 2022 18:02:48 +0200 Subject: [PATCH 4/5] fix : The property does not exist on ChargeSociales --- htdocs/compta/sociales/class/chargesociales.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/compta/sociales/class/chargesociales.class.php b/htdocs/compta/sociales/class/chargesociales.class.php index 70d8da4c27b..41e036ae937 100644 --- a/htdocs/compta/sociales/class/chargesociales.class.php +++ b/htdocs/compta/sociales/class/chargesociales.class.php @@ -113,6 +113,11 @@ class ChargeSociales extends CommonObject */ public $fk_user; + /** + * @var double total + */ + public $total; + const STATUS_UNPAID = 0; const STATUS_PAID = 1; From 8ba445b27c08ad8e4fc53fdc8f649d72d82755cb Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 21 May 2022 18:11:34 +0200 Subject: [PATCH 5/5] fix : The property am does not seem to exist on ChargeSociales --- htdocs/compta/paiement_charge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index 640ffc78d99..db48b2767f2 100644 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -291,7 +291,7 @@ if ($action == 'create') { print "\n"; $total += $objp->total; $total_ttc += $objp->total_ttc; - $totalrecu += $objp->am; + $totalrecu += $objp->amount; $i++; } if ($i > 1) {