mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-12 09:18:42 +00:00
29 lines
698 B
PHP
Executable file
29 lines
698 B
PHP
Executable file
<?php
|
|
if (!defined('sugarEntry') || !sugarEntry) {
|
|
die('Not A Valid Entry Point');
|
|
}
|
|
|
|
|
|
class AOS_PDF_TemplatesViewDetail extends ViewDetail
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
|
|
|
|
|
|
public function display()
|
|
{
|
|
$this->setDecodeHTML();
|
|
parent::display();
|
|
}
|
|
|
|
public function setDecodeHTML()
|
|
{
|
|
$this->bean->pdfheader = html_entity_decode(str_replace(' ', ' ', $this->bean->pdfheader));
|
|
$this->bean->description = html_entity_decode(str_replace(' ', ' ', $this->bean->description));
|
|
$this->bean->pdffooter = html_entity_decode(str_replace(' ', ' ', $this->bean->pdffooter));
|
|
}
|
|
}
|