Hiding or Conditional Formatting of Lines within Sales Order templates

Hiding or Conditional Formatting of Lines within Sales Order templates

Hello,

Is there any way to hide line items from a Sales Order when a custom Sales Order template is chosen? We have manually created line items with no inventory ID that we would like to hide when choosing a specific template for our Sales Order printing.

If hiding line items is not an option, is there any way to apply different colors or formatted text to specific line items that fit a certain criteria within a template?

Thank you,
Curtis