• Resolved rudrabina

    (@rudrabina)


    hare we are finding a invoicing features that only one tax is always added for one product entry. if we use a compound tax then it is not showing compound wise tax. it just showing the total tax in one field

    hare we have multiple tax for one product. thus we need multipal Tax option field for product, or showing the compound tax part wise in the invoice.

    is there any process or any custom function , or any change in any php file to do that.

    hope will get the answers asap.

Viewing 15 replies - 1 through 15 (of 19 total)
  • @rudrabina,

    Apologies for my late reply at first.
    Actually, compound tax in the invoice is not supported in WP ERP-> Accounting module at this moment.

    If you need to add this option badly, then you have to make huge changes in the core code of WP ERP.

    Let me know if you are in need of more help from me.

    Regards,
    Shawon

    Thread Starter rudrabina

    (@rudrabina)

    thanks a lot for your answer @shawan, actually we need it badly,
    am form INDIA, and our Govt Pass GST rule recently, and make us problem full for invoicing and managing the tax work, it implemented that either a core compound tax which include two tax at the same time called CGST and SGST. or IGST alone apply to the line.
    lets take an example (product is 10 % taxable item), if lone total comes 1000, and it is comes under IGST TAX, so it calculate only one tax of 10 % . but if it comes under compound tax then two tax include at same time CGST 5%, and SGST 5% total 10 % but we have to show it in deferentially , and have to take different accounts for all 3 tax. same as perchess. you can ck in google also for the INDIA GST structure.

    so please let us guide what to do.

    @rudrabina,

    Thanks for explaining. Looks like you have to customize the core of Accounting module for this compound tax. That is the only way ??

    Thread Starter rudrabina

    (@rudrabina)

    thanks dear @shawon Chowdhury

    can you guide us to do that so??

    we are waiting for that way.

    Thread Starter rudrabina

    (@rudrabina)

    dear can you help us a little bit?? we change 35 file in accounting modules, to up date 3 segment of tax , called 1 cgst 2 sgst 3 igst, plugins installed succesfully but getting only one fetal error

    Fatal error: Class ‘WeDevs\ERP\Accounting\Model\igst’ not found in /home/edoceoin/public_html/wp/wp-content/plugins/erp/modules/accounting/includes/functions-igst.php on line 251

    can you tell me how to solv it.
    and which file is responsible for creating database.
    i find class-install.php file is responsible thus a change the file accordingly

    but it is not reflection result while activation the plugins.

    How did you include WeDevs\ERP\Accounting\Model\igst class php file? Did you use include_once or require_once?

    Thread Starter rudrabina

    (@rudrabina)

    thankis dear @ediamin, Happy greetings For EID

    database is creating correctly,
    like this
    _erp_ac_banks
    _erp_ac_cgst
    _erp_ac_cgst_items
    _erp_ac_chart_classes
    _erp_ac_chart_types
    _erp_ac_igst
    _erp_ac_igst_items
    _erp_ac_journals
    _erp_ac_ledger
    _erp_ac_payments
    _erp_ac_sgst
    _erp_ac_sgst_items
    _erp_ac_transactions
    _erp_ac_transaction_items
    _erp_audit_log
    _erp_company

    i am confused in which file i have to use

    include_once or requird_once to add the class file

    Hey thanks, greetings to you too. ??

    Glad to hear that your DB is working now. Now to include the model file, it depends which repo you’re using.

    If you’re using Github repo, then run this command in terminal composer dump -o. This will add the model in composer autoloader.

    If you’re using plugin directly from www.remarpro.com then include the model file in modules/accounting/accounting.php in includes method. Add this line

    require_once WPERP_ACCOUNTING_PATH . '/model/igst.php';

    before the line,
    require_once WPERP_ACCOUNTING_PATH . '/includes/function-capabilities.php';

    Here I assume that your model file name is igst.php and you put your file in modules/accounting/includes/models/ directory

    Let me know if it works.

    Good luck ??

    • This reply was modified 7 years, 5 months ago by Edi Amin.
    Thread Starter rudrabina

    (@rudrabina)

    sorry i am confused what is to used an in which format ,
    i mean required_once or include_once , which one is to use.? and in which format?

    Use require_once. See how other files have included in includes function in modules/accounting/accounting.php

    Thread Starter rudrabina

    (@rudrabina)

    thanks a lot dear @ediamin, its works great,
    now finding some problems thats new tax button is not working.
    in invoice add line button is not working, and it showing half as i add 3 new colom in the invoice , thus i want to give more space the 1st colom of the invoice to show add new button properly.

    Thread Starter rudrabina

    (@rudrabina)

    i mean “add new tax button” is not working in account settings page is not working,

    in invoice> while entering unit price and quantity sum is not showing.

    Thread Starter rudrabina

    (@rudrabina)

    can u guide me which file is includes the buttons file,

    i think in this file
    /erp/modules/accounting/includes/views/settings/cgst.php

    this portion is not working

    ?>
    <tr>
    <tr><td class=”erp-ac-cgst-td-wrap”>
    <div class=”erp-ac-setting-cgst-wrap”>
    ” href=”#” class=”erp-ac-new-cgst-btn page-title-action” id=”erp-ac-new-cgst-add-btn”><?php _e( ‘New CGST Rate’, ‘accounting’); ?></tr>
    <table class=”wp-list-table widefat fixed striped”>
    <thead>

    so many other buttons also not working , can you see the development for me, if you wish, i can send the zip file to you r mail. it is all done some small errors may contain, please ck the file for me.
    and what happened when an update is there.

    Thread Starter rudrabina

    (@rudrabina)

    dear @ediamin facing a trouble,
    where are you
    no pop up is working i thing the file
    /erp/modules/accounting/assets/js/erp-accounting.js
    is for the pop up windows
    where the url just ended with #
    i have made the changes on that previously. but yet not working. looking that the file is working with jquary, please guide me a little more.

    Thread Starter rudrabina

    (@rudrabina)

    dear @ediamin facing a trouble,
    where are you ?
    no pop up is working i thing the file
    /erp/modules/accounting/assets/js/erp-accounting.js
    is for the pop up windows
    where the url just ended with #
    i have made the changes on that previously. but yet not working. looking that the file is working with jquary, please guide me a little more.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Showing Of Compound Tax in Invoice’ is closed to new replies.