$th = array(_("Item Code"), _("Item Description"), _("Quantity"),
_("Unit"), _("Unit Cost"), '');
if ( count($order->line_items)) $th[] = '';
$th = array(_("Item Code"), _("Item Description"), _("Quantity"),
_("Unit"), _("Unit Cost"), '');
if ( count($order->line_items)) $th[] = '';