FIX : wrong url param
This commit is contained in:
parent
4cf99585f8
commit
fc2f2c6da7
@ -4837,7 +4837,7 @@ elseif ($id > 0 || ! empty($ref))
|
||||
{
|
||||
if (! $objectidnext)
|
||||
{
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?socid=' . $object->socid .'&fac_avoir=' . $object->id . '&action=create&type=2'.($object->fk_project > 0 ? '&projectid='.$object->fk_project : '').'' . $object->id . '&action=create&type=2'.($object->entity > 0 ? '&originentity='.$object->entity : '').'">' . $langs->trans("CreateCreditNote") . '</a></div>';
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="' . $_SERVER['PHP_SELF'] . '?socid=' . $object->socid .'&fac_avoir=' . $object->id . '&action=create&type=2'.($object->fk_project > 0 ? '&projectid='.$object->fk_project : '').'' . ($object->entity > 0 ? '&originentity='.$object->entity : '').'">' . $langs->trans("CreateCreditNote") . '</a></div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user