forked from Wavyzz/dolibarr
Minor fixes to CerfaFR donation document
* Title wasn't localized * Fixed donation ref
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Reçu de don CERFA FR</title>
|
||||
<title>__DonationReceipt__</title>
|
||||
</head>
|
||||
<body topmargin="10" marginheight="10" marginwidth="10">
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ class html_cerfafr extends ModeleDon
|
||||
// Defini contenu
|
||||
$donmodel=DOL_DOCUMENT_ROOT ."/core/modules/dons/html_cerfafr.html";
|
||||
$form = implode('', file($donmodel));
|
||||
$form = str_replace('__REF__',$id,$form);
|
||||
$form = str_replace('__REF__',$don->id,$form);
|
||||
$form = str_replace('__DATE__',dol_print_date($don->date,'day',false,$outputlangs),$form);
|
||||
//$form = str_replace('__IP__',$user->ip,$form); // TODO $user->ip not exist
|
||||
$form = str_replace('__AMOUNT__',$don->amount,$form);
|
||||
|
||||
Reference in New Issue
Block a user