mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-22 07:52:36 +00:00
31 lines
752 B
PHP
Executable File
31 lines
752 B
PHP
Executable File
<?php
|
|
if (!defined('sugarEntry') || !sugarEntry) {
|
|
die('Not A Valid Entry Point');
|
|
}
|
|
|
|
|
|
#[\AllowDynamicProperties]
|
|
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(' ', ' ', (string) $this->bean->pdfheader));
|
|
$this->bean->description = html_entity_decode(str_replace(' ', ' ', (string) $this->bean->description));
|
|
$this->bean->pdffooter = html_entity_decode(str_replace(' ', ' ', (string) $this->bean->pdffooter));
|
|
}
|
|
}
|