paulohabl
paulohabl
Offline
0
Request:
I want to remove the "Delete" function from the items tab, and leave "Delete selected Items" only.

Reason:
This has caused me many accidental deletion of the whole document when actually I meant to delete the item only. I had a long one deleted today and I think I had enough. There is no need for this "Delete" function there, first because it is rare to delete and secondly the document can be deleted by checking its box at the list of invoices and delete from there.

Conclusion:
The "Delete" function is both confusing and dangerous.
Could you please advise how to remove this function.

Thanks

Accepted Answer

Monday, August 26 2019, 07:43 AM - #Permalink
0
it needs to be removed from the template file.

file is /administrator/components/com_invoices/views/invoices/tmpl/default_editbuttonbar.php

delete files 26 to 37, both included.
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Monday, August 26 2019, 09:07 AM - #Permalink
    0
    Great Germinal! Many thanks, my nightmare disappeared.

    Cheers
    Paulo
    The reply is currently minimized Show
Your Reply