Yes I figured that out and filed Bug 1906 since the prices_dec field in the #_users table was not being respected for displaying the Unit Cost in the Inventory Valuation Report (rep301.php) as seen from the attachement in the first post in this topic for one item that has 10 decimals in it's Unit Cost.
5,951 11/21/2012 04:35:06 am
Re: &$dec deprecated - report 301 bad dec (7 replies, posted in Reporting)
5,952 11/20/2012 05:25:39 pm
Re: &$dec deprecated - report 301 bad dec (7 replies, posted in Reporting)
Attempting to fix includes/current_user.inc by replacing Line 310:
function price_decimal_format($number, &$dec)
with
function price_decimal_format($number, $dec)
by omitting the pass by reference, the Unit Cost column now has no decimals.
Even any forced value of $dec in Line 312 does not provide any decimals at all in the above attempted fix.
5,953 11/20/2012 05:13:11 pm
Re: Install/Activate Extension, Themes, Chart of Accounts no working (18 replies, posted in Setup)
C.po
What happened on browser?
5,954 11/20/2012 04:10:55 pm
Topic: &$dec deprecated - report 301 bad dec (7 replies, posted in Reporting)
FA v2.3.13 Mer 3109
File: reporting/rep301.php lines 148 to 158 place the individual detail entries for the Inventory Valuation Report. The decimal formatting is not respected as the deprecated
&$dec
is used.
Lines 310 - 312 of includes/current_user.inc:
function price_decimal_format($number, &$dec)
{
$dec = user_price_dec();
clearly do not take in the $dec from the function parameter.
This results in the kind of multi-decimal output in the report snapshot attached.
5,955 11/20/2012 04:04:50 pm
Re: Unable to do work after database restore (6 replies, posted in Setup)
Check the SQL schema diffs between before and after backup/restore
5,956 11/20/2012 04:02:10 pm
Re: Install/Activate Extension, Themes, Chart of Accounts no working (18 replies, posted in Setup)
lang\new_language_template\LC_MESSAGES\empty.po
needs to be copied to
lang\C\LC_MESSAGES\C.po
Beware of case sensitivity and all paths are relative to the FA folder in the webroot.
This is probably specific to Win7 installs.
5,957 11/20/2012 11:51:14 am
Re: Install/Activate Extension, Themes, Chart of Accounts no working (18 replies, posted in Setup)
Copy over the empty.po as C.po.
Create a faillog.php file in the webroot.
It is most certainly a permissions issue on the folders.
Which versions of XAMPP / Uniform server are you using?
5,958 11/20/2012 11:47:40 am
Re: New version 2.3.13 (5 replies, posted in Setup)
Refer Forum Post for both the changed file sets (v2.3.12 to v2.3.13 and from v2.3.13 to Mercurial 3109) and overwrite your existing files.
There are no db changes.
Just check the difference between your config.default.php and your config.php file for newer options and update config.php accordingly. Use WinMerge2 for the job if you're on Windows.
5,959 11/20/2012 11:40:37 am
Re: FA v2.3.13 released. (6 replies, posted in Announcements)
Since the release of FA v2.3.13, a few fixes have been made especially those that deal with module installation requiring sql updates. Attached is the Mercurial Build 3131.
5,960 11/18/2012 06:34:01 pm
Re: We want to configure company documents as we want ready to pay (1 replies, posted in Jobs wanted/offered, non-free offers)
Weight can be a unit of the item and it will be shown in the invoice if the price of the item is based on the Weight then it would appear in the Quantity column.
5,961 11/18/2012 06:32:11 pm
Re: How to handle coupons? (1 replies, posted in Accounts Payable)
Create a new Currency called Coupon (CPN) and set the exchange rate!
5,962 11/18/2012 02:27:04 am
Re: Customers can place there own order ? (2 replies, posted in Setup)
An Access role for the Customer can be adjusted if necessary and a user created and assigned the said role. Placing an order but not being able to edit the order after it has been delivered / invoiced is the need that must be ascertained of role's functionality before trusting it.
5,963 11/18/2012 02:25:43 am
Re: Pie and Donut Graphics on Report not displayed properly (3 replies, posted in Reporting)
Thanks Joe, it would have taken me quite a while fathoming the logic and code hierarchy to set this one right. The fix has come extremely fast!
5,964 11/18/2012 02:23:39 am
Re: Prices on Delivery Notes? (15 replies, posted in Setup)
There is no need for such code at all in general. The packing slip will suffice - only the difference in title exists.
Maybe a title such as "Packing Slip / Delivery Order" instead of just "Packing Slip" is what MacPhotoBiker desired.
5,965 11/18/2012 02:20:15 am
Re: FA v2.3.13 released. (6 replies, posted in Announcements)
Please refer the Wiki page.
5,966 11/17/2012 04:34:22 am
Topic: Pie and Donut Graphics on Report not displayed properly (3 replies, posted in Reporting)
Refer FA Bug 1902.
Only the Pie and Donut do not print correctly.
Server - Apache, PHP 5.3.3.7 on Debian 6.0.6
Client - WinXP
Browser - IE 8 / FF 16.0.2
Any Reporting Menu -> BS and GL -> Balance Sheet -> Graphics -> Select each Graphic in turn.
The attachment contains the graphics screenshots for each graphic choice for the same data.
5,967 11/16/2012 05:24:52 pm
Re: Info line on Invoices (7 replies, posted in Wish List)
Thanks carmelr, changed it in the Wiki as:
ALTER TABLE `0_sys_prefs` CHANGE `value` `value` TEXT NULL;
The code was taken from SQLyog's standard history output.
5,968 11/16/2012 04:53:54 pm
Re: Report Generator (19 replies, posted in Modules Add-on's)
If the errors have to do with PHP v5.3 in the PDF generation then Mercurial ChangeSet 3107 fixes it. This fix is after the release of v2.3.13.
5,969 11/16/2012 04:44:14 pm
Re: PHP 5.3 compatibility ereg to preg_match (2 replies, posted in Reporting)
Thanks Janusz. That was fast.
Hope all the strings are in empty.po - there are many references to the string "#" - lines 211 to 244. It is probably a substitute for "Sl.No." - Serial Number - in column headings in some or all the files listed.
The v2.4 alpha needs to get synched with the current default version.
5,971 11/16/2012 04:11:48 pm
Re: Prices on Delivery Notes? (15 replies, posted in Setup)
I was addressing the temp fix by twitty1437.
The Packing Slip does fine.
Looking up the code for this issue enlightened me on the report code format that needs to be Wikied.
5,972 11/16/2012 02:38:31 pm
Topic: PHP 5.3 compatibility ereg to preg_match (2 replies, posted in Reporting)
Line 3121 in reporting/includes/Workbook.php
if (ereg("^\"[^\"]{0,255}\"$", $this->_current_token)) {
may need to be changed to preg_match for PHP 5.3 compatibility.
5,973 11/16/2012 02:12:59 pm
Re: Prices on Delivery Notes? (15 replies, posted in Setup)
Can have an option in the report request form to print delivery note without prices.
Also may need to blank out the $DisplayDiscount as well.
Instead of value being 0.00, it can be blank and skip the computations it uses.
5,974 11/16/2012 01:41:40 pm
Re: Required Delivery Date (10 replies, posted in Accounts Payable)
Could be a cache / session issue. Whenever any config setting / preference is changed it is advisable to clear out the cache and login into a new session.
Also, if any js setting changes (like date format, etc), empty out the company/X/js/*.js files where X is the company number.
5,975 11/16/2012 01:12:27 pm
Re: FA v2.3.13 released. (6 replies, posted in Announcements)
There are 50 altered files from v2.3.12 to v2.3.13 which are attached in this post.
There are no database changes keeping with policy on minor release versions.
There are a few new and / or expanded options in config.default.php that may need to be added to the existing config.php for those upgrading. Backward compatibility has been ensured even if not done, but to leverage new / expanded functionality, it is advisable to include them.
This release is Mercurial Changeset 3106 of the current default branch.