X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep108.php;h=b896b73b46ca72123ca4a1b874dfb7687bca47a5;hb=6f8094c63f914fce9fcfd02780c452d712a2dba3;hp=d5b1c022b480f231ef86745fe2d90541630cb73b;hpb=08e465dd87f4929fcd07ba944c4451bc3437f2b3;p=fa-stable.git diff --git a/reporting/rep108.php b/reporting/rep108.php index d5b1c022..b896b73b 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -107,10 +107,10 @@ function print_statements() $rep->filename = "Statement" . $myrow['debtor_no'] . ".pdf"; $rep->Info($params, $cols, null, $aligns); } - $rep->Header2($myrow, null, null, $baccount, ST_CUSTPAYMENT); + $rep->Header2($myrow, null, null, $baccount, ST_STATEMENT); $rep->NewLine(); $linetype = true; - $doctype = ST_CUSTPAYMENT; + $doctype = ST_STATEMENT; if ($rep->currency != $myrow['curr_code']) { include($path_to_root . "/reporting/includes/doctext2.inc"); @@ -142,7 +142,7 @@ function print_statements() $rep->TextCol(7, 8, $DisplayNet, -2); $rep->NewLine(); if ($rep->row < $rep->bottomMargin + (10 * $rep->lineHeight)) - $rep->Header2($myrow, null, null, $baccount, ST_CUSTPAYMENT); + $rep->Header2($myrow, null, null, $baccount, ST_STATEMENT); } $nowdue = "1-" . $PastDueDays1 . " " . $doc_Days; $pastdue1 = $PastDueDays1 + 1 . "-" . $PastDueDays2 . " " . $doc_Days; @@ -163,7 +163,7 @@ function print_statements() for ($i = 0; $i < 5; $i++) $rep->TextWrap($col[$i], $rep->row, $col[$i + 1] - $col[$i], $str2[$i], 'right'); if ($email == 1) - $rep->End($email, $doc_Statement . " " . $doc_as_of . " " . sql2date($date), $myrow, ST_CUSTPAYMENT); + $rep->End($email, $doc_Statement . " " . $doc_as_of . " " . sql2date($date), $myrow, ST_STATEMENT); } if ($email == 0)