For minior changes  and a feature which is useful to the core and developer thinks to give it free. There is no problem. But this one he promised to pay and cheat developers. It's necessary to inform other developers to save from evil minded clients. We definitely encourage the other clients and their requests for free or paid. If developer and client agrees to make it work absolutely it's good. But For bad developers and bad clients should be reported to prevent abuse from the other good people in the community.

@apmuthu, he is not writing to dispute the losses that he incur with him. He is trying to create awareness to other developers  that they shouldnt affect in future. And the forum is not only discuss about the existing features and bugs. It also talks about jobs. So it's good to make the other developers to know a wrong person. If an user mind to talk to the developer because of this post means he is also a scammer. Such an user is not necessary for developers like him.

An user post more than 50 posts or topics he can be senior member. That doesn't mean he is a loyal.  He may be stealing the work of developers not the forum. A forum should help to protect the developers and users. This way the users and developers feel secure to start using FA as their software. We should encourage both developers and users. A community truely provides good platform for the developers, definitely it will grow well.

528

(2 replies, posted in Installation)

I think you are trying to access it from your mobile or mobile internet based devices. 

It occurs because these devices won't keep the ip address which keep getting changed and not match with previous session.

Try this

Open /includes/sessions.inc:

Find preventHijacking function with it. Comment the second if statement like this.

//if ($_SESSION['IPaddress'] != $_SERVER['REMOTE_ADDR'])
        //    return false;

529

(11 replies, posted in Setup)

Just goto Setup->Create/Update Companies.  There you can able to create new companies.  Whether you can create new company in same database or in new database .

@Joe I tired in another way. From config.php we will save the default theme in a constant  and then from sessions.inc we will check whether the theme login.php exist or not. If it exist, we can require that file. Otherwise it will require the access/login.php. it's good alternative i feel. And you can try yourself whether it works or not.

There is no need to create new functionality for handling functions from modules. The existing program already checks the modules directory like this

/modules/module_name/reporting/repXXX.php and if anything is there and it was linked in reports_custom.php. that will be replacing with existing core reports.

With that it's good to change the rep files.  And regarding the headers also it's connecting from modules directory and works properly.
Hope nothing to research more about it.

Actually I was trying to make few things.

*login files from themes directory
*hooks for custom fields in different area
*smtp for emails
* nicedit for textareas with on and off option
* bring salesman column in sales orders and debtor trans tables and alter queries to work on
* my batch functionality which I have done already.


And I will make an unofficial version for users to get it.

@apmuthu, we created separate header file for each templates and made some changes inside the rep107, rep111, rep109 as well. and also all of these files we put it inside our module to take up here. Nothing touched in the core.

That's right. but he wants to speak with the users.

534

(4 replies, posted in Items and Inventory)

You are right, without FA core support, this extension cant fullfil the client needs. The core has to be adjusted to take fields into the system to make it work from the existing function itself.

So far I have seen, very less clients are active in FA  forum. Most of them here are developers and service providers who sell service to others.

And very less people are active here. May be your can contact the service providers of FA and speak with them.

536

(4 replies, posted in Items and Inventory)

Hi.
If it's like dimensions means you can use the dimensions.  If it's items variant like units, and categories. we need to add it in items page and also separate page to add edit colours and size.  And also we habe to bring this inside sales and purchase as well as manufacturing to use it perfectly..

Here I have added the details of my templates to test it as well as change the templates. We have 4 templates now. And still we are adding 3 more soon.

https://www.kvcodes.com/module/premium-pdf-templates-frontaccounting/

Yes,  it has to be updated with more than 30 core files. And during the FA update, all these codes will be vanished. Because my codes are all directly modified the core

539

(6 replies, posted in Announcements)

This is really very cool and good tutorials. Those who are seeking alternative tutorial for FA.  They can follow this. @joe just update the wiki with third party tutorials link.

540

(6 replies, posted in Announcements)

That's nice to hear.

Is it developer tutorials ?

or

Is it user Tutorials ?

And is it covering all the country wide examples ?.

Describe more about the tutorial topics.  So users can get  idea of how it would be going to help them.

Without php knowledge it's hard for you to do this update successfully. So check with the person who helped you initially or find someone from the forum and make him to update it for you. 

Always keep backup before make changes.

542

(3 replies, posted in Reporting)

Good to hear it.

Sorry i have not brought this code online sofar. Let me takeout the Batch codes alone from batch with expiry and bring it online with my version of FA along with it.  Because all of my codes are customized inside code and also made some changes in core of FA.

544

(3 replies, posted in Reporting)

Within the rep203.php file. you need to change something to get it.

function getTransactions($supplier, $date)
{
    $date = date2sql($date);
    $dec = user_price_dec();

    $sql = "SELECT  supp_reference, tran_date, due_date, trans_no, type, rate,
            (ABS( ov_amount) + ABS( ov_gst) -  alloc) AS Balance,
            (ABS( ov_amount) + ABS( ov_gst) ) AS TranTotal
        FROM ".TB_PREF."supp_trans
        WHERE  supplier_id = '$supplier'
        AND ROUND(ABS( ov_amount),$dec) + ROUND(ABS( ov_gst),$dec) - 
        ROUND( alloc,$dec) != 0
        AND  tran_date <='$date'
        ORDER BY  type,
             trans_no";

    return db_query($sql, "No transactions were returned");
}

Here you need to add some  changes.

 
function getTransactions($supplier, $date)
{
    $date = date2sql($date);
    $dec = user_price_dec();

    $sql = "SELECT  reference AS supp_reference, tran_date, due_date, trans_no, type, rate,   // Here I have modified to make the reference as supp_reference
            (ABS( ov_amount) + ABS( ov_gst) -  alloc) AS Balance,
            (ABS( ov_amount) + ABS( ov_gst) ) AS TranTotal
        FROM ".TB_PREF."supp_trans
        WHERE  supplier_id = '$supplier'
        AND ROUND(ABS( ov_amount),$dec) + ROUND(ABS( ov_gst),$dec) - 
        ROUND( alloc,$dec) != 0
        AND  tran_date <='$date'
        ORDER BY tran_date,  type,   // New Order by Here with tran_date
             trans_no";

    return db_query($sql, "No transactions were returned");
}

Let's get clients feedback before move on with it. I heard it was no more and no further alternative to use it.

546

(27 replies, posted in Installation)

good to hear it.

Hello,

Your PHP version must be 7.4. From this version the get_magic_quotes_gpc was deprecated. And there is no alternative to use it. So lets take out the code and make it work on. This function available inside session.inc and isession.inc.

function strip_quotes($data)
{
    if(get_magic_quotes_gpc()) {
        if(is_array($data)) {
            foreach($data as $k => $v) {
                $data[$k] = strip_quotes($data[$k]);
            }
            return $data;
        } else
            return stripslashes($data);
    }
   
}

And just remove the if condition like this

function strip_quotes($data)
{
        if(is_array($data)) {
            foreach($data as $k => $v) {
                $data[$k] = strip_quotes($data[$k]);
            }
           return $data;
        } else
            return stripslashes($data);
    
    
}

.

Hope it will fix your problem to work on.  if its fixed just reply to this conversation, @joe will update to the core.

Sure. Drop your suggestions and results here.

The drop down is a nice one to change it to other tax types. 

As i thinking we need one column in them. But try it without making a column. if it works fine. we dont need to make a column to save it. I worked with item tax types a bit back. so i am not sure for the new column in them.  Just bring the item tax types drop down in cart and process an order and try to view it.  and you can compare the rates to get it .

Let me give you a way to do this. From the sales cart table let's add a column item tax type as header. And within it. Let's put a checkbox. The checkbox should be checked by default ( mark of item tax type selected).  If we uncheck it. The item tax should be exempted. Here the functionality is complex. We have to pass this checkbox value to tax calculations and modify it.

But there is one thing I am not sure to bring.  After we created the invoice, order or quote. As we are calling the tax calculations again to get it. Like on sales order view page we call the tax calculations again and get the values. In this case, we need to create  a column in debtors_trans_details and sales_order_details.