Skip to content
Snippets Groups Projects
Commit fd43477c authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::158482179::yogeshwar::Email description is changing to html content...

#Fixes::158482179::yogeshwar::Email description is changing to html content when we view the email in detail
parent 5e31f61a
No related branches found
No related tags found
4 merge requests!1167Fixes: #1680 :Google Sync Contacts API turned down since January 19, 2022. We have to switch to Pepole API,!1146#Fixes::290681::Yogeshwar::task is automatically created when we send the mail from the project module,!1113#Fixes::1481::Yogeshwar::email tracking variable should be updated to config file,!1106Fixes::yogeshwar::1552::vt730: Bug in Contacts_Detail_Js.checkForPortalUser()"
......@@ -117,7 +117,7 @@
{if $fieldDataType eq 'multipicklist'}
<input type="hidden" class="fieldBasicData" data-name='{$FIELD_MODEL->get('name')}[]' data-type="{$fieldDataType}" data-displayvalue='{$FIELD_DISPLAY_VALUE}' data-value="{$FIELD_VALUE}" />
{else}
<input type="hidden" class="fieldBasicData" data-name='{$FIELD_MODEL->get('name')}' data-type="{$fieldDataType}" data-displayvalue='{$FIELD_DISPLAY_VALUE}' data-value="{decode_html($FIELD_VALUE)|strip_tags}" />
<input type="hidden" class="fieldBasicData" data-name='{$FIELD_MODEL->get('name')}' data-type="{$fieldDataType}" data-displayvalue='{$FIELD_DISPLAY_VALUE}' data-value="{$FIELD_VALUE}" />
{/if}
</span>
<span class="action pull-right"><a href="#" onclick="return false;" class="editAction fa fa-pencil"></a></span>
......
......@@ -42,5 +42,5 @@
{else if $FIELD_MODEL->get('name') eq 'signature'}
{decode_html($FIELD_MODEL->getDisplayValue($FIELD_MODEL->get('fieldvalue'), $RECORD->getId(), $RECORD))}
{else}
{decode_html($FIELD_MODEL->getDisplayValue($FIELD_MODEL->get('fieldvalue'), $RECORD->getId(), $RECORD))}
{$FIELD_MODEL->getDisplayValue($FIELD_MODEL->get('fieldvalue'), $RECORD->getId(), $RECORD)}
{/if}
......@@ -421,8 +421,7 @@ class SalesOrder extends CRMEntity {
if(empty($return_module) || empty($return_id)) return;
if($return_module == 'Accounts') {
$relation_query = 'UPDATE vtiger_salesorder SET accountid=? WHERE salesorderid=?';
$this->db->pquery($relation_query, array(null, $id));
$this->trash('SalesOrder',$id);
}
elseif($return_module == 'Quotes') {
$relation_query = 'UPDATE vtiger_salesorder SET quoteid=? WHERE salesorderid=?';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment