- $cols = array(0, 100, 305, 375, 445, 515);
-
- $headers = array(_('Category'), _('Description'), _('Quantity'), _('Demand'), _('Difference'));
+ if ($check)
+ {
+ $cols = array(0, 100, 250, 305, 375, 445, 515);
+ $headers = array(_('Category'), _('Description'), _('Quantity'), _('Check'), _('Demand'), _('Difference'));
+ $aligns = array('left', 'left', 'right', 'right', 'right', 'right');
+ }
+ else
+ {
+ $cols = array(0, 100, 305, 375, 445, 515);
+ $headers = array(_('Category'), _('Description'), _('Quantity'), _('Demand'), _('Difference'));
+ $aligns = array('left', 'left', 'right', 'right', 'right');
+ }