diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php index 4d638e23cf7..7be1360287c 100644 --- a/htdocs/compta/sociales/charges.php +++ b/htdocs/compta/sociales/charges.php @@ -19,7 +19,7 @@ /** * \file htdocs/compta/sociales/charges.php * \ingroup tax - * \brief Social contribution car page + * \brief Social contribution card page */ require '../../main.inc.php'; @@ -387,7 +387,7 @@ if ($id > 0) { $num = $db->num_rows($resql); $i = 0; $total = 0; - echo '
| '.$langs->trans("RefPayment").' | '; print ''.$langs->trans("Date").' | '; @@ -488,7 +488,7 @@ if ($id > 0) /* - * Boutons actions + * Actions buttons */ if ($action != 'edit') { @@ -500,7 +500,7 @@ if ($id > 0) print "id&action=edit\">".$langs->trans("Modify").""; } - // Emettre paiement + // Emit payment if ($object->paye == 0 && ((price2num($object->amount) < 0 && price2num($resteapayer, 'MT') < 0) || (price2num($object->amount) > 0 && price2num($resteapayer, 'MT') > 0)) && $user->rights->tax->charges->creer) { print "id&action=create\">".$langs->trans("DoPayment").""; diff --git a/htdocs/don/card.php b/htdocs/don/card.php index 75e30da80a3..330a1d8958d 100644 --- a/htdocs/don/card.php +++ b/htdocs/don/card.php @@ -595,8 +595,8 @@ if (! empty($id) && $action != 'edit') print "||||
| "; print ''.img_object($langs->trans("Payment"),"payment").' '.$objp->rowid.' | '; print ''.dol_print_date($db->jdate($objp->dp),'day')." | \n"; - $labeltype=$langs->trans("PaymentType".$object->type_code)!=("PaymentType".$object->type_code)?$langs->trans("PaymentType".$object->type_code):$object->paiement_type; - print "".$labeltype.' '.$object->num_paiement." | \n"; + $labeltype=$langs->trans("PaymentType".$objp->type_code)!=("PaymentType".$objp->type_code)?$langs->trans("PaymentType".$objp->type_code):$objp->paiement_type; + print "".$labeltype.' '.$objp->num_payment." | \n"; print ''.price($objp->amount)." | ".$langs->trans("Currency".$conf->currency)." | \n"; print "