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 a button to create a product or a service from an order or an invoice #26173

Merged

Conversation

FlorentPoinsaut
Copy link
Contributor

NEW Add a button to create a product or a service from an order or an invoice

Capture d’écran du 2023-10-10 13-44-51
Capture d’écran du 2023-10-10 13-45-07

make "add production and service from invoice" compatible with modules other than billing
making it usable with all modules and freshly created objects

echo '<div id="dropdownAddProductAndService" class="dropdown inline-block">';
echo '<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" id="dropdownAddProductAndServiceLink" aria-haspopup="true" aria-expanded="false">';
echo '<span class="fa fa-plus-circle valignmiddle paddingleft"> '.$langs->trans("Add").'</span>';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The picto may be enough (no need for the "Add" label)

@eldy eldy merged commit 74702d2 into Dolibarr:develop Oct 10, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants