Skip to content

Add payment terms from society to invoice#14

Open
developmentOYR wants to merge 3 commits intoDoliCloud:developfrom
developmentOYR:develop
Open

Add payment terms from society to invoice#14
developmentOYR wants to merge 3 commits intoDoliCloud:developfrom
developmentOYR:develop

Conversation

@developmentOYR
Copy link
Copy Markdown
Contributor

@developmentOYR developmentOYR commented Apr 22, 2026

When generating an invoice, payment terms and methods are not included by default. I have created and would like to use the variable CABINETMED_FORCE_PAYMENT_TERM_FROM_SOC to automatically extract these details from the settings defined in the third party profile in the generated invoice so that the customer does not have to do it manually each time.

We have also changed the translation variables PaymentTypeCarte to PaymentTypeCB since what is actually done is CB (Card) and the same with PaymentTypeOther since what is really done is VIR.

Finally we have created another global variable CABINETMED_SHOW_VIR_BANK to associate the bank with the payment.

The solution provided does precisely this.

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.

1 participant