301

(16 replies, posted in Announcements)

Hello Guys,

This is an old topic and doesn't work any more, due to several punbb updates.
You can send a private message by:
Select the user.
In the user account, select Contact Information: PM: Send a private message.

Joe

302

(26 replies, posted in FA Modifications)

Hello @rafat.

I enclose 2 files dashboard.inc and class.graphic.inc. Will you replace the two files and try again.

I will not commit before we are satisfied.

/Joe

303

(4 replies, posted in Announcements)

Announcement

This is a 2.4.10 release, which is mainly bugfix release, but also contains a couple of improvements.

The Graphics Engine (../reporting/includes/class.graphic.inc, has been rewritten to also include SVG (Scalable Vector Graphics).
This also improved the option to show a new type, Splines (A curve that connects two or more specific points, or that is defined by two or more points. A prittier line graph).
Another new type, Half Donut is also created, with the option to place a value inside. This is also the fact with the old type Donut.

Developers, interested in using this engine in own modules can read a briefly documentation in front of class.graphic.inc.

This new Graphics Engine also resulted in a new and better Dashboard in the core.
The work force is done inside the /includes/dashboard.inc. If you place a dashboard.inc in a theme, The /admin/dashboard.php will use this dashboard.inc instead.

This release should also be PHP 8 compatible. The following versions has been tested: 8.0.0 and 8.0.7.

Please report any bugs/problems found via our Mantis Bugtracker at http://mantis.frontaccounting.com.

Download instructions

In Sourceforge FrontAccounting (http://sourceforge.net/projects/frontaccounting), select
Files -> FrontAccounting 2.4 ->2.4.10.

For Windows users select the zip file. For all other users select the tar.gz file.

Common

  • Compatibility fix for commit on 2020-09-28 (php < 5.4)

  • Fixed volatile error on first installer page show.

  • Call to undefined count_array() in pdf_report.inc. Fixed.

  • Wrong security area passed in generalledger.php. Fixed.

  • Bug 5322: Login/Timeout: Added message on failed login attempt.

  • Bug 5326: Install Languages/Extensions/Themes/CoA: fixed warnings during module installation.

  • Bug 5352: Missing global declaration in reset_form() in attachments.php. Fixed.

  • PHP 7.4 Bugs in some reports and tags_db.inc fixed.

  • Fixed javascript error appearing on themes using SVGElements.

  • Function get_magic_quotes_gpc() is deprecated php7.4. /install/isession.inc. Fixed.

  • Feature 5388: Print Documents list gets too long. Fixed by default 180 days in company setup.

  • Fixed a php8 deprecation no required parameters after optional parameters in function.

  • PHP 8. Fixed undefined array key warnings.

  • New dashboard and Graphics Engine Class, that also includes the SVG Vector Graphics for the core. Much prettier graphics.

Sales

  • Bug in Customer/Supplier Payments Recording. Fixed.

  • Bug 5360: Spelling mistake in ../sales/allocations/customer_allocate.php. Fixed.

  • Payments & Deposits: Rounding problem. Fixed.

  • Bug 5197: Slightly changed email subject for sales invoice to avoid false marking by spam filters.

  • Bug 5245: Added debtors_master.debtor_ref to get_customer_trans() results

Purchasing

  • Purchase Order: regression bug introduced in 2.4.9 fixed.

  • Bug 5310: database error in supplier invoice edition if current fiscal year is missing. Fixed.

  • Bug in Customer/Supplier Payments Recording. Fixed.

  • Payments & Deposits: Rounding problem. Fixed.

Items and Inventory

  • Item Adjustments Note: disable rounding of Unit Cost. Fixed.

  • Wrong permissions for Inventory Purchasing Report (rep306.php). Fixed.

  • Bug 5460: Inventory valuation report does not discard zero quantity items for items with decimal quantity units. Fixed.

Dimensions

  • Bug 5351: dim dim2 not defined in lines 623, 627 of purchasing/includes/db/invoice_db.inc. Fixed.

Bank and General Ledger

  • Revenue/Cost Accruals: bad input focus after error. Fixed.

  • GL Account Transactions report shows html code on Person/Item if PT_WORKORDER. Fixed.

  • Undefined variable error in Bank Transfer. Fixed.

  • Bug 5310: databse error when on bank payment/transfer edit if current fiscal year is missing. Fixed.

  • Bug 5332: Tax Report: Multiple entries for a single tax line. Fixed.

  • Bug 5429: Balance Sheet report sometimes prints lines with zero amounts. Fixed.

CoA Fiscal Year discussion moved here.

Yes I can use sprintf routine instead. I forgot to do that. Thanks.

Joe

We will also make the this release compatible with php 8.0.0 and 8.0.7.

The 2.4.10 will be released next week.

Joe

Hello. I am planning to commit the new dashboard and graphics engine class, that also includes the SVG vector graphics for the core. Much prettier graphics.

At first I was planning to wait until release 2.5, but while there are no database changes, we can as well commit it to a release 2.4.10. A release that could be done this or next week.

I will syncronize this with Janusz and let you know.

Joe

Oops. This has been fixed and committed to stable repo.

A fixed file can be downloaded here .

/Joe

Oh Boy, we missed this in 2 files, where the Prices/Amounts decimals was hardcoded to 2 decimals. In all other places this were set correctly.

This has now been fixed and committed to stable repo.

If you need these 2 files they can be downloaded here:

https://sourceforge.net/p/frontaccounti … s_cart.inc
https://sourceforge.net/p/frontaccounti … ets_db.inc


/Joe

309

(21 replies, posted in Reporting)

Oops, this was a side-effect. @mark0300, do you have a solution to this.
I am in a very business periode, so don't have time for fixing.
Maybe any of you Senior Members can help. Please.
I will then commit the fix asap. Thanks in advance.

/Joe

A feature by @oakstreet1, 5388, on Mantis has been implemented:

This is about document list getting too long in multi printouts. If you have a severe amount of documents every month, you can now set a range value in Company Setup, right panel at bottom. The default value is 180 days.

But you can of course increase or decrease the value to suit your need. 6 months is quite a good range.

You can always printout a single dodument from the inquiries.

/Joe

Hello Guys,

@oaktreet1 has put a very good feature on Mantis. It is called:

0005388: Print Invoices list gets too long

Please have a look at this feature on mantis.frontaccounting.com. I agree with him, this is a very good idea.
But it might even be a good idea to let this be all documents, and we could put an option in Company Setup that says something like this:
Max day range for printing documents=180, or something like that. This is about 6 months. If you need an older document you can always go into the Inquiries and select an old document for printing here.

What do you guys think about this?

/joe

I am just waiting for somebody else will test this, please. Then I will commit the changes. So please try @peacecop kalmer's solution.

/Joe

This topic has been fixed and committed to stable repo. Thanks @notrinos for reporting this.

/Joe

Hello again,

I see that we already have a money_format that has been used for OS Win in /includes/current_user.inc on line 369:

// function money_format doesn't exist in OS Win.
if (!function_exists('money_format'))
{
    function money_format($format, $number) 
    {
        return price_format($number);
    } 
}    

All windows users have been using this routine for years without problems. Maybe we should include the function here suggested by @PaulSipley instead. I see that this function is listed in PHP.NET as an alternative to money_format. There is also another slightly better version we can use.

What do you think?

/Joe

We could use the NumberFormatter instead, but it is handling it differently. I wonder how important this is?
We could simply skip the currency formatter, I guess. What do you guys think? Right now it is not used seriously. We could use the number_format2, like we do normally.

/Joe

Hello guys,

I am not sure. I like the grayed versions in the core as is. This means that the report exists, but I am not allowed to see it. In my opinion this is not a problem. I know my place in the organization, so I don't mind.

I understand the question, but not sure if we should change this.

/Joe

I understand the need for this report for some sompanies, but please don't change the original report in the core. This is because this has something to do with the jurisdictions.
If you need to create this branch/customer balance report, please create in in the company reporting folder.

/Joe

Willdo. Committed to stable repo.

Joe

I have asked Janusz to look into this item. Hopefully he will respond asap.

Joe.

320

(21 replies, posted in Reporting)

This has been fixed and committed to stable repo.

A fixed file can be downloaded on Mantis.

Thanks for  reporting this smile

Joe

Will consider this.

Joe

This has now been fixed and committed to stable repo.

The fixed file can be downloaded here.

/Joe

Thank you guys for solving this. Will fix and commit the changes tonight.

Joe

Committed to stable repo.

/Joe

Thanksn@apmuthu

I will fix this asap.

Joe