This commit is contained in:
Regis Houssin 2006-06-13 14:41:13 +00:00
parent a0b32f725d
commit cd2991b4f4

View File

@ -535,6 +535,8 @@ $html = new Form($db);
*/
if ($_GET['propalid'] > 0)
{
$propalid = $_GET['propalid']
if ($msg) print "$msg<br>";
$propal = new Propal($db);
@ -610,7 +612,7 @@ if ($_GET['propalid'] > 0)
print '</td><td colspan="3">';
if ($user->rights->propale->creer && $_GET['action'] == 'refclient')
{
print '<form action="fiche.php?propalid='.$id.'" method="post">';
print '<form action="fiche.php?propalid='.$propalid.'" method="post">';
print '<input type="hidden" name="action" value="set_ref_client">';
print '<input type="text" class="flat" size="20" name="ref_client" value="'.$propal->ref_client.'">';
print ' <input type="submit" class="button" value="'.$langs->trans('Modify').'">';