Hi Cyrille, I came across the same kind of issue: I had to insert a custom text at the bottom left of a PDF invoice document.
I did a quick and dirty fix (without creating a whole module). Still, the result was ok on the PDF so it might help. Actually, i didn't create a new method of payment (i sticked with "virement") but i hacked the code so that it checks weither the bank's name equals *your bank name* while rendering the PDF invoice, and add the custom text if so. For your purpose, it might look like that: Step 1/ Create an LCL bank account, if not already done Step 2/Edit file "lib/pdf.lib.php" (and go to function "pdf_bank"): $libelle_bas = $account->bank=='LCL'?'MySpecificLCLtext':'PaymentByTransferOnThisBankAccount'; if ($account->bank) $cury+=8; // number 8 can be bigger if your custom text is several lines long Step 3/ Edit file "langs/fr_FR/bills.lang" and add one line: MySpecificLCLtext=Pour être libératoire, votre règlement doit être effectué directement à l’ordre de Bibby Factor...etc... Then make sure you have selected *your bank name* and "virement" while rendering your invoice, and it should be ok. --- Yoric 2012/3/22 Cyrille de Lambert <[email protected]> > Hi, > > I have to insert references to Subrogation on invoices. > For this, I thought creating a method of payment and indicate a specific > reference to this method of payment. > example: > > "Règlement à l’ordre de > > BIBBY FACTOR FRANCE > 158 avenue Thiers > CS 70 033 > > 69454 LYON cedex 06 > Tél. : 04 72 35 97 09 Fax : 04 72 35 95 76 > > Pour être libératoire, votre règlement doit être effectué directement à > l’ordre de Bibby Factor, sur le compte : LCL N° 30002 01958 0000062140E 87 > qui le reçoit par subrogation dans le cadre d’un contrat d’affacturage. > > Bibby Factor devra être avisé de toute demande de renseignement ou > réclamation." > > This is not actually possible in Dolibarr. > Does anyone have done a module? > > Regard > -- > [image: AUGURIA] > Cyrille de Lambert [email protected] > 9, rue Alfred Kastler > BP 50752 > 44307 NANTES CEDEX 3 Tél : +33 (0) 2 51 13 50 12 > Mobile :+33 (0) 6 29 41 81 22 > Fax : +33 (0) 2 51 13 52 88 > http://www.auguria.net > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > >
<<AUGURIA.jpg>>
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
