601

(27 replies, posted in Installation)

@ tom - I guess if you do the missiby step.  It will fix the db issue.

602

(4 replies, posted in Setup)

That comes with recent year. You can get from 2019 or 2018

603

(4 replies, posted in Setup)

From FA fiscal years. You can't skip years and months or even days in fiscal year creation. So create all those years from. 2014 to till and then close the unused years and then delete it.

Or simply access the database and change the years from fiscal years table

604

(27 replies, posted in Installation)

Than its great to hear

605

(27 replies, posted in Installation)

I wrote the things. But I forget the reason. But there is some program helps to move from here. Its good to upgrade the database with 2.3 to 2.4

Some new updates In PHP , due to that core of FA is also updated the extension hooks. Check your extension supports the new thing. Most probably the function __construct() may be needs to be updated.

607

(14 replies, posted in Setup)

Unfortunately we can't recover the data from MySQL server once its lost or corrupted.

Always try an automatic backup script. Which will keep a copy of your data's safe. Everyday automatic backup is best to use. Those who are using hosting servers and Linux. They can use cron job to do the regualr backup.

But for windows, we can't use cron job to backup. But you can run a program to take backup by one click operations.

608

(12 replies, posted in Translations)

Try hard refresh for few times. While refreshing if you see those words are translated and after next refresh it disappears. You should recompile the Mo file again before that validate the po file for errors . If you see errors or warnings. Just fix them and translate it.

Even after several Refresh, you didn't see the translation then the problem is in the FA gettext function . _("Inventory")

Sometimes those words in po file may be commented like # infront of the msgstr or msgid. Check them carefully.

I have updated my theme here in my site to available for download and try it from users. Those who wish to try the theme. They can download it from here

610

(22 replies, posted in Accounts Receivable)

Thank you @apmuthu. The balance can be listed in another page with listing of sales and filter it to see the reports. Will make font changes as well.

611

(22 replies, posted in Accounts Receivable)

I am trying to make POS for FA. You can check here

Kvcodes POS  and I am trying to make fully working one. Almost ready and I am welcoming feedbacks.
Username : demo
Password : 123456

612

(4 replies, posted in Wish List)

Using SMTP elaborate the service with emailing the generated PDF. However this is not fulfill without email Templates based in types and PDF.  So we need to include email Templates and SMTP together we can go with phpmailer or swiftmailer.

Yes you can see it from journal inquiry or GL inquiry. It has memo. With opening balance

joe wrote:

I think we will make a poll when @notrinos has presented his new theme.

Simply let the audience decide which should be candidates. We usually have 3 themes in the core, but the other can be set as extensions. I guess there are several old themes that can be taken away from the extensions.

The best one will be the default theme. Democratic, right?

/Joe

Any further updates related to this topic.

615

(3 replies, posted in Banking and General Ledger)

The round2 function helps to setup our decimal precision for amounts and prices.  So, here they are using to calculate the allowed rounding value with a limit of decimal points.

First you need to input the from variable inside the cart class . There after extend to use it in other object files. Its simple php class variable creation

617

(3 replies, posted in Report Bugs here)

This thread has already predicted the issue and updated it on repo. May be you can get it from unstable repo .

618

(2 replies, posted in Wish List)

As we are recording the time of user login as well.  But we are not showing the time in "Users" Page.

Shall we show it with help of the below code.

 
$last_visit_date = sql2date($myrow["last_visit_date"]). ' ' .date('h:i a', strtotime($myrow['last_visit_date']));

by changing it on /admin/users.php line. No: 136 (Approx)

From the Customer balances report, we have a function get_open_balance

While calling this, we have 3 parameters, but in definition, we have just 2 parameters.

 function get_open_balance($debtorno, $to) { 

And

 $bal = get_open_balance($myrow['debtor_no'], $from, $convert);

Here the $convert   is unnecessary to pass it.

So just fix it like this.

 $bal = get_open_balance($myrow['debtor_no'], $from);

620

(1 replies, posted in Installation)

You shouldnt goto new installation. Just reconfigure the config_db.php with your  previous  database.  Keep the config.php and installed_extensions.php and try it.

If possible  enable debugging mode get us error what you face during installation

621

(3 replies, posted in Reporting)

The functionality  not available.  But you can program it.  It's likely similar to the manufacturing function and issue The material to the project.

622

(13 replies, posted in Report Bugs here)

@joe ,sorry for my mistake.

the code should be like this.

if ($order->fixed_asset)
            stock_disposable_fa_list_cells(null,'stock_id', null, _('[Select item]'), true, $order->line_items);
        else
             sales_items_list_cells(null,'stock_id', last_sales_order_detail($order, 'stk_code'), false, true, true);
        if (list_updated('stock_id')) {            
            $Ajax->activate('price');
            $Ajax->activate('units');
            $Ajax->activate('qty');
            $Ajax->activate('line_total');
        }
            

By mistake i put in else part of list_updated.

623

(1 replies, posted in Report Bugs here)

function get_sales_child_documents has count function, may be it has to be rewritten with count_array

also one more within the file

624

(13 replies, posted in Report Bugs here)

it looks like this now.

 
if ($order->fixed_asset)
            stock_disposable_fa_list_cells(null,'stock_id', null, _('[Select item]'), true, $order->line_items);
        else
        if (list_updated('stock_id')) {
            sales_items_list_cells(null,'stock_id', null, false, true, true);
            $Ajax->activate('price');
            $Ajax->activate('units');
            $Ajax->activate('qty');
            $Ajax->activate('line_total');
        } else
             sales_items_list_cells(null,'stock_id', last_sales_order_detail($order, 'stk_code'), false, true, true);

But it should be like this

if ($order->fixed_asset)
            stock_disposable_fa_list_cells(null,'stock_id', null, _('[Select item]'), true, $order->line_items);
        else
            sales_items_list_cells(null,'stock_id', null, false, true, true);
        if (list_updated('stock_id')) {            
            $Ajax->activate('price');
            $Ajax->activate('units');
            $Ajax->activate('qty');
            $Ajax->activate('line_total');
        } else
             sales_items_list_cells(null,'stock_id', last_sales_order_detail($order, 'stk_code'), false, true, true);

The items_cart.inc looks like this function

function check_qoh($location, $date_, $reverse=false)
    {
        global $SysPrefs;

        $low_stock = array();

        if (!$SysPrefs->allow_negative_stock() || is_fixed_asset($line_items->mb_flag))
        {
            foreach ($this->line_items as $line_no => $line_item)
                if (has_stock_holding($line_item->mb_flag) || is_fixed_asset($line_item->mb_flag))
                {
                    $quantity = $line_item->quantity;
                    if ($reverse)
                        $quantity = -$line_item->quantity;

                    if ($quantity >= 0)
                        continue;

                    if (check_negative_stock($line_item->stock_id, $quantity, $location, $date_))
                        $low_stock[] = $line_item->stock_id;
                }
        }
        return $low_stock;
    }

But here  is the bug,

if (!$SysPrefs->allow_negative_stock() || is_fixed_asset($line_items->mb_flag))

Probably the is_fixed_asset($line_items->mb_flag) is invalid to put it here. we already checking that inside for loop.  Also the object $line_items->mb_flag is not available.  so change the function like this.

function check_qoh($location, $date_, $reverse=false)
    {
        global $SysPrefs;

        $low_stock = array();
        if (!$SysPrefs->allow_negative_stock())
        {
            foreach ($this->line_items as $line_no => $line_item)
                if (has_stock_holding($line_item->mb_flag) || is_fixed_asset($line_item->mb_flag))
                {
                    $quantity = $line_item->quantity;
                    if ($reverse)
                        $quantity = -$line_item->quantity;

                    if ($quantity >= 0)
                        continue;

                    if (check_negative_stock($line_item->stock_id, $quantity, $location, $date_))
                        $low_stock[] = $line_item->stock_id;
                }
        }
        return $low_stock;
    }

Hope that fixes the undefined noin-object error