If the sales invoice layouts vary per subsidiary, ...
# general
l
If the sales invoice layouts vary per subsidiary, is it best to just maintain one single advanced pdf template with if logics instead of maintaining multiple custom forms and advanced pdf templates? If so, when do multiple custom forms and advanced pdf templates become more advantageous? Is it when the custom forms are different anyway? For example, LATAM subsidiaries have a lot of custom fields from the bundles while others do not. So, we maintain different custom forms. Would it make sense to have separate advanced pdf templates as well (layouts are different)?
c
I prefer to keep a single PDF template for quite some time, often even when there are separate forms for other reasons. Once you've built the logic to do different display from one template based on logic, the limit would be when you think you or a future admin would have trouble following or maintaining the logic inside the template. Vague, I know, but it's very subjective. I'd probably separate them if one or more desired printouts had really distinctive logic AND didn't use most of the logic of the main multi-form template. Your LATAM subs would be a good example, or any scenario where you need to use one of those nifty multi-country localization templates that changes language and layout based on customer language.
l
This is very helpful. I'll take note of this. Thanks!
r
I also prefer a single advanced pdf template