|
From: | Yoric Mangeart |
Subject: | Re: [Dolibarr-dev] MENTION OF SUBROGATION |
Date: | Thu, 22 Mar 2012 17:20:22 +0100 |
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...
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 03369454 LYON cedex 06
Tél. : 04 72 35 97 09 Fax : 04 72 35 95 76Pour ê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
--
Cyrille de Lambertaddress@hidden
9, rue Alfred Kastler
BP 50752
44307 NANTES CEDEX 3Té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
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
[Prev in Thread] | Current Thread | [Next in Thread] |