- _('Net'), _('Rate'), _('Tax'), '', _('Name'));\r
- $aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right', 'right', 'right','left');\r
+ _('Net'), _('Rate'), _('Tax'), '', _('Name'));
+ $aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right', 'right', 'right','left');
+ if ($orientation == 'L')
+ recalculate_cols($cols);
+