Hello,

I notice that ordinary form and multipart form (for uploading file) works differently. Ordinary form will use normal http request while multipart form use ajax. It is indicated by the url. Ordinary form change the url (if there are get variable, it will be disappear) but in multipart form it doesn't change.

This behavior cause the javascript I made that is placed after submit process is not executed. Is there any way to fix this?

I think best solution is deactivate ajax processing for multipart form.

Hello,

I have implemented batch number feature in FA.
The feature:
- create batch number format master in setup (the numbering will be automatically increasing)
- assign batch number to item or item category (can be modified per demand)
- display and assign batch number for item that come from PO receive item and direct GRN
- display and assign batch number for item that come from WO manufacture production
- choosing batch number in item location transfer : you can transfer item with specific batch number
- choosing batch number in item adjustment : you can adjust item quantity with specific batch number
- report inventory divide per batch number

I don't have any live demo at this time, but if you are interested, please mail me. We can discuss the price, any modification that you need, and any other else.

Please contact me via email: bharata1803@gmail.com

103

(2 replies, posted in Report Bugs here)

I got a lot of error when using PHP 7 in the web server. This is the link for the picture:

https://www.dropbox.com/s/vtyzecgwmml9m16/error_fa.png?dl=0

Please anyone help me.

Hello,

I noticed that in the 2.4.1. there is no adjustment type, positive or negative in the item adjustment page. Is this some change in the latest release? How to handle negative adjustment then? Add negative sign to the quantity? Thank you

Hello,

It seems that the reporting in FA already support PDF with barcode. Any tutorial for generating a custom PDF report with barcode using this library? Thank you very much. I know I can download external library but I want to use the built in function in FA.

106

(1 replies, posted in FA Modifications)

Hello,

Can anyone here explain how the $Ajax->activate works? I really don't understand in terms of ajax calls and updating the part of  the page content. Thank you.

I am trying to learn how to create module for FA 2.4RC. I just create a really simple one, only add a menu without anything. In my hooks, I write this:

class hooks_mymodule extends hooks {
    var $module_name = 'My module';
   
    function install_options($app) {
        global $path_to_root;

        switch($app->id) {
            case 'stock':
                $app->add_lapp_function(1, _('My module'),$path_to_root.'/modules/mymodule/mymodule.php', 'SA_ITEM', MENU_MAINTENANCE);
                break;
        }
    }
    function activate_extension($company, $check_only=true){
        return;
    }
   
    function deactivate_extension($company, $check_only=true){
        return;
    }
}

After I tried to activate it, I got this error:
Package mymodule is incompatible with current application version and cannot be activated.

What should I do? I think I don't need to create _init folder to create local extension.

108

(13 replies, posted in Wish List)

I had experience changing template for FrontAccounting using AdminLTE but I abandoned it because it is really hard to make the change generic because some part of the html is written as PHP function, for example the table item in sales order page. Maybe we can discuss how to make an easy modifiable theme schema.

Hello,
I'm interested by your requirement. I have made many modification in Frontaccounting so probably I can help you with my experience. Maybe, if you have more details or spesifications, you can share it here? You can email me to here : bharata1803@gmail.com

still not working. do you mind to test it in my server : http://fa-project.esy.es/ the username and password is admin

111

(12 replies, posted in Installation)

Maybe you need to check the session configuration in the server, I've encountered this because the session path must be explicitly written in the code.

It's not working. It's just an empty dropdown box. I can not type anything into it.

If I check Search Item, CUstomer, and Supplier List, it would do some ajax search which is good for many data. For item, I can enter the item code, but how about customer an supplier? I only see blank dropdown. There is no input for searching customer or supplier. I've check the html the input for this have stye display:none. So it's there but it's hidden. I'm trying this on SO entry and PO entry. Could anyone help me?

114

(2 replies, posted in Report Bugs here)

It's caused by the web hosting policy. I add some line of code to set the path of the session as instructed by the web hosting and it worked. Solved.

115

(2 replies, posted in Report Bugs here)

I've gotten this error like in the screenshot. It doesn't show up in my local environment.

Image

$id_user = $_SESSION['wa_current_user']->user;
$user = get_user($id_user)

echo $user['username']

you can get it from the session wa_current_user, there is a bit information of the logged in user, I think you can get the username from this, maybe you need to query it using the user id though

118

(3 replies, posted in Translations)

Thank you, it seems the .inc file and txt file hadn't added yet.

Hello,

I've modified a report in Frontaccounting and add some new string in header file, doctext, and the report file itself. When I update the language file with POEdit, the new string is not detected. I have tried to create a new po file with POEdit and spesifically select the file and still not detected. The other new string from module is detected and I don't know why. How could I solve this problem?

you can print the sql query with the confir set to true and just run it in the phpmyadmin to see which part of the query has something wrong

121

(6 replies, posted in Report Bugs here)

Long report? Maybe you should separate it. The default page size is pre defined (A4, letter, etc) so maybe that is the cause of your problem

Have you included the connect_db file?

123

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

I have done it before with this theme : http://startbootstrap.com/template-overviews/sb-admin/

It's not that hard but because I stuck with ordering column button in db_page plus the spinner gif which displayed when do some ajax query, I give up and delete the folder. What I've done is pretty simple, I just use jquery to remove the default class and inline style then add bootstrap class.

trisun123 wrote:
apmuthu wrote:

Copy over the report twice and edit the sql statements with the appropriate filter in each and rename them with some report number that is unique and put it into the company/#/reporting folder.

thank you for your reply dear apmuthu

i will try to do that

and by the way, where exactly we could differentiate between Taxed and non-Taxed?
is it on :
1. item, or
2. customer

sorry if i ask again

thank you in advance smile


It's in stock master table, there is a column named tax_type_id.

Usually I debug with FirePHP. You can debug the code and the result will displayed in the console browser (must install FirePHP plugin). It's very useful for me becuase the ajax in frontaccounting can be debug easily like you debug javascript with console.log.