X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep701.php;h=65211df69e36a05b8cb1c12b3a5ef23495efd6c3;hb=24fb0a10f96e0ffba9b877c662ae2bf9dc79256b;hp=d03942ffadbbf9b01c45c0b363da760c1375f941;hpb=40da959b32eb27fcb0422207a284eed13cc27d7e;p=fa-stable.git diff --git a/reporting/rep701.php b/reporting/rep701.php index d03942ff..65211df6 100644 --- a/reporting/rep701.php +++ b/reporting/rep701.php @@ -28,7 +28,7 @@ include_once($path_to_root . "/gl/includes/gl_db.inc"); function display_type ($type, $typename, &$dec, &$rep, $showbalance, $level) { $printtitle = 0; //Flag for printing type name - + //Get Accounts directly under this group/type $result = get_gl_accounts(null, null, $type); while ($account=db_fetch($result)) @@ -40,7 +40,7 @@ function display_type ($type, $typename, &$dec, &$rep, $showbalance, $level) for ($sp=1; $sp<=$level; $sp++) { $prefix .= ' '; - } + } $printtitle = 1; $rep->row -= 4; $rep->TextCol(0, 1, $type); @@ -63,7 +63,7 @@ function display_type ($type, $typename, &$dec, &$rep, $showbalance, $level) $rep->AmountCol(3, 4, $balance, $dec); $rep->NewLine(); } - + //Get Account groups/types under this group/type $result = get_account_types(false, false, $type); while ($accounttype=db_fetch($result)) @@ -104,9 +104,8 @@ function print_Chart_of_Accounts() include_once($path_to_root . "/reporting/includes/pdf_report.inc"); $orientation = ($orientation ? 'L' : 'P'); - $dec = 0; - $cols = array(0, 50, 300, 425, 500); + $cols = array(0, 60, 300, 425, 500); $headers = array(_('Account'), _('Account Name'), _('Account Code'), _('Balance')); @@ -143,4 +142,3 @@ function print_Chart_of_Accounts() $rep->End(); } -?> \ No newline at end of file