vtiger Forum Index vtiger
The Honest Open Source CRM
 

PATCH: Allow negative adjustments in Quotes
Click here to go to the original topic

 
       vtiger Forum Index -> Developer Forum - 4.x
Previous topic :: Next topic  
Author Message
dgrant



Joined: 22 Sep 2005
Posts: 60

Posted: Wed Jan 04, 2006 3:35 pm    Post subject: PATCH: Allow negative adjustments in Quotes  

Quotes should allow Adjustments to be negative (reduce the price globally)

modules/Quotes/EditView.html

line 500

replace :

Code:
                                        if (!numValidate("txtAdjustment","Adjustment","any")) return false


with this:

Code:
                                        // DG 04 Jan 2006
                                        // Adjustments are allowed to be negative - happily, the numValidate function allows this
                                        if (!numValidate("txtAdjustment","Adjustment","any",1)) return false


DG
Back to top  
KLeo



Joined: 19 Nov 2005
Posts: 198

Posted: Wed Jan 04, 2006 3:56 pm    Post subject: PATCH: Allow negative adjustments in Quotes  

This is a GOOD change !

It is also relate to Invoice and Orders !

Would it be possible to enter the adjustment in % ?

With % enter would be it symple.

More Thanks,
Kleo
Back to top  
 
       vtiger Forum Index -> Developer Forum - 4.x
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group