I'm developing a payment system for my company where there are two different types of accounts. (Eg IPVA, Pen-Drive, etc.) and Fixed (eg Electricity, Water, Telephone, Internet, etc.);
I have a table where only accounts with their type = 'fixed' are displayed.
What I would like to accomplish, which I could not find or find in any way was ...
A button that would pick up the Data being displayed in this table and duplicate it in the DB with Different ID and Value.
The idea is to remove the work of the user by re-launching accounts that will have exactly the same data, perhaps differentiating the expiration and value ... and clicking the button all values of the fixed type are duplicated ...