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

NEW: add duration extrafields #31595

Merged
merged 7 commits into from
Oct 28, 2024

Conversation

benoitpascal
Copy link
Contributor

NEW duration extrafields

Add extrafields to deal with durations on the same pattern as task duration fields.

Duration is registered in seconds into database.
Value is displayed with two inputs 'hour' and 'minute'

I had to bypass @GETPOSTISSET control because value is splitted in two inputs and none has 'options_$key' key.

Views

Extrafield selector

Capture d’écran du 2024-10-27 22-41-11

Input

Capture d’écran du 2024-10-27 22-42-04

Output

Capture d’écran du 2024-10-27 22-42-18

@eldy
Copy link
Member

eldy commented Oct 28, 2024

Duplicate of #31593 ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Oct 28, 2024
@benoitpascal
Copy link
Contributor Author

Duplicate of #31593 ?

Yes. This one is the cleaned commit. I close the other one.

@eldy eldy merged commit ff9e2f3 into Dolibarr:develop Oct 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants