* Web.csproj:
* LocalizedText.resx: * SimpleFormatter.cs: * TemplateException.cs: * ErrorHtmlFormatter.cs: * LocalizedText.Designer.cs: * WorkFlowManager.cs: * Makefile: refactoring * FrontOfficeApiController.cs: nice html error response in case of error at rendering a tex or pdf document * LocalizedText.fr.resx: Gives as title at rendering a template processing error
This commit is contained in:
parent
e847248366
commit
2f6146c0f7
10 changed files with 163 additions and 13 deletions
6
yavscModel/LocalizedText.Designer.cs
generated
6
yavscModel/LocalizedText.Designer.cs
generated
|
|
@ -154,6 +154,12 @@ namespace Yavsc.Model {
|
|||
}
|
||||
}
|
||||
|
||||
public static string DocTemplateException {
|
||||
get {
|
||||
return ResourceManager.GetString("DocTemplateException", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Description", resourceCulture);
|
||||
|
|
|
|||
|
|
@ -39,4 +39,6 @@
|
|||
<data name="MaxDate"><value>Date maximale du rendez-vous</value></data>
|
||||
<data name="Date_search"><value>Demande de rendez-vous</value></data>
|
||||
<data name="Remember_me"><value>Se souvenir du mot de passe</value></data>
|
||||
<data name="DocTemplateException"><value>Une erreur est survenue à la génération de votre document</value></data>
|
||||
|
||||
</root>
|
||||
|
|
|
|||
|
|
@ -39,4 +39,6 @@
|
|||
<data name="MaxDate"><value>Maximal date for the rendez-vous</value></data>
|
||||
<data name="Date_search"><value>Rendez-vous query</value></data>
|
||||
<data name="Remember_me"><value>Remember me</value></data>
|
||||
<data name="DocTemplateException"><value>Exception occured when rendering your document</value></data>
|
||||
|
||||
</root>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,11 @@ namespace Yavsc.Model.WorkFlow
|
|||
{
|
||||
ContentProvider.UpdateEstimate (estim);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the estimate.
|
||||
/// </summary>
|
||||
/// <returns>The estimate.</returns>
|
||||
/// <param name="estid">Estid.</param>
|
||||
public Estimate GetEstimate (long estid)
|
||||
{
|
||||
return ContentProvider.GetEstimate (estid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue