templates/email/send_payment_notification.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns:v="urn:schemas-microsoft-com:vml">
  4. <head>
  5.     <!-- Google tag (gtag.js) -->
  6.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-1C8Z7G6L48"></script>
  7.     <script>
  8.         window.dataLayer = window.dataLayer || [];
  9.         function gtag(){dataLayer.push(arguments);}
  10.         gtag('js', new Date());
  11.         gtag('config', 'G-1C8Z7G6L48');
  12.     </script>
  13.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  14.     <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>
  15.     <!--[if !mso]--><!-- -->
  16.     <link href='https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,600,700' rel="stylesheet">
  17.     <link href='https://fonts.googleapis.com/css?family=Quicksand:300,400,700' rel="stylesheet">
  18.     <!-- <![endif]-->
  19.     <title>Material Design for Bootstrap</title>
  20.     <style type="text/css">
  21.         body {
  22.             width: 100%;
  23.             background-color: #ffffff;
  24.             margin: 0;
  25.             padding: 0;
  26.             -webkit-font-smoothing: antialiased;
  27.             mso-margin-top-alt: 0px;
  28.             mso-margin-bottom-alt: 0px;
  29.             mso-padding-alt: 0px 0px 0px 0px;
  30.         }
  31.         p,
  32.         h1,
  33.         h2,
  34.         h3,
  35.         h4 {
  36.             margin-top: 0;
  37.             margin-bottom: 0;
  38.             padding-top: 0;
  39.             padding-bottom: 0;
  40.         }
  41.         span.preheader {
  42.             display: none;
  43.             font-size: 1px;
  44.         }
  45.         html {
  46.             width: 100%;
  47.         }
  48.         table {
  49.             font-size: 14px;
  50.             border: 0;
  51.         }
  52.         /* ----------- responsivity ----------- */
  53.         @media only screen and (max-width: 640px) {
  54.             /*------ top header ------ */
  55.             .main-header {
  56.                 font-size: 20px !important;
  57.             }
  58.             .main-section-header {
  59.                 font-size: 28px !important;
  60.             }
  61.             .show {
  62.                 display: block !important;
  63.             }
  64.             .hide {
  65.                 display: none !important;
  66.             }
  67.             .align-center {
  68.                 text-align: center !important;
  69.             }
  70.             .no-bg {
  71.                 background: none !important;
  72.             }
  73.             /*----- main image -------*/
  74.             .main-image img {
  75.                 width: 440px !important;
  76.                 height: auto !important;
  77.             }
  78.             /* ====== divider ====== */
  79.             .divider img {
  80.                 width: 440px !important;
  81.             }
  82.             /*-------- container --------*/
  83.             .container590 {
  84.                 width: 440px !important;
  85.             }
  86.             .container580 {
  87.                 width: 400px !important;
  88.             }
  89.             .main-button {
  90.                 width: 220px !important;
  91.             }
  92.             /*-------- secions ----------*/
  93.             .section-img img {
  94.                 width: 320px !important;
  95.                 height: auto !important;
  96.             }
  97.             .team-img img {
  98.                 width: 100% !important;
  99.                 height: auto !important;
  100.             }
  101.         }
  102.         @media only screen and (max-width: 479px) {
  103.             /*------ top header ------ */
  104.             .main-header {
  105.                 font-size: 18px !important;
  106.             }
  107.             .main-section-header {
  108.                 font-size: 26px !important;
  109.             }
  110.             /* ====== divider ====== */
  111.             .divider img {
  112.                 width: 280px !important;
  113.             }
  114.             /*-------- container --------*/
  115.             .container590 {
  116.                 width: 280px !important;
  117.             }
  118.             .container590 {
  119.                 width: 280px !important;
  120.             }
  121.             .container580 {
  122.                 width: 260px !important;
  123.             }
  124.             /*-------- secions ----------*/
  125.             .section-img img {
  126.                 width: 280px !important;
  127.                 height: auto !important;
  128.             }
  129.         }
  130.     </style>
  131.     <!-- [if gte mso 9]>
  132.     <style type=”text/css”>
  133.         body {
  134.             font-family: arial, sans-serif !important;
  135.         }
  136.     </style>
  137.     <![endif]-->
  138. </head>
  139. <body class="respond" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  140. <!-- pre-header -->
  141. <table style="display:none!important;">
  142.     <tr>
  143.         <td>
  144.             <div style="overflow:hidden;display:none;font-size:1px;color:#ffffff;line-height:1px;font-family:Arial;maxheight:0px;max-width:0px;opacity:0;">
  145.                 {{ email.getSubject() }}
  146.             </div>
  147.         </td>
  148.     </tr>
  149. </table>
  150. <!-- pre-header end -->
  151. <!-- header -->
  152. <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="ffffff">
  153.     <tr>
  154.         <td align="center">
  155.             <table border="0" align="center" width="590" cellpadding="0" cellspacing="0" class="container590">
  156.                 <tr>
  157.                     <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  158.                 </tr>
  159.                 <tr>
  160.                     <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  161.                 </tr>
  162.             </table>
  163.         </td>
  164.     </tr>
  165. </table>
  166. <!-- end header -->
  167. <!-- big image section -->
  168. <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="ffffff" class="bg_color">
  169.     <tr>
  170.         <td align="center">
  171.             <table border="0" align="center" width="590" cellpadding="0" cellspacing="0" class="container590">
  172.                 <tr>
  173.                     <td align="center" class="section-img">
  174.                         <a href="" style=" border-style: none !important; display: block; border: 0 !important;"><img
  175.                                     src="{{ email.image('@images/transaction-blue.jpg') }}"
  176.                                     style="display: block; width: 590px;" width="590" border="0" alt=""/></a>
  177.                     </td>
  178.                 </tr>
  179.                 <tr>
  180.                     <td height="20" style="font-size: 20px; line-height: 20px;">&nbsp;</td>
  181.                 </tr>
  182.                 <tr>
  183.                     <td align="center"
  184.                         style="color: #343434; font-size: 24px; font-family: Quicksand, Calibri, sans-serif; font-weight:700;letter-spacing: 3px; line-height: 35px;"
  185.                         class="main-header">
  186.                         <div style="line-height: 35px">
  187.                            <span style="color:#2e75ac ;">TRANSACTION  {{ transaction.status }}</span>
  188.                         </div>
  189.                     </td>
  190.                 </tr>
  191.                 <tr>
  192.                     <td height="10" style="font-size: 10px; line-height: 10px;">&nbsp;</td>
  193.                 </tr>
  194.                 <tr>
  195.                     <td align="center">
  196.                         <table border="0" width="40" align="center" cellpadding="0" cellspacing="0" bgcolor="eeeeee">
  197.                             <tr>
  198.                                 <td height="2" style="font-size: 2px; line-height: 2px;">&nbsp;</td>
  199.                             </tr>
  200.                         </table>
  201.                     </td>
  202.                 </tr>
  203.                 <tr>
  204.                     <td height="20" style="font-size: 20px; line-height: 20px;">&nbsp;</td>
  205.                 </tr>
  206.                 <tr>
  207.                     <td align="center">
  208.                         <table border="0" width="400" align="center" cellpadding="0" cellspacing="0"
  209.                                class="container590">
  210.                             <tr>
  211.                                 <td align="center"
  212.                                     style="color: #888888; font-size: 16px; font-family: 'Work Sans', Calibri, sans-serif; line-height: 24px;">
  213.                                     <div style="line-height: 24px">
  214. {#                                        vôtre demande <b>{{ folder.number }}</b> est en cours de validation.#}
  215.                                        N° de la demande: <b>{{ folder.number }}</b> <br/>
  216.                                         Nom du dossier: <b>{{ folder.documentCategory.label }}</b> <br/>
  217.                                         Commune: <b>{{ folder.site.label }}</b> <br/>
  218.                                         montant: <b>{{ transaction.amount }}{{ transaction.currency }}</b> <br />
  219.                                         Methode de paiement: <b>{{ transaction.clientOperator }}</b> <br/>
  220.                                         Auteur: <b>{{ folder.userCreate.username}}</b> <br/>
  221.                                     </div>
  222.                                 </td>
  223.                             </tr>
  224.                         </table>
  225.                     </td>
  226.                 </tr>
  227.                 <tr>
  228.                     <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  229.                 </tr>
  230.                 {% if transaction.status is same as "SUCCESS" %}
  231.                 <tr>
  232.                     <td align="center">
  233.                         <table border="0" align="center" width="160" cellpadding="0" cellspacing="0" bgcolor="5caad2"
  234.                                style="">
  235.                             <tr>
  236.                                 <td height="10" style="font-size: 10px; line-height: 10px;">&nbsp;</td>
  237.                             </tr>
  238.                             <tr>
  239.                                 <td align="center"
  240.                                     style="color: #ffffff; font-size: 14px; font-family: 'Work Sans', Calibri, sans-serif; line-height: 26px;">
  241.                                     {# on ne peut voir la demande que si le statut de la transaction est success#}
  242.                                     <div style="line-height: 26px;">
  243.                                         <a href="{{ url('app_folder_view',{folder_id: folder.id}) }}" style="color: #ffffff; text-decoration: none;">VOIR DEMANDE</a>
  244.                                     </div>
  245.                                 </td>
  246.                             </tr>
  247.                             <tr>
  248.                                 <td height="10" style="font-size: 10px; line-height: 10px;">&nbsp;</td>
  249.                             </tr>
  250.                         </table>
  251.                     </td>
  252.                 </tr>
  253.                 {% endif %}
  254.             </table>
  255.         </td>
  256.     </tr>
  257. </table>
  258. <!-- end section -->
  259. <!-- contact section -->
  260. <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="ffffff" class="bg_color">
  261.     <tr class="hide">
  262.         <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  263.     </tr>
  264.     <tr>
  265.         <td height="40" style="font-size: 40px; line-height: 40px;">&nbsp;</td>
  266.     </tr>
  267.     <tr>
  268.         <td height="60" style="border-top: 1px solid #e0e0e0;font-size: 60px; line-height: 60px;">&nbsp;</td>
  269.     </tr>
  270.     <tr>
  271.         <td align="center">
  272.             <table border="0" align="center" width="590" cellpadding="0" cellspacing="0" class="container590 bg_color">
  273.                 <tr>
  274.                     <td>
  275.                         <table border="0" width="300" align="left" cellpadding="0" cellspacing="0"
  276.                                style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"
  277.                                class="container590">
  278.                             <tr>
  279.                                 <!-- logo -->
  280.                                 <td align="left">
  281.                                     <a href=""
  282.                                        style="display: block; border-style: none !important; border: 0 !important;"><img
  283.                                                 width="80" border="0" style="display: block; width: 80px;"
  284.                                                 src="{{ email.image('@images/logoHVK.png') }}" alt=""/></a>
  285.                                 </td>
  286.                             </tr>
  287.                             <tr>
  288.                                 <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  289.                             </tr>
  290.                             <tr>
  291.                                 <td align="left"
  292.                                     style="color: #888888; font-size: 14px; font-family: 'Work Sans', Calibri, sans-serif; line-height: 23px;"
  293.                                     class="text_color">
  294.                                     <div style="color: #333333; font-size: 14px; font-family: 'Work Sans', Calibri, sans-serif; font-weight: 600; mso-line-height-rule: exactly; line-height: 23px;">
  295.                                         écrivez nous: <br/> <a href="mailto:"
  296.                                                            style="color: #888888; font-size: 14px; font-family: 'Hind Siliguri', Calibri, Sans-serif; font-weight: 400;">[email protected]</a>
  297.                                     </div>
  298.                                 </td>
  299.                             </tr>
  300.                         </table>
  301.                         <table border="0" width="2" align="left" cellpadding="0" cellspacing="0"
  302.                                style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"
  303.                                class="container590">
  304.                             <tr>
  305.                                 <td width="2" height="10" style="font-size: 10px; line-height: 10px;"></td>
  306.                             </tr>
  307.                         </table>
  308.                         <table border="0" width="200" align="right" cellpadding="0" cellspacing="0"
  309.                                style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"
  310.                                class="container590">
  311.                             <tr>
  312.                                 <td class="hide" height="45" style="font-size: 45px; line-height: 45px;">&nbsp;</td>
  313.                             </tr>
  314.                             <tr>
  315.                                 <td height="15" style="font-size: 15px; line-height: 15px;">&nbsp;</td>
  316.                             </tr>
  317.                             <tr>
  318.                                 <td>
  319.                                     <table border="0" align="right" cellpadding="0" cellspacing="0">
  320.                                         <tr>
  321.                                             <td>
  322.                                                 <a href="#"
  323.                                                    style="display: block; border-style: none !important; border: 0 !important;"><img
  324.                                                             width="24" border="0" style="display: block;"
  325.                                                             src="http://i.imgur.com/Qc3zTxn.png" alt=""></a>
  326.                                             </td>
  327.                                             <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  328.                                             <td>
  329.                                                 <a href="#"
  330.                                                    style="display: block; border-style: none !important; border: 0 !important;"><img
  331.                                                             width="24" border="0" style="display: block;"
  332.                                                             src="http://i.imgur.com/RBRORq1.png" alt=""></a>
  333.                                             </td>
  334.                                             <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  335.                                             <td>
  336.                                                 <a href="#"
  337.                                                    style="display: block; border-style: none !important; border: 0 !important;"><img
  338.                                                             width="24" border="0" style="display: block;"
  339.                                                             src="http://i.imgur.com/Wji3af6.png" alt=""></a>
  340.                                             </td>
  341.                                         </tr>
  342.                                     </table>
  343.                                 </td>
  344.                             </tr>
  345.                         </table>
  346.                     </td>
  347.                 </tr>
  348.             </table>
  349.         </td>
  350.     </tr>
  351.     <tr>
  352.         <td height="60" style="font-size: 60px; line-height: 60px;">&nbsp;</td>
  353.     </tr>
  354. </table>
  355. <!-- end section -->
  356. <!-- footer ====== -->
  357. <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="f4f4f4">
  358.     <tr>
  359.         <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  360.     </tr>
  361.     <tr>
  362.         <td align="center">
  363. {#            <table border="0" align="center" width="590" cellpadding="0" cellspacing="0" class="container590">#}
  364. {#                <tr>#}
  365. {#                    <td>#}
  366. {#                        <table border="0" align="left" cellpadding="0" cellspacing="0"#}
  367. {#                               style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"#}
  368. {#                               class="container590">#}
  369. {#                            <tr>#}
  370. {#                                <td align="left"#}
  371. {#                                    style="color: #aaaaaa; font-size: 14px; font-family: 'Work Sans', Calibri, sans-serif; line-height: 24px;">#}
  372. {#                                    <div style="line-height: 24px;">#}
  373. {#                                        <span style="color: #333333;">Material Design for Bootstrap</span>#}
  374. {#                                    </div>#}
  375. {#                                </td>#}
  376. {#                            </tr>#}
  377. {#                        </table>#}
  378. {#                        <table border="0" align="left" width="5" cellpadding="0" cellspacing="0"#}
  379. {#                               style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"#}
  380. {#                               class="container590">#}
  381. {#                            <tr>#}
  382. {#                                <td height="20" width="5" style="font-size: 20px; line-height: 20px;">&nbsp;</td>#}
  383. {#                            </tr>#}
  384. {#                        </table>#}
  385. {#                        <table border="0" align="right" cellpadding="0" cellspacing="0"#}
  386. {#                               style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"#}
  387. {#                               class="container590">#}
  388. {#                            <tr>#}
  389. {#                                <td align="center">#}
  390. {#                                    <table align="center" border="0" cellpadding="0" cellspacing="0">#}
  391. {#                                        <tr>#}
  392. {#                                            <td align="center">#}
  393. {#                                                <a style="font-size: 14px; font-family: 'Work Sans', Calibri, sans-serif; line-height: 24px;color: #5caad2; text-decoration: none;font-weight:bold;"#}
  394. {#                                                   >UNSUBSCRIBE</a>#}
  395. {#                                            </td>#}
  396. {#                                        </tr>#}
  397. {#                                    </table>#}
  398. {#                                </td>#}
  399. {#                            </tr>#}
  400. {#                        </table>#}
  401. {#                    </td>#}
  402. {#                </tr>#}
  403. {#            </table>#}
  404.         </td>
  405.     </tr>
  406.     <tr>
  407.         <td height="25" style="font-size: 25px; line-height: 25px;">&nbsp;</td>
  408.     </tr>
  409. </table>
  410. <!-- end footer ====== -->
  411. </body>
  412. </html>