NEW Feature enabling Prorata charges - #14
Open
Amael-PE wants to merge 36 commits into
Open
Conversation
NEW Progress report in situation invoice card.php
Make changes to enable selection on new invocie of the order to merge The order to merge is then inserted wrapped in a Subtotal
* NEW import_lines_from_object for invocies now is wrapped in subtitles * NEW new invoice suggest to merge new project orders Make changes to enable selection on new invocie of the order to merge The order to merge is then inserted wrapped in a Subtotal --------- Co-authored-by: Amael-PE <amael@amael.io>
…php (#7) * FIX Fix precommit CI errors * FIX Error in next_invoices avancement * NEW Change the method to compute global progress of an invoice This allows to be closer to the practice in industry * NEW Feat to display total amount of contrat/invoices serie in progress table
* FIX Complete wath was started in Dolibarr#17243 for pdf_cannelle * FIX Continue for eagle_proforma
* NEW Custom model for commercial proposal Based on cyan model, with no ref client * NEW Custom Situation Invoice model update V1 available. Still missing prorata feature, which will depend on another branch. Total progress to change also * REFACT Refactoring for better maintenance capability (factoring in functions) * FIX Model custom for situation invoices All is find, except pro rata: feature to be added * Fix Typo
…#10) * NEW Template for supplier order without prices * FIX Remove TVA column in supplier orders without prices * FIX Template sansprix fix padding in pagehead for styling * NEW Supplier order template for ProductWithdrawal * Fix Some small styling updates. New field info shown SentBy * NEW Template supplier order custom with prices
… attributes Building on an existing db field, introduce in Facture class a property prorata_discount (amount in currency) and prorata_rate (virtual property). It also alter total_ht with a hook to update discount based on rate. Prorata, as the name suggest, is a discount whose % is fixed and amount varies with total excl. taxes
* FIX : removes traces of <<<HEAD conflicts following the postponement of branch 13 modifications (Dolibarr#32014) Co-authored-by: John Fleuret <john.fleuret@atgp.net> * fix CI * Test pr action * Avoid error * Exclude test files * fix * fix join societe_commerciaux in societe list * fix: remove list mass action update price wihen price mode is not uniq price * fix: remove list mass action update price wihen price mode is not uniq price * Fix : cron job user rights force reload * FIX Bad calculation of the theoretical stock. Did not take into account the inc/dec stock option. * FIX select 2 no record found * FIX Complete wath was started in Dolibarr#17243 for pdf_cannelle * FIX Continue for eagle_proforma * Fix pb in output of label of email --------- Co-authored-by: alkaan <prog@alkaan.com> Co-authored-by: John Fleuret <john.fleuret@atgp.net> Co-authored-by: Frédéric France <frederic.france@free.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr> Co-authored-by: uvaldenaire-opendsi <uvaldenaire@easya.solutions> Co-authored-by: Florian HENRY <florian.henry@open-concept.pro> Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr> Co-authored-by: GregM <gregory.maza@atm-consulting.fr> Co-authored-by: Amael-PE <amael@amael.io>
fix a issue unableing pdf model detection on specimen generation
Reduce padding in 1st page tableau
Round rest to pay
Introduce Prorata rate: + Global variable for Account in accountancy + Write and see in journal + See and modify rate in card + Add in total table in pdf + Langs and trads + Hooks in common object for price claculation (properly manage add_lines and delete_lines)
Bug was due to updatePrice in CommonObject which do not have prorata_discount
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NEW Feature enabling Prorata charges
Enabled by INVOICE_USE_PRORATA_DISCOUNT
Still todo: