Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.52k stars 2.81k forks source link

NEW_SUBMIT_FOR_ALL_MARK_RESPAWN #32091

Closed atm-jonathan closed 3 days ago

atm-jonathan commented 4 days ago

Instructions

I closed this PR: https://github.com/Dolibarr/dolibarr/pull/30873/files#diff-69e35ee0d71e3053de0448b2d4849b9598062bbcdbaff5ae4c391540b99faab2

I've opened this one, correcting the feedback I requested on it.

The new feature hasn't changed, I've taken the text from the old PR below:

On propal, orders, and invoices (client) On line titles, I have added the ability to bulk edit The margin rate and the brand rate (taux de marque) NEW|New [update mass margin, brand rate]

Now, bulk editing the margin and markup rates changes the unit price in the same way as editing a single line I have added the mass action in the file "htdocs/core/tpl/objectline_title.tpl.php" And in the card.php files for proposals, orders, and invoices, I have managed the unit price, the calculation of the margin and markup rates, as well as the handling of currency conversions.