Delivery against sales order fixed (merge bug).
[fa-stable.git] / reporting / rep707.php
index d38d3c3326f87392e7f24eb06b3a1825da98abd2..fe3efeddb8d8cc64d5e6bd19276307f29ca0111a 100644 (file)
@@ -257,7 +257,8 @@ function print_profit_and_loss_statement()
 
        $rep = new FrontReport(_('Profit and Loss Statement'), "ProfitAndLoss", user_pagesize(), 9, $orientation);
     if ($orientation == 'L')
-       $rep->recalculate_cols($cols);
+       recalculate_cols($cols);
+
        $rep->Font();
        $rep->Info($params, $cols, $headers, $aligns);
        $rep->NewPage();
@@ -344,4 +345,3 @@ function print_profit_and_loss_statement()
        $rep->End();
 }
 
-?>
\ No newline at end of file