dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] petit patch


From: Franky Van Liedekerke
Subject: Re: [Dolibarr-dev] petit patch
Date: Tue, 30 Jan 2007 09:10:34 +0100

Merci déjà, mais il me semble que tu as oublié une petite partie, qui était pas dans le patch, mais dans le mail même:

(extrait du mail:)
Aussi, dans le patch, j'utilise 2 functions nouveaux dans
product.class.php (c'est pas dans le patch):

function isproduct() {
if ($this->type != 1) {
return 1;
} else {
return 0;
}
}

function isservice() {
if ($this->type==1) {
return 1;
} else {
return 0;
}
}

(j'ai encore les functions isproduct_raw(), isproduct_assembly() et
isproduct_stockkit(), mais c'est pas pour maintenant)

au lieu du vieux code
if ($this->type == 0)
{
$this->isproduct = 1;
$this->isservice = 0;
}
else
{
$this->isproduct = 0;
$this->isservice = 1;
}

Après cette change je vais envoyer la prochaine partie :-)

Franky



--
 


-----Original Message-----
From: "Laurent Destailleur (Eldy)" <address@hidden>
Sent: Tuesday, 30. Jan 2007 2:20 +0100
To: address@hidden, Discussions sur le developpement de Dolibarr <address@hidden>
Subject: Re: [Dolibarr-dev] petit patch

Régis Houssin a écrit :
> Bonjour Franky,
>
> je n'ai pas eu le temps de regarder désolé, est-ce quelqu'un d'autre
> pourrait regarder ?
>
> merci
> Régis
>
Je m'en suis occupé.
>> Bonjour,
>>
>> ce week-end j'ai envoyé un petit patch pour la partie fournisseurs, voir:
>> http://lists.nongnu.org/archive/html/dolibarr-dev/2007-01/msg00292.html
>> (rien ne change en fonctionnalité, juste une amélioration du code).
>> Est-ce-que ce patch sera accepté? Ou sinon, on peut en discuter?
>>
>> Franky
>>
>>
>> _______________________________________________
>> Dolibarr-dev mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>>
>>

--
Laurent Destailleur.
---------------------------------------------------------------
EMail: address@hidden
Web: http://www.destailleur.fr
IM: IRC=Eldy, Jabber=Eldy

AWStats (Author) : http://awstats.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
AWBot (Author) : http://awbot.sourceforge.net
Dolibarr (Contributor) : http://www.dolibarr.org



_______________________________________________
Dolibarr-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/dolibarr-dev

reply via email to

[Prev in Thread] Current Thread [Next in Thread]