[Vtigercrm-developers] Fwd: VT6 Report Meta Date filters

Vic Cekvenich vic.cvc at gmx.com
Sun Aug 17 17:11:20 GMT 2014



-------- Original Message --------
Subject: [Vtigercrm-developers] VT6 Report Meta Date filters
Date: Tue, 06 May 2014 11:22:05 +0100
From: Alan Lord <alanslists at gmail.com>
Reply-To: vtigercrm-developers at lists.vtigercrm.com
To: vtigercrm-developers at lists.vtigercrm.com

We've had an enquiry from a prospective customer.

In VT6 they want to create a report which shows them a list of records 
where a date field is older than 30 days.

I've had a quick look at the definitions in 
modules/Vtiger/models/Field.php but am not sure how I would go about 
making a new date filter something like "Older Than 30 Days". Can anyone 
help?

Also, whilst looking, I was surprised to find what look like exact 
copies (duplicates) of the getDateForStdFilterBytype() and 
getDateFilterTypes() functions in modules/CustomView/models/Record.php!

Surely the whole idea of this lovely OOP architecture is to remove this 
kind of duplication?

TIA

Al

PS - Looks like my newsfeeder gmane.org isn't talking to this list today 
so have sent it by email as well... One day there will probably be a 
dupe of this message ;-)
_______________________________________________
http://www.vtiger.com/



More information about the vtigercrm-developers mailing list