INVOICE without modification

Andrej
Andrej
Offline
0
I have Joomla 2.5 and Invoice Manager installed.
I need a code modification for Invoice Manager.
In tab INVOICES I want disable option delete or modificate selected invoice.
With this modification I want completely prevent option to modify or delete created INVOICE.

Is this possible?
Send me instructions for do that. Code modification? Wich file I will must modify.

Thank You

Accepted Answer

Thursday, July 04 2013, 09:37 AM - #Permalink
0
well, you need to disable the "erase" button. you can do this on file /administrator/components/com_invoices/views/invoices/view.html.php file
(are you a prgrammer?)

on the other hand, to avoid modifying current invoices, you need to disable the link on each line to edit the invoice (are you sure you want to do this? you won't be able to modify if, say, there is an error in the invoice!)

this is in file /administrator/components/com_invoices/views/invoices/tmpl/default.php and you need to get ride of the edit invoice link..

be careful ... !:)
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Andrej
    Andrej
    Offline
    Sunday, July 07 2013, 08:25 AM - #Permalink
    0
    WORKS for me !
    But modifications are only in:

    /administrator/components/com_invoices/views/invoices/tmpl/ default.php
    line b33
    line 104
    line 105
    line 106

    I do that, because Slovenian Law don't permit modification and deleting invoices with invoice creation software.
    In case of cash managment.

    Thank you.
    The reply is currently minimized Show
Your Reply