src/ApplicationBundle/Resources/views/codecovers_header.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.     {% if  app.request.query.get('skipHTML') !='' %}
  7.         {% set include_html= 0 %}
  8.     {% endif %}
  9. {% endif %}
  10. {% if include_html==1 %}
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  15.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  16.     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
  17.     <meta name="description"
  18.           content="HoneyBee Ecosystem is a Full Fledged Ecosystem adaptive for Every Type of business Needs">
  19.     <meta name="keywords" content="ERP, Honeybee, honey bee,Mozibul Yasser, Business, Management, ">
  20.     <meta name="author" content="ThemeSelect">
  21.     <title id="pageTitle">{{ page_title }}</title>
  22.     <link rel="shortcut icon" type="image/x-icon"
  23.           href="{{ asset('favicon.ico') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  24.     <link rel="apple-touch-icon" sizes="180x180"
  25.           href="{{ asset('apple-icon.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  26.     <link rel="icon" type="image/png" sizes="32x32"
  27.           href="{{ asset('favicon-32x32.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  28.     <link rel="icon" type="image/png" sizes="16x16"
  29.           href="{{ asset('favicon-16x16.png') }}?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  30.     <link rel="manifest" href="{{ asset('site.webmanifest') }}">
  31.     <link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#f2003a">
  32.     <meta name="msapplication-TileColor" content="#00aba9">
  33.     <meta name="theme-color" content="#ffffff">
  34.     {# <link rel="apple-touch-icon" href="pixinvent/images/favicon/apple-touch-icon-152x152.png"> #}
  35.     {# <link rel="shortcut icon" type="image/x-icon" href="pixinvent/images/favicon/favicon-32x32.png"> #}
  36.     <style>
  37.         .table-column-hidden {
  38.             display: none;
  39.         }
  40.         .card-body-hidden {
  41.             display: none;
  42.         }
  43.         .inplaceEdit .fa.fa-edit {
  44.             display: none;
  45.         }
  46.         embed {
  47.             width: auto !important;
  48.             height: unset !important;
  49.             max-width: 80vw !important;
  50.         }
  51.         {% if app.session.get('devAdminMode') !=1 %}
  52.         .sf-toolbar {
  53.             display: none !important;
  54.         }
  55.         {% endif %}
  56.         .mobile_approval {
  57.             position: fixed;
  58.             bottom: 0;
  59.             left: 0;
  60.             z-index: 99999;
  61.             width: 100vw;
  62.             background: orange;
  63.             text-align: center !important;
  64.             display: none;
  65.         }
  66.         .wide_screen_approval {
  67.             display: block;
  68.             text-align: center !important;
  69.         }
  70.         @media only screen and (max-width: 400px) {
  71.             .headerbar-right .header-nav.header-nav-options {
  72.                 display: none !important;
  73.             }
  74.             .headerbar-right .header-nav.header-nav-profile.company_selector {
  75.                 display: contents !important;
  76.             }
  77.         }
  78.         @media (max-width: 768px) {
  79.             .mobile_approval {
  80.                 display: block;
  81.             }
  82.             .wide_screen_approval {
  83.                 display: none;
  84.             }
  85.             #content {
  86.                 padding-top: 128px !important;
  87.             }
  88.         }
  89.         @media (max-width: 550px) {
  90.             #content {
  91.                 padding-top: 192px !important;
  92.             }
  93.         }
  94.         .material-icons {
  95.             display: none;
  96.             font-size: inherit !important;
  97.         }
  98.         .align_center {
  99.             text-align: center;
  100.         }
  101.         .align_right, .trans_amount {
  102.             text-align: right;
  103.         }
  104.         .align_left {
  105.             text-align: left;
  106.         }
  107.         .selection_on_header {
  108.             margin-top: 7px;
  109.             margin-bottom: 7px;
  110.             margin-left: 24px;
  111.             line-height: normal;
  112.             vertical-align: middle;
  113.             position: relative;
  114.             display: inline-table;
  115.             padding: 0;
  116.             white-space: nowrap;
  117.             border-radius: 2px;
  118.             -webkit-transition: background 0.25s ease-in-out;
  119.             -o-transition: background 0.25s ease-in-out;
  120.             transition: background 0.25s ease-in-out;
  121.         }
  122.         .selection_on_header .form-group {
  123.             margin-bottom: 0px;
  124.             padding-top: 0px !important;
  125.         }
  126.         .selection_on_header .selectize-control.form-control {
  127.             /*margin-bottom: 0px;*/
  128.             border-bottom: 0px;
  129.             height: 34px;
  130.         }
  131.         .selectize-control.form-control .selectize-input {
  132.             /*margin-bottom: 0px;*/
  133.             padding-right: 30px;
  134.             /*height: 34px;*/
  135.         }
  136.         .form-control .selectize-dropdown {
  137.             font-size: 13px;;
  138.         }
  139.         .form-control .selectize-dropdown h6 {
  140.             font-size: 14px;;
  141.         }
  142.         /*.card.style-accent-dark .header .selectize-input {*/
  143.         /*background-color: #681a7f;*/
  144.         /*border-color: #681a7f;*/
  145.         /*color: #ffffff;*/
  146.         /*}*/
  147.         .card.style-accent-dark .header .selectize-input.input-active,
  148.         .card.style-accent-dark .header .selectize-input {
  149.             background-color: #681a7f;
  150.             border-color: #681a7f;
  151.             color: #ffffff;
  152.         }
  153.         .card.style-accent-dark .selectize-control.single .selectize-input:after {
  154.             display: none;
  155.             background-color: #681a7f;
  156.             border-color: #ffffff transparent transparent transparent;
  157.             color: #ffffff;
  158.             right: 0px;
  159.         }
  160.         {%  if  app.request.get('_route')!='print_check' %}
  161.         html {
  162.             /*zoom: 0.75;*/
  163.             /*transform: scale(0.8);*/
  164.             /*transform-origin: top left; !* Adjust as needed *!*/
  165.             /*width: 125%; !* To compensate for scaling *!*/
  166.             /*height: 125% !important;*/
  167.         }
  168.         @media print {
  169.             html {
  170.                 /*transform: scale(.75);*/
  171.                 /*transform-origin: 0 0;*/
  172.             }
  173.             @page {
  174.                 /*size: 297mm 210mm; !* landscape *!*/
  175.                 /*size: 210mm 297mm; !* landscape *!*/
  176.                 /* you can also specify margins here: */
  177.                 /*margin: 25mm;*/
  178.                 /*margin-right: 45mm; !* for compatibility with both A4 and Letter *!*/
  179.             }
  180.         }
  181.         {% endif %}
  182.         .honeybee_sidebar.tabs-right > .nav-tabs > li > a {
  183.             min-width: unset !important;
  184.             margin-right: 0;
  185.         }
  186.     </style>
  187.     {# <link href='fonts/css0a62.css?family=Roboto:300italic,400italic,300,400,500,700,900' rel='stylesheet' type='text/css'/> #}
  188.     <link rel="stylesheet" href="{{ asset('css/custom.css') }}">
  189.     <link rel="stylesheet"
  190.           href="{{ absolute_url(path('dashboard')) }}css/icone91f.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}&family=Material+Icons"
  191.           type="text/css">
  192.     <link rel="stylesheet"
  193.           href="{{ absolute_url(path('dashboard')) }}css/glyphicon_font_face.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}&family=Material+Icons"
  194.           type="text/css">
  195.     {# <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> #}
  196.     <link rel="stylesheet"
  197.           href="{{ absolute_url(path('dashboard')) }}condensed_assets/styles_codecovers.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  198.     <link type="text/css" rel="stylesheet"
  199.           href='{{ absolute_url(path('dashboard')) }}fonts/material-design-iconic-font/css/material-design-iconic-font.css'/>
  200.     <link rel="stylesheet"
  201.           href="{{ absolute_url(path('dashboard')) }}condensed_assets/placeholder_loader.css?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }}">
  202.     {% if not new_calendar_version is defined %}
  203.         {% set new_calendar_version=0 %}
  204.     {% endif %}
  205.     {% if new_calendar_version==0 %}
  206.         <link rel="stylesheet" href="{{ asset('css/fullcalendar.min.css') }}">
  207.     {% endif %}
  208.     <link rel="stylesheet" href="{{ asset('css/cal_print.css') }}" media="print">
  209.     <style>
  210.         /*.table > thead > tr > th {*/
  211.         /*vertical-align: bottom;*/
  212.         /*border-bottom: 2px solid #ddd;*/
  213.         /*}*/
  214.         /*body, .body, .card .body, .sidebar .menu .list a span, .form-control {*/
  215.         /*font-size: 12px;*/
  216.         /*!*font-size: 11px;*!*/
  217.         /*font-weight: 400;*/
  218.         /*}*/
  219.         .trans_amount:not(.latch_top), .align_right {
  220.             text-align: right !important;
  221.             vertical-align: middle;
  222.         }
  223.         .align_left:not(.latch_top) {
  224.             text-align: left !important;
  225.             vertical-align: middle;
  226.         }
  227.         .align_center:not(.latch_top) {
  228.             text-align: center !important;
  229.             vertical-align: middle;
  230.         }
  231.         .latch_top {
  232.             vertical-align: top !important;
  233.         }
  234.         .ver_mid {
  235.             vertical-align: middle !important;
  236.         }
  237.     </style>
  238.     {# <script type="text/javascript" src="{{ constant('ApplicationBundle\\Constants\\GeneralConstant::NOTIFICATION_SERVER') }}/socket.io/socket.io.js"></script> #}
  239.     <style>
  240.         {##preloader { position: fixed; left: 0; top: 0; z-index: 999; width: 100%; height: 100%; overflow: visible;#}
  241.         {#background: #333 url('{{ absolute_url(path('dashboard')) }}/images/loading_2.gif') no-repeat center center; }#}
  242.         {#@media (max-width: 767px) {#}
  243.         {#.sidebar-toggle {#}
  244.         {#display: none !important;#}
  245.         {#}#}
  246.         {#}#}
  247.         .table > thead > tr > th {
  248.             vertical-align: bottom;
  249.             border-bottom: 2px solid #ddd;
  250.         }
  251.         @media print {
  252.             .dont_print {
  253.                 display: none !important;
  254.                 border: none !important;
  255.             }
  256.             .only_print {
  257.                 display: block !important;
  258.             }
  259.             .full_page {
  260.                 height: calc(100vw * 1);
  261.             }
  262.             /*section.content {*/
  263.             /*margin-left: 15px*/
  264.             /*}*/
  265.         }
  266.         .full_page {
  267.             height: calc(100vw * 1);
  268.         }
  269.         .only_print {
  270.             display: none;
  271.         }
  272.         .selectize-control.single .selectize-input, .selectize-control.single .selectize-input input {
  273.             cursor: pointer;
  274.             border: none;
  275.         }
  276.         .form-line .selectize-input {
  277.             border: none;
  278.         }
  279.         .dt-gen-button .fa {
  280.             margin: 1px 0 3px 5px;
  281.         }
  282.         /*.dt-gen-button*/
  283.         /*{*/
  284.         /*float:right;*/
  285.         /*}*/
  286.         .dt-buttons .dt-gen-button {
  287.             /*float: right;*/
  288.             float: none;
  289.             width: 15% !important;
  290.             /*max-width: 94px;*/
  291.             /*margin-left:20px !important;*/
  292.         }
  293.         h5 table {
  294.             max-width: 100% !important;
  295.         }
  296.         .dt-buttons {
  297.             width: 100%;
  298.             text-align: center;
  299.             /*background-color: grey;*/
  300.         }
  301.         #page_data_table_search {
  302.             width: 95%;
  303.             padding-left: 1rem;
  304.             border-radius: 3rem;
  305.             -webkit-box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -7px rgba(0, 0, 0, .2);
  306.             box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -7px rgba(0, 0, 0, .2);
  307.         }
  308.         .form-control.selectize-control {
  309.             border-bottom: 1px solid rgba(12, 12, 12, 0.12);
  310.             height: auto;
  311.             min-height: 0px;
  312.         }
  313.         .selectize-input {
  314.             min-height: 0;
  315.             padding: 0 1rem;
  316.             line-height: 1.846153846;
  317.             vertical-align: middle !important;
  318.         }
  319.         .form .form-group .input-group {
  320.             margin-top: 0px;
  321.         }
  322.         .card div[class*="col-md"], .card div[class*="col-lg"], .card div[class*="col-xs"], .card div[class*="col-sm"] {
  323.             margin-bottom: 20px;
  324.         }
  325.         .modal div[class*="col-md"], .modal div[class*="col-lg"], .modal div[class*="col-xs"], .modal div[class*="col-sm"] {
  326.             margin-bottom: 20px;
  327.         }
  328.         .dt-bootstrap div[class*="col-md"], .dt-bootstrap div[class*="col-lg"], .dt-bootstrap div[class*="col-xs"], .dt-bootstrap div[class*="col-sm"] {
  329.             margin-bottom: 0px;
  330.         }
  331.         .btn-icon-toggle.approve_button {
  332.             border-color: cornsilk;
  333.             border-radius: 50% !important;
  334.             border: 2px solid;
  335.             height: 36px;
  336.         }
  337.         .selectize-input, .selectize-control.single .selectize-input.input-active {
  338.             background: inherit;
  339.             /*cursor: text;*/
  340.             /*display: inline-block;*/
  341.         }
  342.         .selectize-input.full:not(:hover) {
  343.             background-color: inherit;
  344.         }
  345.         .selectize-input.full:hover {
  346.             z-index: 999999;
  347.         }
  348.         /*.selectize-input.full {*/
  349.         /*    background-color: inherit;*/
  350.         /*}*/
  351.         .user:hover {
  352.             background: #17a2b8;
  353.             color: white;
  354.             cursor: pointer;
  355.         }
  356.         .d-none {
  357.             display: none;
  358.         }
  359.         .d-block {
  360.             display: block;
  361.         }
  362.         .position-relative {
  363.             position: relative;
  364.         }
  365.         #loader {
  366.             position: absolute;
  367.             top: 0;
  368.             left: 212px;
  369.             margin-top: -16px;
  370.         }
  371.         .mb-1 {
  372.             margin-bottom: 1.5rem;
  373.         }
  374.         .mr-1 {
  375.             margin-right: 1rem;
  376.         }
  377.     </style>
  378.     <style>
  379.         /*drastic*/
  380.         textarea.form-control {
  381.             padding: 0 1rem;
  382.         }
  383.         .bg-blue {
  384.             /*background: blue;*/
  385.         }
  386.         .bg-orange {
  387.             /*background: orange;*/
  388.         }
  389.         table .form-control:not(.trigger_ckeditor ) {
  390.             padding: 0 1rem;
  391.             height: auto;
  392.             border: 1px solid rgba(12, 12, 12, 0.2);
  393.             border-radius: 6px !important;
  394.         }
  395.         .form-control.trigger_ckeditor{
  396.             border: none !important;
  397.             height: auto !important;
  398.         }
  399.         table input.form-control {
  400.             /*padding: 0 0;*/
  401.         }
  402.         table input[type="number"].form-control {
  403.             text-align: right;
  404.         }
  405.         table .form-control[disabled],
  406.         table .form-control[readonly],
  407.         table fieldset[disabled] .form-control {
  408.             background-color: transparent;
  409.             border-color: rgba(12, 12, 12, 0.2);
  410.             border-style: dashed;
  411.         }
  412.         .form .form-group, .form-inline .form-group {
  413.             padding-top: 20px;
  414.             margin-bottom: 2px;
  415.         }
  416.         #relevantForm .form-control {
  417.             height: auto;
  418.         }
  419.         .form-group .form-control:focus ~ label:after, .form-group .form-control:focus ~ .form-control-line:after {
  420.             visibility: hidden;
  421.             width: 100%;
  422.             left: 0;
  423.         }
  424.         .width-13 {
  425.             width: 520px;
  426.         }
  427.         .width-50-percent {
  428.             width: 50vw;
  429.         }
  430.         @media (max-width: 580px) {
  431.             .width-50-percent {
  432.                 width: 100vw;
  433.             }
  434.         }
  435.     </style>
  436.     <script>
  437.         if (typeof module === 'object') {
  438.             window.module = module;
  439.             module = undefined;
  440.         }
  441.         //    require('./preload');
  442.     </script>
  443.     <script>
  444.         var logger = function () {
  445.             var oldConsoleLog = null;
  446.             var pub = {};
  447.             pub.enableLogger = function enableLogger() {
  448.                 if (oldConsoleLog == null)
  449.                     return;
  450.                 window['console']['log'] = oldConsoleLog;
  451.             };
  452.             pub.disableLogger = function disableLogger() {
  453.                 oldConsoleLog = console.log;
  454.                 window['console']['log'] = function () {
  455.                 };
  456.             };
  457.             return pub;
  458.         }();
  459.         {% if app.session.get('devAdminMode') ==1 %}
  460.         {% else %}
  461.         window['console']['log'] = function () {
  462.         };
  463.         {% endif %}
  464.     </script>
  465.     <script src="https://code.jquery.com/jquery-3.4.1.min.js"
  466.             integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
  467. </head>
  468. <body class="menubar-hoverable header-fixed ">
  469. {% if pdf is defined and pdf==true %}
  470. {% else %}
  471.     {% include  '@Application/inc/snippets/export_bar.html.twig' %}
  472. {% endif %}
  473. <!--<div id="preloader"></div>-->
  474. {% if not isEmailBody is defined %}
  475.     <div class="ph-item"
  476.          style="display:none;top:0; left:0; right:0; bottom:0; position:fixed;width: 100%;height: 100%;z-index: 9999;">
  477.         {# <div class="ph-col-12"> #}
  478.         {# <div class="ph-picture"></div> #}
  479.         {# <div class="ph-row"> #}
  480.         {# <div class="ph-col-6 big"></div> #}
  481.         {# <div class="ph-col-4 empty big"></div> #}
  482.         {# <div class="ph-col-2 big"></div> #}
  483.         {# <div class="ph-col-4"></div> #}
  484.         {# <div class="ph-col-8 empty"></div> #}
  485.         {# <div class="ph-col-6"></div> #}
  486.         {# <div class="ph-col-6 empty"></div> #}
  487.         {# <div class="ph-col-12"></div> #}
  488.         {# </div> #}
  489.         {# </div> #}
  490.         <div class="ph-col-12">
  491.             {# <div class="ph-picture"></div> #}
  492.             <div class="ph-row">
  493.                 <div class="ph-col-12 big"></div>
  494.                 <div class="ph-col-12 big"></div>
  495.                 <div class="ph-col-2 empty big"></div>
  496.                 <div class="ph-col-2 empty big"></div>
  497.                 <div class="ph-col-8  empty big"></div>
  498.                 <div class="ph-col-2 "></div>
  499.                 <div class="ph-col-2 empty big"></div>
  500.                 <div class="ph-col-8  empty big"></div>
  501.                 <div class="ph-col-2 "></div>
  502.                 <div class="ph-col-2 empty big"></div>
  503.                 <div class="ph-col-8  "></div>
  504.                 <div class="ph-col-2 "></div>
  505.                 <div class="ph-col-2 empty big"></div>
  506.                 <div class="ph-col-8  "></div>
  507.                 <div class="ph-col-2 "></div>
  508.                 <div class="ph-col-2 empty big"></div>
  509.                 <div class="ph-col-8  "></div>
  510.                 <div class="ph-col-2 "></div>
  511.                 <div class="ph-col-2 empty big"></div>
  512.                 <div class="ph-col-8  "></div>
  513.                 <div class="ph-col-2 "></div>
  514.                 <div class="ph-col-2 empty big"></div>
  515.                 <div class="ph-col-2 big  "></div>
  516.                 <div class="ph-col-2 big empty "></div>
  517.                 <div class="ph-col-4 big  "></div>
  518.                 <div class="ph-col-2 "></div>
  519.                 <div class="ph-col-2 empty big"></div>
  520.                 <div class="ph-col-2 big  "></div>
  521.                 <div class="ph-col-2 big empty "></div>
  522.                 <div class="ph-col-4 "></div>
  523.             </div>
  524.         </div>
  525.         <div class="ph-col-2 ">
  526.             <div class="ph-picture"></div>
  527.         </div>
  528.         <div class="ph-col-2 empty "></div>
  529.         <div class="ph-col-2">
  530.             <div class="ph-picture"></div>
  531.         </div>
  532.         <div class="ph-col-2 empty"></div>
  533.         <div class="ph-col-4">
  534.             <div class="ph-picture"></div>
  535.         </div>
  536.         <div class="ph-col-12">
  537.             <div class="ph-picture"></div>
  538.         </div>
  539.     </div>
  540.     <div id='ajax_loader_here' style="display: none">
  541.         <img src='{{ asset('images/animated-bee.gif') }}'/>
  542.     </div>
  543.     <div id="loader-container" class="page-preloader" style="
  544.             background: #EDF0F1 url({{ url('dashboard') }}images/audio.svg) no-repeat center center;
  545.             position: fixed;
  546.             overflow: hidden;
  547.             top: 0;
  548.             right: 0;
  549.             left: 0;
  550.             bottom: 0;
  551.             z-index: 99999;"></div>
  552.     <div class="page-loader-wrapper dont_print" id="preloader" style="display: none;">
  553.         <div class="loader">
  554.             <div class="preloader">
  555.                 <div class="spinner-layer pl-red">
  556.                     <div class="circle-clipper left">
  557.                         <div class="circle"></div>
  558.                     </div>
  559.                     <div class="circle-clipper right">
  560.                         <div class="circle"></div>
  561.                     </div>
  562.                 </div>
  563.             </div>
  564.             <p>Please wait...</p>
  565.         </div>
  566.     </div>
  567.     {% include '@Application/inc/notification/no_javascript.html.twig' %}
  568. {% endif %}
  569. {% set full_js_included=0 %}
  570. {% endif %}
  571. {% if not isEmailBody is defined %}
  572.     <script>
  573.         var BaseURL = '{{ url('dashboard') }}';
  574.         var CentralURL = '{{ constant('ApplicationBundle\\Constants\\GeneralConstant::HONEYBEE_CENTRAL_SERVER') }}';
  575.         {# var SYSTEM_DEFAULT_CURRENCY_ID={{ session['systemDefaultCurrency'] }}; #}
  576.         {# var SYSTEM_ACTIVE_CURRENCY_ID={{ session['systemActiveCurrency'] }}; #}
  577.         {# var SYSTEM_DEFAULT_CURRENCY_NAME='{{ session['systemCurrencyName'] }}'; #}
  578.         {# var SYSTEM_DEFAULT_CURRENCY_ICON='{{ session['systemCurrencyIcon'] }}'; #} // will work on later
  579.         var SYSTEM_DEFAULT_CURRENCY_ID = 1;
  580.         var SYSTEM_ACTIVE_CURRENCY_ID = 1;
  581.         var SYSTEM_ACTIVE_CURRENCY_NAME = 'BDT';
  582.         var SYSTEM_ACTIVE_CURRENCY_ICON = '';
  583.         {# var BaseURL='{{ url('dashboard') }}'; #}
  584.         var ACTIVE_ROUTE = "";
  585.         //    window.isElectron = function () {
  586.         //        return 'Bridge' in window;
  587.         //    };
  588.         if (window.isElectron) {
  589. //        alert('pikachi')
  590. //        //    console.log(window.ipcRenderer)
  591.             window.ipcRenderer.send('ping', 'hello')
  592.             window.ipcRenderer.send('asynchronous-reply', 'PIKAAA')
  593. //            window.ipcRenderer.on('pong', function (event, msg) {
  594. //                //    console.log(msg)
  595. //            })
  596. //            setTimeout(function listPorts() {
  597. //                listSerialPorts();
  598. //                setTimeout(listPorts, 5000);
  599. //            }, 2000);
  600.         }
  601.     </script>
  602. {% endif %}
  603. <style>
  604.     .row{
  605.         margin-right: 0px;
  606.     }
  607.     {% if  app.request.query.get('iFrameData') !='' %}
  608.     body {
  609.         zoom: .50;
  610.         -moz-transform: scale(.50);
  611.         -moz-transform-origin: 0 0;
  612.     }
  613.     .section-action, .approve_button, .comment_holder {
  614.         display: none;
  615.     }
  616.     #header {
  617.         display: none !important;
  618.     }
  619.     #base #content {
  620.         padding-top: 0px !important;
  621.     }
  622.     #base {
  623.         padding-bottom: 122px !important;
  624.     }
  625.     .card-actionbar-row.mobile_approval {
  626.         display: none !important;
  627.     }
  628.     #base #content .header {
  629.         display: none !important;
  630.     }
  631.     .section-body .col-xs-12 {
  632.         width: 100%;
  633.         padding: 0px !important;
  634.     }
  635.     {% endif %}
  636.     .toggle-vis:not(.currVis) .fa.fa-check {
  637.         display: none;
  638.     }
  639.     .toggle-vis.currVis .blank_space {
  640.         display: none;
  641.     }
  642.     .hide_td {
  643.         display: none;
  644.     }
  645.     .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  646.         padding-left: 1rem;
  647.         padding-right: 0rem;
  648.     }
  649.     body {
  650.         /*background: #ffffff;*/
  651.     }
  652. </style>
  653. {# Modify CSS here #}
  654. <style>
  655.     #relevantForm .form-control.selectize-control,
  656.     #relevantForm .selectize-control,
  657.     .niceModal .form-control.selectize-control,
  658.     .niceModal .selectize-control {
  659.         border-bottom: 1px solid rgba(12, 12, 12, 0.12);
  660.         height: auto;
  661.         max-height: 31px;
  662.     }
  663.     #relevantForm .form-control.selectize-control.multi,
  664.     #relevantForm .selectize-control.multi,
  665.     .niceModal .form-control.selectize-control.multi,
  666.     .niceModal .selectize-control.multi {
  667.         max-height: unset;
  668.     }
  669.     #relevantForm input.form-control,
  670.     #relevantForm .trigger_ckeditor.form-control,
  671.     .niceModal input.form-control {
  672.         font-size: 14px;
  673.         padding-left: 12px;
  674.     }
  675.     #relevantForm input.form-control {
  676.         font-weight: bold;
  677.     }
  678.     #header {
  679.         height: 40px;
  680.     }
  681.     .headerbar {
  682.         min-height: 40px;
  683.     }
  684.     .header-nav .header-nav-brand {
  685.         height: 40px;
  686.     }
  687.     #menubar {
  688.         top: 40px;
  689.     }
  690.     #content {
  691.         padding-top: 40px;
  692.     }
  693.     .header-nav > li {
  694.         padding: 2px 2px;
  695.     }
  696.     .header-nav-profile .dropdown > a,
  697.     .header-nav-profile .dropdown.open > a {
  698.         min-height: 0px;
  699.         padding: .25rem 1rem;
  700.         margin: 0px;
  701.     }
  702.     .header-nav-profile .dropdown img {
  703.         width: auto;
  704.         height: 33%;
  705.         max-height: 30px;
  706.         border-radius: 40px;
  707.     }
  708.     .header-nav-profile .dropdown.open .dropdown-menu {
  709.         margin-top: 1px;
  710.         border-top: none;
  711.         border-radius: 1rem;
  712.     }
  713.     .header-nav-profile .dropdown.open > a:after,
  714.     .header-nav-profile .dropdown > a:after {
  715.         /*display: none;*/
  716.         right: 1rem;
  717.         top: 4px;
  718.     }
  719.     .headerbar-right .header-nav {
  720.         display: inline-block;
  721.         float: unset;
  722.         vertical-align: middle;
  723.     }
  724.     #relevantForm .selectize-dropdown,
  725.     #relevantForm .selectize-input,
  726.     #relevantForm .selectize-input input,
  727.     .niceModal .selectize-dropdown,
  728.     .niceModal .selectize-input,
  729.     .niceModal .selectize-input input {
  730.         color: #0c0c0c;
  731.         font-size: 14px;
  732.     }
  733.     #relevantForm .selectize-dropdown,
  734.     #relevantForm .selectize-input,
  735.     #relevantForm .selectize-input input {
  736.         font-weight: bold;
  737.     }
  738.     #relevantForm .selectize-input.not-full input,
  739.     .niceModal .selectize-input.not-full input {
  740.         /*color: #0c0c0c;*/
  741.         /*font-weight: normal;*/
  742.         /*font-size: 14px;*/
  743.     }
  744.     #relevantForm .selectize-input.has-items .item,
  745.     .niceModal .selectize-input.has-items .item {
  746.         line-height: 1;
  747.         height: 14px;
  748.         overflow: hidden;
  749.     }
  750.     #relevantForm .selectize-control.multi .selectize-input.has-items .item,
  751.     .niceModal .selectize-control.multi .selectize-input.has-items .item {
  752.         line-height: 1;
  753.         height: 14px;
  754.         overflow: visible;
  755.     }
  756.     #relevantForm .selectize-input.has-items .item:hover,
  757.     .niceModal .selectize-input.has-items .item:hover {
  758.         overflow: visible;
  759.     }
  760.     #relevantForm .itemSegmentTable .form-control.selectize-control, #relevantForm .itemSegmentTable .selectize-control {
  761.         border: 1px solid rgba(12, 12, 12, 0.12);
  762.     }
  763.     #relevantForm .itemSegmentTable .selectize-control .selectize-input:after {
  764.         display: none;
  765.     }
  766.     .itemSegmentTable tfoot td {
  767.         font-size: 1.5rem;
  768.         font-weight: bold;
  769.     }
  770.     .itemSegmentTable th.expanded {
  771.         width: 45% !important;
  772.     }
  773.     .itemtable th.expanded {
  774.         width: 45% !important;
  775.     }
  776.     input[type=number]:not(:focus)::-webkit-inner-spin-button,
  777.     input[type=number]:not(:focus)::-webkit-outer-spin-button {
  778.         -webkit-appearance: none;
  779.         -moz-appearance: none;
  780.         appearance: none;
  781.         margin: 0;
  782.     }
  783.     #relevantForm .open > .dropdown-menu {
  784.     padding: 2rem;
  785.     height: 51rem;
  786.     overflow-y: scroll;
  787.     }
  788.     /*.itemSegmentTable input[type=number]:not(:focus)::-webkit-inner-spin-button,*/
  789.     /*.itemSegmentTable input[type=number]:not(:focus)::-webkit-outer-spin-button {*/
  790.     /*    -webkit-appearance: none;*/
  791.     /*    -moz-appearance: none;*/
  792.     /*    appearance: none;*/
  793.     /*    margin: 0;*/
  794.     /*}*/
  795.     /*#newExpenseModal .form-control.selectize-control:hover {*/
  796.     /*    border-bottom: 1px solid rgba(12, 12, 12, 0.12);*/
  797.     /*    height: auto;*/
  798.     /*    max-height: unset !important;*/
  799.     /*    min-height: 0px !important;*/
  800.     /*}*/
  801.     @media (min-width: 769px) {
  802.         #relevantForm .desc_cont {
  803.             padding-top: 5.5px;
  804.         }
  805.     }
  806.     .generic_document_list_table .dropdown-menu {
  807.         min-width: 0;
  808.     }
  809.     .generic_document_list_table .dropdown-menu > li > a {
  810.         padding: 1px 20px;
  811.     }
  812.     .generic_document_list_table .name_icon {
  813.         background-size: cover;
  814.         width: 30px;
  815.         height: 30px;
  816.         border-radius: 50%;
  817.     }
  818.     .generic_document_list_table .text_hover_icon {
  819.         width: 20px;
  820.         height: 20px;
  821.         border-radius: 50%;
  822.         padding: 0 !important;
  823.     }
  824.     .text_hover_icon .fa {
  825.         font-size: 9px;
  826.     }
  827.     .generic_document_list_table .dropdown-menu {
  828.         min-width: 0;
  829.     }
  830.     .generic_document_list_table .btn-sm:not(.text_hover_icon), .generic_document_list_table .btn-group-sm > .btn:not(.text_hover_icon) {
  831.         padding: 0 1rem;
  832.     }
  833.     .btn-sm, .btn-group-sm > .btn.text_hover_icon {
  834.         /*padding: 0 1rem;*/
  835.     }
  836.     /*.generic_document_list_table.table-condensed > tbody > tr > th,*/
  837.     /*.generic_document_list_table.table-condensed > tfoot > tr > th,*/
  838.     /*.generic_document_list_table.table-condensed > thead > tr > td,*/
  839.     /*.generic_document_list_table.table-condensed > tbody > tr > td,*/
  840.     /*.generic_document_list_table.table-condensed > tfoot > tr > td {*/
  841.     /*    padding: 0 1rem;;*/
  842.     /*}*/
  843.     table-condensed > tbody > tr > th,
  844.     .table-condensed > tfoot > tr > th,
  845.     .table-condensed > thead > tr > td,
  846.     .table-condensed > tbody > tr > td,
  847.     .table-condensed > tfoot > tr > td {
  848.         padding: 0 1rem;;
  849.     }
  850.     .generic_document_list_table.table-condensed > thead > tr > th {
  851.         padding: 1rem 1rem;;
  852.     }
  853.     .dataTable#ajax_data_table .form-control,
  854.     .generic_document_list_table.dataTable .form-control {
  855.         padding: 0 1rem;
  856.         height: auto;
  857.         border: 1px solid rgba(12, 12, 12, 0.2);
  858.         border-radius: 6px !important;
  859.     }
  860.     .dataTable#ajax_data_table .fa-edit,
  861.     .generic_document_list_table.dataTable {
  862.         font-size: 12px !important;
  863.         /* color: darkgreen; */
  864.     }
  865.     .card {
  866.         border-radius: 2rem;
  867.         margin-bottom: 1rem;
  868.     }
  869.     .nav-tabs li:not(.no-popover) h4 {
  870.         display: none;
  871.     }
  872.     .popover-content {
  873.         text-align: center;
  874.     }
  875.     .card .body:last-child {
  876.         /* border-radius: 0 0 2px 2px; */
  877.         border-radius: 0 0 2rem 2rem;
  878.     }
  879.     .card .body.no-padding:last-child {
  880.         overflow: hidden;
  881.     }
  882.     .alert.alert-callout {
  883.         border-radius: 2rem;
  884.     }
  885.     .alert.alert-callout:before {
  886.         top: 1rem;
  887.         bottom: 1rem;
  888.     }
  889.     section {
  890.         padding: 1rem;
  891.     }
  892.     section-body:first-child {
  893.         margin-top: 1rem;
  894.     }
  895.     .section-body:first-child {
  896.         margin-top: 1rem;
  897.     }
  898.     .offcanvas_special {
  899.         position: fixed;
  900.         top: 0;
  901.         bottom: 0;
  902.         left: -50vw;
  903.         z-index: 1032;
  904.     }
  905.     .header-nav .dropdown-toggle {
  906.         border-radius: 999px;
  907.         padding: 0.25rem 1rem;
  908.     }
  909.     body {
  910.         /*font-family: "Roboto", sans-serif, Helvetica, Arial, sans-serif;*/
  911.         font-size: 12px;
  912.     }
  913.     .form_ongoing_submit {
  914.         position: absolute;
  915.         width: 100%;
  916.         height: 100%;
  917.         z-index: 999999999;
  918.         background: url({{ url('dashboard') }}images/loader/spinner.gif?version={{ constant('ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION') }});
  919.         margin: auto;
  920.         background-size: initial;
  921.         background-position: center !important;
  922.         background-repeat: no-repeat;
  923.         background-color: #cff1ef5c;
  924.     }
  925.     .approve_button_common {
  926.         background: #0aa89e;
  927.         border-radius: 6px;
  928.         border: 2px solid #c7cbcb;
  929.     }
  930.     .generalCurrencyMultiplyRateTr:not(.present)
  931.     {
  932.         display: none;
  933.     }
  934. </style>
  935. {# selectize special ends #}
  936. {% include  '@Application/inc/ajax_route_library.html.twig' %}
  937. <input type="hidden" id="timeStampOnHeaderLoad" value="{{ 'now'|date('U') }}">