HTML格式pdf模板

时间:2019-03-29 01:36:10

标签: php sugarcrm suitecrm

我尝试格式化名称会导致产生未知符号,但问题是我的代码无法正常工作。 您能提出解决此问题的任何方法吗?预先感谢。

$accountBean = BeanFactory::getBean('Accounts', $subscriptionBean->accounts_fp_subscriptions_1accounts_ida);
        $row['subscription_no'] = !empty($subscriptionBean->subscription_no) ? $subscriptionBean->subscription_no : '';
        $row['full_name'] = !empty($subscriptionBean->full_name) ? trim($subscriptionBean->full_name) : '';
        $row['total_due'] = !empty($subscriptionBean->balance_amount_c) ? $subscriptionBean->balance_amount_c : '0.00';
        $row['current_due'] = $this->getCurrentDue($subscriptionBean);

    if($accountBean == 'varchar') {
        $GLOBALS['log']->fatal("account bean");
        $accountBean->full_name = html_entity_decode($row->$accountBean[full_name]);
        }

0 个答案:

没有答案