Select account for payment

This commit is contained in:
frederic34 2014-07-07 18:25:20 +02:00
parent 516632e41d
commit 83d3af9bf8

View File

@ -3463,7 +3463,7 @@ if ($action == 'create')
if ($resteapayer == 0) {
print '<div class="inline-block divButAction"><span class="butActionRefused" title="' . $langs->trans("DisabledBecauseRemainderToPayIsZero") . '">' . $langs->trans('DoPayment') . '</span></div>';
} else {
print '<div class="inline-block divButAction"><a class="butAction" href="paiement.php?facid=' . $object->id . '&amp;action=create">' . $langs->trans('DoPayment') . '</a></div>';
print '<div class="inline-block divButAction"><a class="butAction" href="paiement.php?facid=' . $object->id . '&amp;action=create &accountid='.$object->fk_account.'">' . $langs->trans('DoPayment') . '</a></div>';
}
}
}