Fix: Bad link

This commit is contained in:
Laurent Destailleur 2013-09-06 09:26:23 +02:00
parent 181f16543d
commit d7a14a15b3

View File

@ -2146,7 +2146,7 @@ else
// Make payments // Make payments
if ($action != 'edit' && $object->statut == 1 && $object->paye == 0 && $user->societe_id == 0) if ($action != 'edit' && $object->statut == 1 && $object->paye == 0 && $user->societe_id == 0)
{ {
print '<a class="butAction" href="paiement.php?id='.$object->id.'&amp;action=create">'.$langs->trans('DoPayment').'</a>'; print '<a class="butAction" href="paiement.php?facid='.$object->id.'&amp;action=create">'.$langs->trans('DoPayment').'</a>'; // must use facid because id is for payment id not invoice
} }
// Classify paid // Classify paid