Allowing the Tax Report to be printed to Excel/OO Calc
[fa-stable.git] / reporting / includes / excel_report.inc
index f9065cea67bfe0dca5b1d1bb5d25e98362619292..4f8dbc6a2e10907c41e0e5b2f313a933b6f3c0ee 100644 (file)
@@ -70,7 +70,7 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
                $this->endLine = 760;
                $this->fontSize = $fontsize;
                $this->oldFontSize = 0;
-               $this->y = 1;
+               $this->y = 0;
                $this->currency = '';
                $this->excelColWidthFactor = $excelColWidthFactor;
                $rtl = ($_SESSION['language']->dir == 'rtl');
@@ -236,7 +236,6 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
 
        function Header()
        {
-               $this->y = 0;
                $tcol = $this->numcols - 1;
                $this->sheet->setRow($this->y, 20);
                for ($i = 0; $i < $this->numcols; $i++)