src/ApplicationBundle/Resources/views/codecovers_footer.html.twig line 1

Open in your IDE?
  1. {% if not include_html is defined %}
  2.     {% set include_html=1 %}
  3.     {% if  app.request.request.get('skipHTML') !='' %}
  4.         {% set include_html= 0 %}
  5.     {% endif %}
  6. {% endif %}
  7. {% if include_html==1 %}
  8.     <script>
  9.         if (typeof module === 'object') {
  10.             window.module = module;
  11.             module = undefined;
  12.         }
  13.         //    require('./preload');
  14.     </script>
  15.     {% if pdf is defined and pdf==true %}
  16.     {% else %}
  17.         <script>window.jQuery || document.write('<script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}jqueryui/external/jquery/jquery.js"><\/script>')</script>
  18.         {#<script type="text/javascript"#}
  19.                 {#src="{{ absolute_url(path('dashboard')) }}jqueryui/external/jquery/jquery.js"></script>#}
  20.         {#<script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}js/html2pdf.bundle.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>#}
  21.         {#<script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}js/html2canvas.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>#}
  22.         {#<script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}js/jspdf.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>#}
  23.         {#<script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}js/jspdfhtml.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>#}
  24.         <script type="text/javascript"
  25.                 src="{{ absolute_url(path('dashboard')) }}js/excel_export.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>
  26.         <script type="text/javascript"
  27.                 src="{{ absolute_url(path('dashboard')) }}js/pdf_export.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>
  28.     {% endif %}
  29. {% endif %}
  30. {% if not invoice_footer is defined %}
  31.     {#<script type="text/javascript">alert('PIKAA')</script>#}
  32.     {% if approval_data is defined %}
  33.         {#{% elseif another_skip_flag is defined %}#}
  34.         {#{% else %}#}
  35.         {#<script type="text/javascript">alert('PIKAA')</script>#}
  36.         {% set dataDocEntity=approval_data.entity %}
  37.         {% set dataDocEntityId=approval_data.entityId %}
  38.         {% include '@Application/inc/snippets/comment_box_codecovers.html.twig' %}
  39.     {% endif %}
  40. {% endif %}
  41. <script type="text/javascript" src="{{ absolute_url(path('dashboard')) }}js/responsiveVoice.js?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}&key=dDGWRITW"></script>
  42. {% if include_html==1 %}
  43.     </body>
  44.     </html>
  45. {% endif %}
  46. {# <script src="{{ asset('js/treant_js/raphael.js') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script>
  47. <script src="{{ asset('js/treant_js/Treant.js') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script> #}
  48. {# <script src="{{ asset('js/utilitie.js') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}"></script> #}