Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple items at once #225

Open
skjerns opened this issue Mar 27, 2021 · 2 comments
Open

Add multiple items at once #225

skjerns opened this issue Mar 27, 2021 · 2 comments

Comments

@skjerns
Copy link
Member

skjerns commented Mar 27, 2021

There are several ways this could be implemented

  • The ID text input could be a multi-form
  • A button could be there to say "Save and copy to new "

Additionally, it would be good to have the cummulated deposit automatically calculated

For now this is only applicable to renting, not to returning. I have no idea how to implement this for returning

@skjerns
Copy link
Member Author

skjerns commented Apr 22, 2022

Getting back to this issue:

I think this would be the number one thing to improve usability even more. Let's have a look at it!

@daniel17903 what would the required changes in your opinion?

I thought about something like this:

  • Implement only for creating item, still save as individual rentals
  • Make number / item input field a multi-field
  • Make deposit a multi field
  • Deposit gets added and the sum get's displayed underneath/ on the side in a textbox
  • When saving, in the background n documents are submitted, for each item/deposit-combination one.

Alternative workaround:

  • Add a button "Speichern und weiteren Gegenstand an Nutzer ausleihen"
  • This button copies everything from the current form except for item/deposit to the next form
  • This should be rather easy to implement and also serve the purpose of speeding up making several rentals for the same person

What do you think about this? Do you think this would require major changes or could be implemented without much code shuffling?

@daniel17903
Copy link
Contributor

Sounds good :) I would prefer the alternative workaround, I think it will be much less work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants