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
<address@hidden>
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
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev