从Vtiger移动到Suitecrm。在Vtiger中,pdf模板的选项如下:
$summaryModel->set("summaryGrandTotalLiteral", $this->num2str($final_details['grandTotal'], false, $currency));因此,在PDF格式中,“合计1美元”显示为“1美元”,因此可以将金额/数字显示为文字/文本。我如何在SuiteCrm中实现它。请协助。
发布于 2021-02-13 03:49:58
据我所知,SuiteCRM中没有这样的东西。
您必须从$app_strings获取报价/发票货币,取消summaryGrandTotalLiteral的转换,然后自己进行连接。
PDF的解析是在这个文件中完成的,也许你可以在github中看一下这个文件:https://github.com/salesagility/SuiteCRM/blob/e523df75ffaeaa593a1eebb4f7306b9e9c81759c/modules/AOS_PDF_Templates/generatePdf.php。
https://stackoverflow.com/questions/66176483
复制相似问题