jambagecom / excelbill-tt-products
为tt_products订单发送Excel格式的账单
v0.2.0
2022-01-22 12:49 UTC
Requires
- jambagecom/div2007: ^1.11
- typo3/cms-core: ^9.5 || ^10.4 || ^11.5
Replaces
- typo3-ter/excelbill-tt-products: v0.2.0
This package is auto-updated.
Last update: 2024-08-30 01:12:25 UTC
README
TYPO3扩展excelbill_tt_products的目的是启用生成Excel格式的账单。
将其放入设置
生成账单
plugin.tt_products {
bill {
generation = auto
type = excel
handleLib = PhpSpreadsheet
handleLib {
template = fileadmin/templates/excel_template.xls
}
conf {
path = fileadmin/data/bill
}
}
orderEmail {
10002.attachment = bill
}
}
使用setup bill.conf设置来覆盖TCPDF的字符集和标准配置属性。此扩展包含一个HTML模板文件,您可以将其移动到fileadmin文件夹以根据您的需求进行修改。
plugin.tt_products {
bill.conf {
templateFile = fileadmin/templates/excel_template.xls
}
}
PhpSpreadsheet库
使用扩展管理器设置PhpSpreadsheet的相对库路径,其中TYPO3主目录为起点。
libraryPath = src/PhpSpreadsheet
如果您已安装base_excel扩展,则必须使用此配置
libraryPath = typo3conf/ext/base_excel/Vendor/PhpSpreadsheet/src/PhpSpreadsheet/