[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-cvs] dolibarr/htdocs/comm propal.php
From: |
Regis Houssin |
Subject: |
[Dolibarr-cvs] dolibarr/htdocs/comm propal.php |
Date: |
Tue, 13 Jun 2006 14:35:18 +0000 |
CVSROOT: /cvsroot/dolibarr
Module name: dolibarr
Changes by: Regis Houssin <hregis> 06/06/13 14:35:18
Modified files:
htdocs/comm : propal.php
Log message:
Ajout possibilité d'attribuer une ref client sur une propale, utile
pour les revendeurs
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/comm/propal.php?cvsroot=dolibarr&r1=1.227&r2=1.228
Patches:
Index: propal.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/comm/propal.php,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -b -r1.227 -r1.228
--- propal.php 13 Jun 2006 14:31:37 -0000 1.227
+++ propal.php 13 Jun 2006 14:35:18 -0000 1.228
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: propal.php,v 1.227 2006/06/13 14:31:37 hregis Exp $
+ * $Id: propal.php,v 1.228 2006/06/13 14:35:18 hregis Exp $
* $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/propal.php,v $
*/
@@ -143,7 +143,7 @@
if ($_POST['action'] == 'set_ref_client' && $user->rights->propale->creer)
{
$propal = new Propal($db);
- $propal->fetch($_GET['id']);
+ $propal->fetch($_GET['propalid']);
$propal->set_ref_client($user, $_POST['ref_client']);
}
@@ -605,10 +605,10 @@
print '<table class="nobordernopadding"
width="100%"><tr><td nowrap>';
print $langs->trans('RefCustomer').'</td><td
align="left">';
print '</td>';
- if ($_GET['action'] != 'refcdeclient' &&
$propal->brouillon) print '<td align="right"><a
href="'.$_SERVER['PHP_SELF'].'?action=refcdeclient&id='.$propal->id.'">'.img_edit($langs->trans('Edit')).'</a></td>';
+ if ($_GET['action'] != 'refclient' &&
$propal->brouillon) print '<td align="right"><a
href="'.$_SERVER['PHP_SELF'].'?action=refclient&propalid='.$propal->id.'">'.img_edit($langs->trans('Edit')).'</a></td>';
print '</tr></table>';
print '</td><td colspan="3">';
- if ($user->rights->propale->creer && $_GET['action'] ==
'refcdeclient')
+ if ($user->rights->propale->creer && $_GET['action'] ==
'refclient')
{
print '<form action="fiche.php?id='.$id.'"
method="post">';
print '<input type="hidden" name="action"
value="set_ref_client">';
@@ -1659,6 +1659,6 @@
}
$db->close();
-llxFooter('$Date: 2006/06/13 14:31:37 $ - $Revision: 1.227 $');
+llxFooter('$Date: 2006/06/13 14:35:18 $ - $Revision: 1.228 $');
?>
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/08
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/08
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/08
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/09
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php,
Regis Houssin <=
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/13
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/13
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/13
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/13
- [Dolibarr-cvs] dolibarr/htdocs/comm propal.php, Regis Houssin, 2006/06/20