Php 在Perfex CRM上显示没有表的items表时出现问题
我正在设置以PDF格式自定义显示提案项 从我的代码中,我看到它仍在显示表Php 在Perfex CRM上显示没有表的items表时出现问题,php,html,Php,Html,我正在设置以PDF格式自定义显示提案项 从我的代码中,我看到它仍在显示表 $items = get_items_table_data($proposal, 'proposal', 'pdf') ->set_headings('estimate'); $items_html = $items->table(); $items_html .= '<br /><br />'; $proposal->content = str_replace('
$items = get_items_table_data($proposal, 'proposal', 'pdf')
->set_headings('estimate');
$items_html = $items->table();
$items_html .= '<br /><br />';
$proposal->content = str_replace('{proposal_items}', $items_html, $proposal->content);
$html = <<<EOF
<div style="width:675px !important;">
$proposal->content
</div>
EOF;
$items=get\u items\u table\u数据($proposal,'proposal','pdf'))
->设置标题(“估算”);
$items_html=$items->table();
$items_html.='
';
$PROPOSITION->content=str_replace(“{PROPOSITION\u items},$items\u html,$PROPOSITION->content);
$html=