Topic: Field alignment in View Print Txns

FA 2.3.25+

Banking & GL => View or Print Transactions => Show GL

The attachment here shows the standard output when the original gl/view/gl_trans_view.php is used.

Note that the values for the Reference and Date columns are left aligned.

Post's attachments

View_Prt_Txns_Before.png 7.5 kb, file has never been downloaded. 

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

Re: Field alignment in View Print Txns

Lines 40-41 of the file gl/view/gl_trans_view.php:

    label_cell($myrow["reference"]);
    label_cell(sql2date($myrow["tran_date"]));

can now be changed to

    label_cell($myrow["reference"], "nowrap align=center ");
    label_cell(sql2date($myrow["tran_date"]), "nowrap align=center ");

to center the Reference and Date field values.

Post's attachments

View_Prt_Txns_After.png 7.4 kb, file has never been downloaded. 

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