VTiger CRM: How to Get Invoice Total in Proper Order in Reports

VTiger CRM: How to Get Invoice Total in Proper Order in Reports

While creating reports for invoice in VTiger, I grouped the invoice total and sorted it in descending order,the invoice total was not sorted properly, its being sorted as per the first digit.(For instance if the invoice total is 400,200,2100,100,it is sorted as 400,2100,200,100, the proper order should be 2100,400,200,100). To get it in proper order put the following code in [vtigerroot]/layouts/vlayout/Reports/ReportContents.tpl in function getReport on […]

Read More