From vtigercrm-commits at vtiger.fosslabs.com Mon Jan 1 22:24:49 2007 From: vtigercrm-commits at vtiger.fosslabs.com (vtigercrm-commits@vtiger.fosslabs.com) Date: Tue, 02 Jan 2007 06:24:49 -0000 Subject: [Vtigercrm-commits] [vtiger-commits] r10004 - /vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php Message-ID: <20070102062449.5EDD5789BB6@vtiger.fosslabs.com> Author: richie Date: Mon Jan 1 23:24:45 2007 New Revision: 10004 Log: query modified to fix error Modified: vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php Modified: vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php ============================================================================== --- vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php (original) +++ vtigercrm/branches/5.0.3/modules/CustomView/CustomView.php Mon Jan 1 23:24:45 2007 @@ -210,7 +210,7 @@ $sql = "select * from vtiger_field inner join vtiger_profile2field on vtiger_profile2field.fieldid=vtiger_field.fieldid inner join vtiger_def_org_field on vtiger_def_org_field.fieldid=vtiger_field.fieldid "; $sql.= " where vtiger_field.tabid in (".$tabid.") and vtiger_field.block in (".$block.") and"; $sql.= "$display_type and vtiger_profile2field.visible=0"; - $sql.= " and vtiger_def_org_field.visible=0 and vtiger_profile2field.profileid in ".$profileList." order by sequence group by columnname"; + $sql.= " and vtiger_def_org_field.visible=0 and vtiger_profile2field.profileid in ".$profileList." group by columnname order by sequence"; } if($tabid == '9,16') $tabid ="9"; From vtigercrm-commits at vtiger.fosslabs.com Tue Jan 2 07:23:03 2007 From: vtigercrm-commits at vtiger.fosslabs.com (vtigercrm-commits@vtiger.fosslabs.com) Date: Tue, 02 Jan 2007 15:23:03 -0000 Subject: [Vtigercrm-commits] [vtiger-commits] r10005 - /vtigercrm/branches/5.0.3/include/utils/SearchUtils.php Message-ID: <20070102152304.2430A78A60F@vtiger.fosslabs.com> Author: richie Date: Tue Jan 2 08:23:00 2007 New Revision: 10005 Log: display customfield labels in search option Modified: vtigercrm/branches/5.0.3/include/utils/SearchUtils.php Modified: vtigercrm/branches/5.0.3/include/utils/SearchUtils.php ============================================================================== --- vtigercrm/branches/5.0.3/include/utils/SearchUtils.php (original) +++ vtigercrm/branches/5.0.3/include/utils/SearchUtils.php Tue Jan 2 08:23:00 2007 @@ -400,6 +400,11 @@ $fieldtype = explode("~",$fieldtype); $fieldtypeofdata = $fieldtype[0]; $fieldlabel = $mod_strings[$adb->query_result($result,$i,"fieldlabel")]; + + // Added to display customfield label in search options + if($fieldlabel == "") + $fieldlabel = $adb->query_result($result,$i,"fieldlabel"); + if($fieldlabel == "Related To") { $fieldlabel = "Related to"; From vtigercrm-commits at vtiger.fosslabs.com Tue Jan 2 07:59:34 2007 From: vtigercrm-commits at vtiger.fosslabs.com (vtigercrm-commits@vtiger.fosslabs.com) Date: Tue, 02 Jan 2007 15:59:34 -0000 Subject: [Vtigercrm-commits] [vtiger-commits] r10006 - in /vtigercrm/branches/5.0.3: ./ Smarty/templates/ include/js/ include/utils/ modules/Calendar/ modules/Contacts/ modules/Potentials/ Message-ID: <20070102155934.03807788DB3@vtiger.fosslabs.com> Author: richie Date: Tue Jan 2 08:59:21 2007 New Revision: 10006 Log: Changes made to show contacts of Accounts/Potential and not all Modified: vtigercrm/branches/5.0.3/Popup.php vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl vtigercrm/branches/5.0.3/Smarty/templates/RelatedListContents.tpl vtigercrm/branches/5.0.3/include/js/general.js vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php vtigercrm/branches/5.0.3/modules/Calendar/addEventUI.php vtigercrm/branches/5.0.3/modules/Contacts/Contact.js vtigercrm/branches/5.0.3/modules/Potentials/CallRelatedList.php Modified: vtigercrm/branches/5.0.3/Popup.php ============================================================================== --- vtigercrm/branches/5.0.3/Popup.php (original) +++ vtigercrm/branches/5.0.3/Popup.php Tue Jan 2 08:59:21 2007 @@ -20,7 +20,6 @@ require_once('include/database/PearDatabase.php'); require_once('include/ComboUtil.php'); require_once('include/utils/utils.php'); - global $app_strings; global $currentModule; global $theme; @@ -221,10 +220,17 @@ $url_string .='&recordid='.$_REQUEST['recordid']; } $where_relquery = getRelCheckquery($currentModule,$_REQUEST['return_module'],$_REQUEST['recordid']); + if($where_relquery == '') + { + if(isset($_REQUEST['relmod_id'])) + $where_relquery = getPopupCheckquery($currentModule,$_REQUEST['parent_module'],$_REQUEST['relmod_id']); + else + $where_relquery = getPopupCheckquery($currentModule,$_REQUEST['task_parent_module'],$_REQUEST['task_relmod_id']); + } + $query = getListQuery($currentModule,$where_relquery); } - if(isset($_REQUEST['query']) && $_REQUEST['query'] == 'true') { list($where, $ustring) = split("#@@#",getWhereCondition($currentModule)); @@ -235,7 +241,6 @@ { $query .= ' and '.$where; } - if (isset($_REQUEST['order_by'])) $order_by = $_REQUEST['order_by']; if(isset($_REQUEST['sorder']) && $_REQUEST['sorder'] != '') $sorder = $_REQUEST['sorder']; @@ -246,7 +251,6 @@ $list_result = $adb->query($query); //Retreiving the no of rows $noofrows = $adb->num_rows($list_result); - //Retreiving the start value from request if(isset($_REQUEST['start']) && $_REQUEST['start'] != '') { Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl ============================================================================== --- vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl (original) +++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityEditView.tpl Tue Jan 2 08:59:21 2007 @@ -566,8 +566,8 @@ {$APP.Contacts} -   - +   + @@ -796,8 +796,8 @@ {$LABEL.contact_id} -   - +   + {/if} Modified: vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl ============================================================================== --- vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl (original) +++ vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl Tue Jan 2 08:59:21 2007 @@ -207,7 +207,7 @@ *{$fldlabel} -  Select +  Select {elseif $uitype eq 75 || $uitype eq 81} @@ -230,7 +230,8 @@ {$fldlabel} -  Select  + +  Select  {elseif $uitype eq 58} @@ -246,7 +247,7 @@ {$fldlabel} -  Select  +  Select  {elseif $uitype eq 78} @@ -254,7 +255,7 @@ {$fldlabel} -  Select  +  Select  {elseif $uitype eq 76} @@ -262,7 +263,7 @@ {$fldlabel} -  Select  +  Select  {elseif $uitype eq 17} @@ -377,7 +378,7 @@ - +  Select  @@ -711,5 +712,5 @@ {rdelim} - + Modified: vtigercrm/branches/5.0.3/Smarty/templates/RelatedListContents.tpl ============================================================================== --- vtigercrm/branches/5.0.3/Smarty/templates/RelatedListContents.tpl (original) +++ vtigercrm/branches/5.0.3/Smarty/templates/RelatedListContents.tpl Tue Jan 2 08:59:21 2007 @@ -17,7 +17,9 @@ {else} {assign var = return_modname value='CallRelatedList'} {/if} - +{if $BASE_ACCOUNT neq ''} + {assign var="search_string" value="&search_field=accountid&query=true&searchtype=BasicSearch&search_text=$BASE_ACCOUNT"} +{/if} {foreach key=header item=detail from=$RELATEDLISTS} @@ -56,7 +58,7 @@ {elseif $header eq 'Contacts' } {if $MODULE eq 'Calendar' || $MODULE eq 'Potentials' || $MODULE eq 'Vendors'} - + {elseif $MODULE eq 'Emails'}   Modified: vtigercrm/branches/5.0.3/include/js/general.js ============================================================================== --- vtigercrm/branches/5.0.3/include/js/general.js (original) +++ vtigercrm/branches/5.0.3/include/js/general.js Tue Jan 2 08:59:21 2007 @@ -1717,26 +1717,120 @@ inputField : fieldid, ifFormat : dateformat, showsTime : false, button : imageid, singleClick : true, step : 1 }); } -function AjaxDuplicateValidate(module,fieldname,oform) -{ - var fieldvalue = getObj(fieldname).value; - var url = "module="+module+"&action="+module+"Ajax&file=Save&"+fieldname+"="+fieldvalue+"&dup_check=true" - new Ajax.Request( - 'index.php', - {queue: {position: 'end', scope: 'command'}, - method: 'post', - postBody:url, - onComplete: function(response) { - var str = response.responseText - if(str.indexOf('SUCCESS') > -1) - { - oform.submit(); - }else - { - alert(str); - } - } - } - ); - -} + +/**to get SelectContacts Popup +check->to check select options enable or disable +*type->to differentiate from task +*frmName->form name*/ + +function selectContact(check,type,frmName) +{ + if($("single_accountid")) + { + var potential_id = ''; + if($("potential_id")) + potential_id = frmName.potential_id.value; + account_id = frmName.account_id.value; + if(potential_id != '') + { + record_id = potential_id; + module_string = "&parent_module=Potentials"; + } + else + { + record_id = account_id; + module_string = "&parent_module=Accounts"; + } + if(record_id != '') + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker&popuptype=specific&form=EditView"+module_string+"&relmod_id="+record_id,"test","width=640,height=602,resizable=0,scrollbars=0"); + else + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); + } + else if(($("parentid")) && type != 'task' ) + { + rel_parent_module = frmName.parent_type.value; + record_id = frmName.parent_id.value; + module = rel_parent_module.split("&"); + if(record_id != '' && module == "Leads") + { + alert("You can't select related contacts from Lead "); + document.formName.selectcnt.disabled="true"; + } + else + { + if(check == 'true') + search_string = "&return_module=Calendar&select=enable&popuptype=detailview&form_submit=false"; + else + search_string="&popuptype=specific"; + if(record_id != '') + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker&popuptype=specific&form=EditView"+search_string+"&relmod_id="+record_id+"&parent_module="+module[0],"test","width=640,height=602,resizable=0,scrollbars=0"); + else + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); + + + } + } + else if(($("contact_name")) && type == 'task') + { + var formName = frmName.name; + if(formName == 'EditView') + { + task_parent_module = frmName.parent_type.value; + task_recordid = frmName.parent_id.value; + task_module = task_parent_module.split("&"); + popuptype="&popuptype=specific"; + } + else + { + task_parent_module = frmName.task_parent_type.value; + task_recordid = frmName.task_parent_id.value; + task_module = task_parent_module.split("&"); + popuptype="&popuptype=toDospecific"; + } + if(task_recordid != '' && task_module == "Leads" ) + { + alert("You can't select related contacts from Lead "); + document.frmName.selectcnt.disabled="true"; + } + else + { + if(task_recordid != '') + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker"+popuptype+"&form=EditView&task_relmod_id="+task_recordid+"&task_parent_module="+task_module[0],"test","width=640,height=602,resizable=0,scrollbars=0"); + else + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker"+popuptype+"&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); + } + + } + else + { + window.open("index.php?module=Contacts&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); + } +} +//to get Select Potential Popup +function selectPotential() +{ + var record_id= document.EditView.account_id.value; + if(record_id != '') + window.open("index.php?module=Potentials&action=Popup&html=Popup_picker&popuptype=specific_potential_account_address&form=EditView&relmod_id="+record_id+"&parent_module=Accounts","test","width=640,height=602,resizable=0,scrollbars=0"); + else + window.open("index.php?module=Potentials&action=Popup&html=Popup_picker&popuptype=specific_potential_account_address&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); +} +//to select Quote Popup +function selectQuote() +{ + var record_id= document.EditView.account_id.value; + if(record_id != '') + window.open("index.php?module=Quotes&action=Popup&html=Popup_picker&popuptype=specific&form=EditView&relmod_id="+record_id+"&parent_module=Accounts","test","width=640,height=602,resizable=0,scrollbars=0"); + + else + window.open("index.php?module=Quotes&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); +} +//to get select SalesOrder Popup +function selectSalesOrder() +{ + var record_id= document.EditView.account_id.value; + if(record_id != '') + window.open("index.php?module=SalesOrder&action=Popup&html=Popup_picker&popuptype=specific&form=EditView&relmod_id="+record_id+"&parent_module=Accounts","test","width=640,height=602,resizable=0,scrollbars=0"); + else + window.open("index.php?module=SalesOrder&action=Popup&html=Popup_picker&popuptype=specific&form=EditView","test","width=640,height=602,resizable=0,scrollbars=0"); +} Modified: vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php ============================================================================== --- vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php (original) +++ vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php Tue Jan 2 08:59:21 2007 @@ -1311,7 +1311,7 @@ { if($mode == "search") { - if($popuptype == "specific") + if($popuptype == "specific" || $popuptype=="toDospecific") { // Added for get the first name of contact in Popup window if($colname == "lastname" && $module == 'Contacts') @@ -1327,7 +1327,10 @@ if($module == 'SalesOrder') $value = ''.$temp_val.''; else - $value = ''.$temp_val.''; + if($popuptype=='toDospecific') + $value = ''.$temp_val.''; + else + $value = ''.$temp_val.''; } elseif($popuptype == "detailview") { @@ -2627,7 +2630,189 @@ return; else return $output; -} +} + +function getPopupCheckquery($current_module,$relmodule,$relmod_recordid) +{ + global $log,$adb; + $log->debug("Entering getPopupCheckquery(".$currentmodule.",".$relmodule.",".$relmod_recordid.") method ..."); + if($current_module == "Contacts") + { + if($relmodule == "Accounts") + $condition = "and vtiger_account.accountid= ".$relmod_recordid; + + elseif($relmodule == "Potentials") + { + /*$query = "select accountid from vtiger_potential where potentialid=".$relmod_recordid; + $result = $adb->query($query); + $account_id = $adb->query_result($result,0,"accountid"); + $condition = "and vtiger_contactdetails.accountid= ".$account_id;*/ + + $query = "select contactid from vtiger_contpotentialrel where potentialid=".$relmod_recordid; + $result = $adb->query($query); + $contact_id = $adb->query_result($result,0,"contactid"); + $condition = "and vtiger_contactdetails.contactid= ".$contact_id; + } + elseif($relmodule == "Quotes") + { + + $query = "select contactid from vtiger_quotes where quoteid=".$relmod_recordid; + $result = $adb->query($query); + $contactid = $adb->query_result($result,0,"contactid"); + if($contactid != '') + $condition = "and vtiger_contactdetails.contactid= ".$contactid; + else + { + $query = "select accountid from vtiger_quotes where quoteid=".$relmod_recordid; + $result = $adb->query($query); + $account_id = $adb->query_result($result,0,"accountid"); + $condition = "and vtiger_contactdetails.accountid= ".$account_id; + } + } + elseif($relmodule == "PurchaseOrder") + { + $query = "select contactid from vtiger_purchaseorder where purchaseorderid=".$relmod_recordid; + $result = $adb->query($query); + $contact_id = $adb->query_result($result,0,"contactid"); + $condition = "and vtiger_contactdetails.contactid= ".$contact_id; + } + + elseif($relmodule == "SalesOrder") + { + $query = "select contactid from vtiger_salesorder where salesorderid=".$relmod_recordid; + $result = $adb->query($query); + $contact_id = $adb->query_result($result,0,"contactid"); + $condition = "and vtiger_contactdetails.contactid=".$contact_id; + } + + elseif($relmodule == "Invoice") + { + $query = "select accountid from vtiger_invoice where invoiceid=".$relmod_recordid; + $result = $adb->query($query); + $account_id = $adb->query_result($result,0,"accountid"); + $condition = "and vtiger_contactdetails.accountid=".$account_id; + + } + + elseif($relmodule == "Campaigns") + { + $query = "select contactid from vtiger_campaigncontrel where campaignid =".$relmod_recordid; + $result = $adb->query($query); + $rows = $adb->num_rows($result); + if($rows != 0) + { + $j = 0; + $contactid_comma = "("; + for($k=0; $k < $rows; $k++) + { + $contactid = $adb->query_result($result,$k,'contactid'); + $contactid_comma.=$contactid; + if($k < ($rows-1)) + $contactid_comma.=', '; + } + $contactid_comma.= ")"; + } + if($contactid_comma != '') + $condition = "and vtiger_contactdetails.contactid in ".$contactid_comma; + } + + elseif($relmodule == "HelpDesk" || $relmodule == "Trouble Tickets") + { + $query = "select parent_id from vtiger_troubletickets where ticketid =".$relmod_recordid; + $result = $adb->query($query); + $parent_id = $adb->query_result($result,0,"parent_id"); + $crmquery = "select setype from vtiger_crmentity where crmid=".$parent_id; + $parentmodule_id = $adb->query($crmquery); + $parent_modname = $adb->query_result($parentmodule_id,0,"setype"); + if($parent_modname == "Accounts") + $condition = "and vtiger_contactdetails.accountid= ".$parent_id; + if($parent_modname == "Contacts") + $condition = "and vtiger_contactdetails.contactid= ".$parent_id; + + } + } + elseif($current_module == "Potentials") + { + if($relmodule == 'Accounts') + { + $pot_query = "select potentialid from vtiger_potential where accountid=".$relmod_recordid; + $pot_result = $result = $adb->query($pot_query); + $rows = $adb->num_rows($pot_result); + if($rows != 0) + { + $j = 0; + $potids_comma = "("; + for($k=0; $k < $rows; $k++) + { + $potential_ids = $adb->query_result($pot_result,$k,'potentialid'); + $potids_comma.=$potential_ids; + if($k < ($rows-1)) + $potids_comma.=','; + } + $potids_comma.= ")"; + } + if($potids_comma != '') + $condition ="and vtiger_potential.potentialid in ".$potids_comma; + } + + } + else if($current_module == 'Quotes') + { + if($relmodule == 'Accounts') + { + $quote_query = "select quoteid from vtiger_quotes where accountid=".$relmod_recordid; + $quote_result = $result = $adb->query($quote_query); + $rows = $adb->num_rows($quote_result); + if($rows != 0) + { + $j = 0; + $qtids_comma = "("; + for($k=0; $k < $rows; $k++) + { + $quote_ids = $adb->query_result($quote_result,$k,'quoteid'); + $qtids_comma.=$quote_ids; + if($k < ($rows-1)) + $qtids_comma.=','; + } + $qtids_comma.= ")"; + } + if($qtids_comma != '') + $condition ="and vtiger_quotes.quoteid in ".$qtids_comma; + } + + } + else if($current_module == 'SalesOrder') + { + if($relmodule == 'Accounts') + { + $SO_query = "select salesorderid from vtiger_salesorder where accountid=".$relmod_recordid; + $SO_result = $result = $adb->query($SO_query); + $rows = $adb->num_rows($SO_result); + if($rows != 0) + { + $SOids_comma = "("; + for($k=0; $k < $rows; $k++) + { + $SO_ids = $adb->query_result($SO_result,$k,'salesorderid'); + $SOids_comma.=$SO_ids; + if($k < ($rows-1)) + $SOids_comma.=','; + } + $SOids_comma.= ")"; + } + if($SOids_comma != '') + $condition ="and vtiger_salesorder.salesorderid in ".$SOids_comma; + } + + } + else + $condition = ''; + $where = $condition; + $log->debug("Exiting getPopupCheckquery method ..."); + return $where; + + +} /**This function return the entity ids that need to be excluded in popup listview for a given record Param $currentmodule - modulename of the entity to be selected Modified: vtigercrm/branches/5.0.3/modules/Calendar/addEventUI.php ============================================================================== --- vtigercrm/branches/5.0.3/modules/Calendar/addEventUI.php (original) +++ vtigercrm/branches/5.0.3/modules/Calendar/addEventUI.php Tue Jan 2 08:59:21 2007 @@ -594,8 +594,8 @@
-   - +   +
@@ -823,7 +823,7 @@
- +
@@ -833,8 +833,8 @@ -   - +   + Modified: vtigercrm/branches/5.0.3/modules/Contacts/Contact.js ============================================================================== --- vtigercrm/branches/5.0.3/modules/Contacts/Contact.js (original) +++ vtigercrm/branches/5.0.3/modules/Contacts/Contact.js Tue Jan 2 08:59:21 2007 @@ -95,6 +95,14 @@ fldName.value = product_name; fldId.value = product_id; } +//only for Todo +function set_return_toDospecific(product_id, product_name) { + var fldName = getOpenerObj("task_contact_name"); + var fldId = getOpenerObj("task_contact_id"); + fldName.value = product_name; + fldId.value = product_id; +} + function submitform(id){ document.massdelete.entityid.value=id; document.massdelete.submit(); Modified: vtigercrm/branches/5.0.3/modules/Potentials/CallRelatedList.php ============================================================================== --- vtigercrm/branches/5.0.3/modules/Potentials/CallRelatedList.php (original) +++ vtigercrm/branches/5.0.3/modules/Potentials/CallRelatedList.php Tue Jan 2 08:59:21 2007 @@ -52,6 +52,7 @@ if (isset($focus->name)) $smarty->assign("NAME", $focus->name); $related_array = getRelatedLists($currentModule,$focus); $smarty->assign("RELATEDLISTS", $related_array); +$smarty->assign("BASE_ACCOUNT",getAccountName($focus->column_fields[account_id])); $category = getParentTab(); $smarty->assign("CATEGORY",$category); $smarty->assign("UPDATEINFO",updateInfo($focus->id)); From vtigercrm-commits at vtiger.fosslabs.com Tue Jan 2 22:38:54 2007 From: vtigercrm-commits at vtiger.fosslabs.com (vtigercrm-commits@vtiger.fosslabs.com) Date: Wed, 03 Jan 2007 06:38:54 -0000 Subject: [Vtigercrm-commits] [vtiger-commits] r10007 - /vtigercrm/branches/5.0.3/Smarty/templates/ProfileDetailView.tpl Message-ID: <20070103063854.02E9C789670@vtiger.fosslabs.com> Author: richie Date: Tue Jan 2 23:38:48 2007 New Revision: 10007 Log: div problem fixed Modified: vtigercrm/branches/5.0.3/Smarty/templates/ProfileDetailView.tpl Modified: vtigercrm/branches/5.0.3/Smarty/templates/ProfileDetailView.tpl ============================================================================== --- vtigercrm/branches/5.0.3/Smarty/templates/ProfileDetailView.tpl (original) +++ vtigercrm/branches/5.0.3/Smarty/templates/ProfileDetailView.tpl Tue Jan 2 23:38:48 2007 @@ -120,16 +120,16 @@ -    +    -