Interventions: Add predefined mail content
This commit is contained in:
parent
2b0b91eb29
commit
d292083b69
@ -1,6 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2010 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2010-2011 Juanjo Menent <jmenent@2byte.es>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -21,7 +21,7 @@
|
||||
* \file htdocs/core/class/html.formmail.class.php
|
||||
* \ingroup core
|
||||
* \brief Fichier de la classe permettant la generation du formulaire html d'envoi de mail unitaire
|
||||
* \version $Id: html.formmail.class.php,v 1.27 2011/07/06 22:38:52 eldy Exp $
|
||||
* \version $Id: html.formmail.class.php,v 1.28 2011/07/07 15:54:03 simnandez Exp $
|
||||
*/
|
||||
require_once(DOL_DOCUMENT_ROOT ."/core/class/html.form.class.php");
|
||||
|
||||
@ -542,7 +542,8 @@ class FormMail
|
||||
if ($this->param["models"]=='order_supplier_send') { $defaultmessage=$langs->transnoentities("PredefinedMailContentSendSupplierOrder"); }
|
||||
if ($this->param["models"]=='invoice_supplier_send') { $defaultmessage=$langs->transnoentities("PredefinedMailContentSendSupplierInvoice"); }
|
||||
if ($this->param["models"]=='shipping_send') { $defaultmessage=$langs->transnoentities("PredefinedMailContentSendShipping"); }
|
||||
|
||||
if ($this->param["models"]=='fichinter_send') { $defaultmessage=$langs->transnoentities("PredefinedMailContentSendFichInter"); }
|
||||
|
||||
if ($conf->paypal->enabled && $conf->global->PAYPAL_ADD_PAYMENT_URL)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/paypal/lib/paypal.lib.php");
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
* \file htdocs/fichinter/fiche.php
|
||||
* \brief Fichier fiche intervention
|
||||
* \ingroup ficheinter
|
||||
* \version $Id: fiche.php,v 1.167 2011/07/07 09:18:27 simnandez Exp $
|
||||
* \version $Id: fiche.php,v 1.168 2011/07/07 15:54:02 simnandez Exp $
|
||||
*/
|
||||
|
||||
require("../main.inc.php");
|
||||
@ -1122,14 +1122,14 @@ elseif ($fichinterid)
|
||||
$formmail->withtoccsocid=0;
|
||||
$formmail->withtoccc=$conf->global->MAIN_EMAIL_USECCC;
|
||||
$formmail->withtocccsocid=0;
|
||||
$formmail->withtopic=$langs->trans('SendInterventionRef','__FICHREF__');
|
||||
$formmail->withtopic=$langs->trans('SendInterventionRef','__FICHINTERREF__');
|
||||
$formmail->withfile=1;
|
||||
$formmail->withbody=1;
|
||||
$formmail->withdeliveryreceipt=1;
|
||||
$formmail->withcancel=1;
|
||||
|
||||
// Tableau des substitutions
|
||||
$formmail->substit['__FICHREF__']=$object->ref;
|
||||
$formmail->substit['__FICHINTERREF__']=$object->ref;
|
||||
// Tableau des parametres complementaires
|
||||
$formmail->param['action']='send';
|
||||
$formmail->param['models']='fichinter_send';
|
||||
@ -1184,5 +1184,5 @@ elseif ($fichinterid)
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date: 2011/07/07 09:18:27 $ - $Revision: 1.167 $');
|
||||
llxFooter('$Date: 2011/07/07 15:54:02 $ - $Revision: 1.168 $');
|
||||
?>
|
||||
|
||||
@ -53,8 +53,9 @@ PredefinedMailContentSendOrder=Us adjuntem la comanda __ORDERREF__ \n\nCordialme
|
||||
PredefinedMailContentSendSupplierOrder=Us adjuntem la nostra comanda __ORDERREF__ \n\nCordialment\n\n
|
||||
PredefinedMailContentSendSupplierInvoice=Us adjuntem la factura __FACREF__\n\nCordialment\n\n
|
||||
PredefinedMailContentSendShipping=Us adjuntem l'expedició __SHIPPINGREF__\n\nCordialment\n\n
|
||||
PredefinedMailContentSendFichInter=Us adjuntem l'intervenció __FICHINTERREF__\n\nCordialment\n\n
|
||||
DemoDesc=Dolibarr és un programari per a la gestió de negocis (professionals o associacions), compost de mòduls funcionals independents i opcionals. Una demostració que inclogui tots aquests mòduls no té sentit perquè no utilitzarà tots els mòduls. A més, té disponibles diversos tipus de perfils de demostració.
|
||||
ChooseYourDemoProfil=Voleu veure el perfil de demostració que millor correspongui a la seva activitat ...
|
||||
ChooseYourDemoProfil=Seleccioneu el perfil de demostració que millor correspongui a la seva activitat ...
|
||||
DemoFundation=Gestió de membres d'una associació
|
||||
DemoFundation2=Gestió de membres i tresoreria d'una associació
|
||||
DemoCompanyServiceOnly=Gestió d'un treballador per compte propi realitzant serveis
|
||||
|
||||
@ -53,6 +53,7 @@ PredefinedMailContentSendOrder=You will find here the order __ORDERREF__\n\nSinc
|
||||
PredefinedMailContentSendSupplierOrder=You will find here our order __ORDERREF__\n\nSincerely\n\n
|
||||
PredefinedMailContentSendSupplierInvoice=You will find here the invoice __FACREF__\n\nSincerely\n\n
|
||||
PredefinedMailContentSendShipping=You will find here the shipping __SHIPPINGREF__\n\nSincerely\n\n
|
||||
PredefinedMailContentSendFichInter=You will find here the intervention __FICHINTERREF__\n\nSincerely\n\n
|
||||
DemoDesc=Dolibarr is a compact ERP/CRM composed by several functional modules. A demo that includes all modules does not mean anything as this never occurs. So, several demo profiles are available.
|
||||
ChooseYourDemoProfil=Choose the demo profile that match your activity...
|
||||
DemoFundation=Manage members of a foundation
|
||||
|
||||
@ -53,9 +53,10 @@ PredefinedMailContentSendOrder=Le adjuntamos el pedido __ORDERREF__\n\nCordialme
|
||||
PredefinedMailContentSendSupplierOrder=Le adjuntamos nuestro pedido __ORDERREF__\n\nCordialmente\n\n
|
||||
PredefinedMailContentSendSupplierInvoice=Le adjuntamos la factura __FACREF__\n\nCordialmente\n\n
|
||||
PredefinedMailContentSendShipping=Le adjuntamos la expedición __SHIPPINGREF__\n\nCordialmente\n\n
|
||||
PredefinedMailContentSendFichInter=Le adjuntamos la intervención __FICHINTERREF__\n\nCordialmente\n\n
|
||||
DemoDesc=Dolibarr es un software para la gestión de negocios (profesionales o asociaciones), compuesto de módulos funcionales independientes y opcionales. Una demostración que incluya todos estos módulos no tiene sentido porque no utilizará todos los módulos. Además, tiene disponibles varios tipos de perfiles de demostración.
|
||||
ChooseYourDemoProfil=Quiere ver el perfil de demostración que mejor corresponda a su actividad...
|
||||
DemoFundation=Gesstión de miembros de una asociación
|
||||
ChooseYourDemoProfil=Seleccione el perfil de demostración que mejor corresponda a su actividad...
|
||||
DemoFundation=Gestión de miembros de una asociación
|
||||
DemoFundation2=Gestión de miembros y tesorería de una asociación
|
||||
DemoCompanyServiceOnly=Gestión de un trabajador por cuenta propia realizando servicios
|
||||
DemoCompanyShopWithCashDesk=Gestión de una tienda con caja
|
||||
|
||||
@ -53,6 +53,7 @@ PredefinedMailContentSendOrder=Veuillez trouver ci-joint la commande __ORDERREF_
|
||||
PredefinedMailContentSendSupplierOrder=Veuillez trouver ci-joint notre commande __ORDERREF__\n\nCordialement\n\n
|
||||
PredefinedMailContentSendSupplierInvoice=Veuillez trouver ci-joint la facture __FACREF__\n\nCordialement\n\n
|
||||
PredefinedMailContentSendShipping=Veuillez trouver ci-joint le bon d'expédition __SHIPPINGREF__\n\nCordialement\n\n
|
||||
PredefinedMailContentSendFichInter=Veuillez trouver ci-joint le intervention __FICHINTERREF__\n\nCordialement\n\n
|
||||
DemoDesc=Dolibarr est un logiciel de gestion d'activité (professionnelle ou associative) composé de modules fonctionnels indépendants et optionnels. Une démonstration qui inclut tous ces modules n'a pas de sens car les modules ne sont jamais tous utilisés en même temps. Aussi, plusieurs profils type de démo sont disponibles.
|
||||
ChooseYourDemoProfil=Veuillez choisir le profil de démo qui correspond le mieux à votre activité...
|
||||
DemoFundation=Gestion des adhérents d'une association
|
||||
|
||||
Loading…
Reference in New Issue
Block a user