Topic: Bank Statement - no space between # and Reference column

I'm on rev. 2.3.15 of FA.  The index on my supplier payments has just gone to 4 digits and now there is no space between the #  column and the Reference column.  There is still plenty of space between the Reference and Date columns so I'm wondering if there is a way I could bump the Reference column over by a space or two to fix this.

Thanks!

2 (edited by apmuthu 09/06/2016 02:29:55 am)

Re: Bank Statement - no space between # and Reference column

The Banking -> Bank Statement report file is reporting/rep601.php. Change it's line 75 (in current version - check for your version):

    $cols = array(0, 90, 110, 170, 225, 350, 400, 460, 520);

to:

    $cols = array(0, 90, 120, 170, 225, 350, 400, 460, 520);

Each element in the above array represents the starting character column for the font used in sequence for the various headings in the array $headers assigned thereafter.

@joe: Actually, this can be made the standard (as appropriate for other reports as well) since a 4 digit transaction number will be quite common.

Post's attachments

Before_After_Screenshot_rep601.zip 16.2 kb, 5 downloads since 2016-09-06 

You don't have the permssions to download the attachments of this post.

Re: Bank Statement - no space between # and Reference column

This has now been committed to unstable, 2.4 RC1. I don't think back port is needed.

/Joe

4 (edited by apmuthu 09/06/2016 09:54:57 am)

Re: Bank Statement - no space between # and Reference column

@joe: Thanks. No backport needed as too many reports change.

Can refer this commit in the wiki for those with such edge cases in FA 2.3.