From 9cd1d93fe008a493ea6b0d83d3b175c94c2c8f5d Mon Sep 17 00:00:00 2001 From: Emmanuel Date: Mon, 19 Feb 2024 09:50:48 +0100 Subject: [PATCH] feat: move signature and logo --- .../src/generator/lib/template_cloudnord/convention_fr.ts | 5 +++-- .../src/generator/lib/template_cloudnord/invoice_fr.ts | 8 +++++--- functions/src/generator/lib/template_cloudnord/logo.ts | 3 +++ .../lib/template_cloudnord/proforma_invoice_fr.ts | 7 ++++--- .../src/generator/lib/template_cloudnord/signature.ts | 4 ++++ 5 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 functions/src/generator/lib/template_cloudnord/logo.ts create mode 100644 functions/src/generator/lib/template_cloudnord/signature.ts diff --git a/functions/src/generator/lib/template_cloudnord/convention_fr.ts b/functions/src/generator/lib/template_cloudnord/convention_fr.ts index cba9943..4de167f 100644 --- a/functions/src/generator/lib/template_cloudnord/convention_fr.ts +++ b/functions/src/generator/lib/template_cloudnord/convention_fr.ts @@ -1,3 +1,5 @@ +import Signature from "./signature"; + export default ` # CONVENTION DE PARTENARIAT @@ -100,6 +102,5 @@ Fait à Lille le <%= DATE %> en deux exemplaires originaux         L'association                                                                           Le partenaire - +${Signature} `; diff --git a/functions/src/generator/lib/template_cloudnord/invoice_fr.ts b/functions/src/generator/lib/template_cloudnord/invoice_fr.ts index ec9db24..a82d786 100644 --- a/functions/src/generator/lib/template_cloudnord/invoice_fr.ts +++ b/functions/src/generator/lib/template_cloudnord/invoice_fr.ts @@ -1,5 +1,8 @@ +import Logo from "./logo"; +import Signature from "./signature"; + export default ` - +${Logo}
Date : <%= DATE %>
@@ -76,6 +79,5 @@ En votre aimable règlement,
Cloud Nord
-
+
${Signature}
`; diff --git a/functions/src/generator/lib/template_cloudnord/logo.ts b/functions/src/generator/lib/template_cloudnord/logo.ts new file mode 100644 index 0000000..d8164c4 --- /dev/null +++ b/functions/src/generator/lib/template_cloudnord/logo.ts @@ -0,0 +1,3 @@ +const Logo = ``; + +export default Logo; diff --git a/functions/src/generator/lib/template_cloudnord/proforma_invoice_fr.ts b/functions/src/generator/lib/template_cloudnord/proforma_invoice_fr.ts index 09debbd..00ccbf0 100644 --- a/functions/src/generator/lib/template_cloudnord/proforma_invoice_fr.ts +++ b/functions/src/generator/lib/template_cloudnord/proforma_invoice_fr.ts @@ -1,5 +1,7 @@ +import Logo from "./logo"; +import Signature from "./signature"; export default ` - +${Logo}
Date : <%= DATE %>
@@ -77,6 +79,5 @@ En votre aimable règlement,
Cloud Nord
-
+
${Signature}
`; diff --git a/functions/src/generator/lib/template_cloudnord/signature.ts b/functions/src/generator/lib/template_cloudnord/signature.ts new file mode 100644 index 0000000..96fc5b0 --- /dev/null +++ b/functions/src/generator/lib/template_cloudnord/signature.ts @@ -0,0 +1,4 @@ +const Signature = ``; + +export default Signature;