The changed order of the parameters may have altered functioning of your report.

There is no Premium FA.
Standard FA means "unmodified" source as available in the official repo.

Each user can have customised FA to suit their needs and some of which may have such features.

2,978

(9 replies, posted in Modules Add-on's)

Looks like the css should have wrap enabled (nowrap disabled).

Since you are using a customised dashboard, you will need to first see what differences there are between the original and your customised one when the customisation was done. The original one itself may have had the bugs and then got rectified in the mainstream itself. It is possible that the customisation may have been done in the core files as well.

The original Dashboard theme and extension are available in my repo.

2,979

(16 replies, posted in Reporting)

Is there something wrong with the function ymd2Date($year, $mon, $day) in excel_report.inc?

Try to echo ymd2Date(1985, 2, 24); and we get 31102.
Now check it out at Wolfram Alpha and we get 26th Feb 1985.

Excellent work @joe porting the PEAR/Perl code.
Further notes.

The files in @joe's post are for the FA 2.4.1 version and can be ported to v2.3.x as well.
Those who wish to test on FA 2.3.x can do so with the files in the attachment here.

Approvals based data entry not available in standard FrontAccounting as yet.

2,981

(6 replies, posted in Setup)

If there were some extensions installed earlier, their tables need to be considered as well. Assets was an extension in FA v2.3.x but is now it is an integral part of FA in v2.4.x.

2,982

(5 replies, posted in Reporting)

Report 201: Suppliers Balance
Report 205: Supplier Detail Listing
You can concatenate the supp_account_no and supp_name fields (from the suppliers table) in the said reports in the place of supp_name alone.

2,983

(5 replies, posted in Reporting)

The "Our Customer No:" maps onto suppliers.supp_account_no field. This is the CustomerID allotted to us in the Suppliers' books of account.

2,984

(16 replies, posted in Reporting)

Since the existing Workbook.php is small and provides for small sized old formal xls  files, let us implement the xlsx type format using any later excel library only for those reports that are over say 60K lines. Worksheets in the current instance need not be provided for each page. A new worksheet for every 60K lines may be the way forward without changing the library. This way both branches can benefit.

2,985

(16 replies, posted in Reporting)

For now let is put a check for > 65535 lines and a appendage to the file name that it is truncated.
We use the reporting/includes/Workbook.php's BIFF Writer format that is probably the oldest and most compatible across spreadsheet applications.

$maxsize = 7087104;

The above limits filesize in Workbook.php.

Is there a way to flow the balance to new worksheets?
Or better still output a set of excel sheets sequentially numbered and zip them up....

The original PEAR package that has this file with all inclusions expanded out is at:
https://github.com/pear/Spreadsheet_Excel_Writer

http://hotexamples.com/examples/-/Spreadsheet_Excel_Writer_BIFFwriter/-/php-spreadsheet_excel_writer_biffwriter-class-examples.html

https://fossies.org/dox/SimpleGroupware_0.745/classSpreadsheet__Excel__Writer__BIFFwriter.html

Other Excel Libraries:
C++ - https://www.codeproject.com/Articles/42504/ExcelFormat-Library
PHP - https://github.com/PHPOffice/PHPExcel

2,986

(16 replies, posted in Reporting)

FrontAccounting v1.1.0?
Where did you get it from?

Try using some filter to reduce the rows.

Alternatively try to generate the PDF first and then use some program / service to convert it to Excel 2007 format.

@joe: Should we not generate the xlsx (Excel 2007) format if there are more than 65535 rows?

2,987

(13 replies, posted in Report Bugs here)

It may be your PHP version.
Replace the line 211:

        foreach ($waapp->modules as $module)

with

        $wapp_modules = $waapp->modules;
        foreach ($waapp_modules as $module)

Use the cumulative values and print at the end of the report in the appropriate reporting/repXXX.php file.

Which version of FA are you using? Try - payment within 1 day.

2,990

(15 replies, posted in Setup)

Output is chosen as PDF or Excel type. If PDF is visible in browser, just print from there. Printers need to be available on your system or LAN with appropriate drivers installed. If you choose to setup your printer in the Print Profile in FA, then it will get automatically printed.

2,991

(6 replies, posted in Reporting)

Please see the versions in my online repo:

1. 8 Digits Arabic CoA

2. 4 digits Arabic CoA

3. en_US-new.sql - English US Standard 4 digit CoA.

The differences between 1 and 3 above are that VARCHAR(60) in the English CoA is VARCHAR(120) in the Arabic CoA for the following fields to accommodate multibyte characters:

bank_accounts.bank_account_name
chart_class.class_name
chart_master.account_name
chart_types.name

2,992

(6 replies, posted in Reporting)

Use the en_US-new.sql to start with. Gradually introduce the ar_EG-8digits CoA in stages, starting first with the normal translations and then work your way thru' to the 8 digit account codes. See when and where it breaks. Alternatively try to check the difference in the schemas between the two CoAs.

2,993

(25 replies, posted in Reporting)

Since the TB_PREF is already alaised in the FROM part, it is not necessary anywhere else.

2,994

(9 replies, posted in Report Bugs here)

When the backup file size becomes big, the php.ini's settings and script timeout values may begin to matter. What was the size of your last backup - with and without compression? Check to see if this is on the threshold of the php.ini and apache conf settings.

2,995

(6 replies, posted in Reporting)

Try to make a fresh installation and create the closing balance and create a new fiscal year and set it to be the active one and then close the earlier fiscal and then delete the earlier fiscal and then see if the trial balance for the current one tallies. It is imperative for the IDs of the fiscal years to be in chronological order.

Alternatively start with the current fiscal year and insert a journal voucher for the opening balance and then check if the trial balance tallies before beginning to enter the transactions for the current fiscal year.

2,996

(4 replies, posted in Reporting)

Which version of FA are you using?
Did you add the said fields to the appropriate tables?
If it is FA v2.3.25+, then see the wiki article on adding data into generic text fields like Description or memo/text fields and then parse them from there. This way upgradation of DB issues will not arise.
Another Wiki article deals with adding columns to tables.

Thanks @joe, @boxygen.

Committed to my repo after synching the whitespaces first so that the actual changes alone can be visible clearly.

2,998

(9 replies, posted in Reporting)

Another possibility (Comment 87) is to have 'REP_WINDOW' replaced with '_blank' avoiding the need to comment it out.

2,999

(9 replies, posted in Reporting)

Each time you have a popup of a PDF, just save it as a file and then open each in your PDF Viewing Application in separate windows and compare them.

Thanks for the insight @joe.

The WriteOff has both a positive and negative entry pair for quantity: $credit_line->qty_dispatched in the database. Restored code.