[Vtigercrm-commits] [vtiger-commits] r4526 - /vtigercrm/trunk/modules/Quotes/Quote.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 01:23:49 EST 2006
Author: saraj
Date: Mon Mar 27 23:23:40 2006
New Revision: 4526
Log:
junk code has been removed
Modified:
vtigercrm/trunk/modules/Quotes/Quote.php
Modified: vtigercrm/trunk/modules/Quotes/Quote.php
==============================================================================
--- vtigercrm/trunk/modules/Quotes/Quote.php (original)
+++ vtigercrm/trunk/modules/Quotes/Quote.php Mon Mar 27 23:23:40 2006
@@ -114,12 +114,6 @@
$this->column_fields = getColumnFields('Quotes');
}
- function create_tables () {
- }
-
- function drop_tables () {
- }
-
function get_summary_text()
{
return $this->name;
@@ -146,10 +140,6 @@
$button = '';
- if(isPermitted("Activities",1,"") == 'yes')
- {
- $button .= '<input title="'.$app_strings['LBL_NEW_TASK'].'" accessyKey="F" class="button" onclick="this.form.action.value=\'EditView\';this.form.return_action.value=\'DetailView\';this.form.module.value=\'Activities\';this.form.activity_mode.value=\'Task\';this.form.return_module.value=\'Quotes\'" type="submit" name="button" value="'.$app_strings['LBL_NEW_TASK'].'"> ';
- }
$returnset = '&return_module=Quotes&return_action=DetailView&return_id='.$id;
$query = "SELECT contactdetails.contactid, contactdetails.lastname, contactdetails.firstname, activity.*,seactivityrel.*,crmentity.crmid, crmentity.smownerid, crmentity.modifiedtime, users.user_name,recurringevents.recurringtype from activity inner join seactivityrel on seactivityrel.activityid=activity.activityid inner join crmentity on crmentity.crmid=activity.activityid left join cntactivityrel on cntactivityrel.activityid= activity.activityid left join contactdetails on contactdetails.contactid = cntactivityrel.contactid left join users on users.id=crmentity.smownerid left outer join recurringevents on recurringevents.activityid=activity.activityid left join activitygrouprelation on activitygrouprelation.activityid=crmentity.crmid left join groups on groups.groupname=activitygrouprelation.groupname where seactivityrel.crmid=".$id." and (activitytype='Task' or activitytype='Call' or activitytype='Meeting') and (activity.status is not NULL && activity.status != 'Completed') and (activity.status is not NULL && activity.status != 'Deferred') or (activity.eventstatus !='' && activity.eventstatus = 'Planned')";
More information about the vtigercrm-commits
mailing list