How can I apply formatting to a cell nowrap using db_pager

Hi @zia, have you you enabled Negative Inventory in Setup?

278

(11 replies, posted in Reporting)

in rep115.php Line # 234 shall be modified as below

         if (db_num_rows($res) == 0 && !$no_zeros)

279

(11 replies, posted in Reporting)

In rep206.php Line # 168 shall be modified as below

 if (db_num_rows($res) == 0 && !$no_zeros) 

and Line # 181 shall be commented, Because ignoring the loop here is not adding up the values of $curr_cr, $curr_db and $item variables.

Great @rafat that worked for me thanks.

When logged in as a User with Language as English, Writing Arabic in Fields like Customer Name shows ?????????
While being logged in as a User with language as Arabic accepts it.

Even any customer name added in Arabic as an Arabic User shows as ??????? when logged in as English User.

How can we use Arabic to input some fields while Logged in as Arabic User?

Hmmm. I was trying from Customer Transaction Inquiry. So there shall be an option to Fix the Water Mark in Company Preferences so that even from Customer Transaction Inquiry the WaterMark appears.

Can't find any watermark in this report

@joe, can you provide the download link of flatcolor2 theme

285

(12 replies, posted in Translations)

Hello @emiangel839 I just finished updating my arabic language using following steps. You also try them

1. Download POEdit
2. Add your Msg Strings like one below in PO file

msgid "Cost Centers"
msgstr "مراكز التكلفة"

3. Open PO file using this application
4. Validate your PO file
5. Compile PO file in MO file
6. Upload both files to the cloud server
7. Restart your Web Server (Apache).
8. Logout and then Login FA.

Note: If you are using a shared hosting then you won't be able to restart apache.

Facing this error on my live site

fopen(../tmp/ar_EG-2.4.1-3.pkg): failed to open stream: No such file or directory in file: /home/pakerp/web/pakerp.net/public_html/includes/remote_url.inc at line 81
/home/pakerp/web/pakerp.net/public_html/includes/remote_url.inc:81:    fopen('../tmp/ar_EG-2.4.1-3.pkg','wb')
/home/pakerp/web/pakerp.net/public_html/includes/packages.inc:381:    url_copy('http://anonymous:password@repo.frontaccounting.eu/2.4/languages/ar_EG-2.4.1-3.pkg','../tmp/ar_EG-2.4.1-3.pkg')
/home/pakerp/web/pakerp.net/public_html/includes/packages.inc:613:    get_pkg_or_list('language','ar_EG')
/home/pakerp/web/pakerp.net/public_html/admin/inst_lang.php:273:    install_language('ar_EG')
Cannot download 'http://anonymous:password@repo.frontaccounting.eu/2.4/languages/ar_EG-2.4.1-3.pkg' file.
/home/pakerp/web/pakerp.net/public_html/includes/ui/ui_msgs.inc:14:    trigger_error('Cannot download 'http://anonymous:password@repo.frontaccounting.eu/2.4/languages/ar_EG-2.4.1-3.pkg' file.','256')
/home/pakerp/web/pakerp.net/public_html/includes/packages.inc:382:    display_error('Cannot download 'http://anonymous:password@repo.frontaccounting.eu/2.4/languages/ar_EG-2.4.1-3.pkg' file.')
/home/pakerp/web/pakerp.net/public_html/includes/packages.inc:613:    get_pkg_or_list('language','ar_EG')
/home/pakerp/web/pakerp.net/public_html/admin/inst_lang.php:273:    install_language('ar_EG')
Package 'ar_EG' not found.
/home/pakerp/web/pakerp.net/public_html/includes/ui/ui_msgs.inc:14:    trigger_error('Package 'ar_EG' not found.','256')
/home/pakerp/web/pakerp.net/public_html/includes/packages.inc:646:    display_error('Package 'ar_EG' not found.')
/home/pakerp/web/pakerp.net/public_html/admin/inst_lang.php:273:    install_language('ar_EG')

While on the latest repo I can download it. Unable to find the reason

Yes, I am also at Fix. Will think over it and try then revert

Yes, this can be done manually. He was insisting that system shall be smart enough to handle this automatically smile

I have been put in a situation by one of my client (a chartered accountant).

Taking transactions of Item A.

Month 1: By Recording Sales and Purchases the Weight Avg Cost of Item A comes at 85.

Month 2: By Recording Sales and Purchases the Weight Avg Cost of Item A comes at 80.

Month 3: By Recording Sales and Purchases the Weight Avg Cost of Item A comes at 73.


Now client says that after reconciliation he found that he missed on Sales Entry of Month1. When he recorded that on backdate the system recorded the cost of inventory @ 73.

He says that by this the profit of Month1 is Over Valued. The system shall record the Back Dated Transactions on the cost of inventory prevailing in that date.

Can anyone help me how to combat this argument? Is it possible to record the back dated transactions the way he is suggesting and then adjusting the latest Average Cost accordingly.

Regards

290

(9 replies, posted in Reporting)

@apmuthu, thanks for this report. Very useful for me.

291

(7 replies, posted in Announcements)

@Joe, I hope 2.5 Alpha will also incorporate the Dashboard widgets developed by @notrinos?

292

(7 replies, posted in Announcements)

2.5 Alpha is anxiously awaited.

config.php would be useful if one FA instance is used for one Company only. Since FA has the power to operate multiple companies with one instance, putting in config.php will contradict with each other may be.

Instead of config.php, better option is to add in company_preferences.php I guess.

@BraathWate, Now I could catch the bug. It appears only when Sales Tax Account is added as GL Line Item. It is duplicating the row in the rep709, hence the input tax value is incremented.

Apart from this that it is a Bug, I am unable to understand that why one needs to enter Sales Tax Account in the GL Line Item. When Sales Tax is Auto Applied to the Item being invoiced then why to enter Sales Tax Account in GL Line Item?

However, since we can't stop any one to select this Account (for any given reason) so this bug needs to be Fixed.

Hello All,

I have tested on the latest repo without any customization suggested by @BraatWate.

My findings are that I can't find any bug related to #1 and #2.

Here is the screenshot.

You can also login to verify at

pakerp.net/fa242org
id: admin
pass: Pakistan1947

I can see both Inquiry and Report is showing the same results. And Input Tax is also included in both.

Regarding #3 I agree with @itronics but adding a check box is a good option.

I didn't test #4.

I have gone through the whole thread today. Unfortunately none of my Sites are using Purchase Taxes so I never hear of any bug from my clients. I will try to test it myself and shall revert.

298

(3 replies, posted in Report Bugs here)

@kvvaradha I am using the latest repo.
In the above thread you mentioned, your fix covers the transaction debiting customer through Journal Entry.

While my fix also covers the transactions crediting customers through journal entry.

Check the Screen Shot I attached.

299

(3 replies, posted in Report Bugs here)

The line # 242 shall be fixed as below

if (($trans['type'] == ST_JOURNAL && $item[0]) || $trans['type'] == ST_SALESINVOICE || $trans['type'] == ST_BANKPAYMENT)
            

Other wise Any Transaction crediting Customer through JE will not be contained when the report is viewed Show Balance = No

screen shot of the bug

300

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

@rafat, yes RepGen has issues.  The default report however produces pdf but later you are not able to do anything.

Some points were discussed earlier here but couldn't get solution to it.

However the line

$file =  $comp_path.'/'.user_company(). '/pdf_files/'.$id.'.pdf';

can be fixed as below

$file =  $SysPrefs->comp_path.'/'.user_company(). '/pdf_files/'.$id.'.pdf';