MyFinances icon indicating copy to clipboard operation
MyFinances copied to clipboard

idea: Clone invoice

Open TreyWW opened this issue 1 year ago • 2 comments

How big is this feature?

Small

Describe the problem

The ability to clone an invoice instead of typing all the details again

Describe a possible solution

Bring up the create editor but pre-fill all of the existing details

TreyWW avatar Jul 25 '24 16:07 TreyWW

I want to work on this idea. Are there any suggestions from where should I start with?

I have some doubts. For example, if I were to clone a invoice and keep all the details same, the only thing that will be different is id or is there any other field that should be different from the original?

pvvramakrishnarao234 avatar Sep 24 '24 17:09 pvvramakrishnarao234

#Hey @pvvramakrishnarao234 appreciate the interest. The idea is that clone opens up the "create invoice" page with all of the fields pre-filled with the existing invoice ones. So no collisions will happen. You can use query params for pre filling values. E.g client=id

No database objects will be created, just redirects the user to the create page basically.

Let me know if you have any other questions!

TreyWW avatar Sep 24 '24 17:09 TreyWW