<div class="custom-container">
<footer id="app-footer">
<div class="row pt-md-5 pt-lg-5 mb-2" id="footerAccordion">
{{ sonata_block_render_event('sylius.shop.layout.before_footer') }}
<div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
<div class="card-header" id="headingAboutUs">
<h4 class="text-primary mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#aboutUs" aria-expanded="true" aria-controls="collapseOne">
<strong>{{ 'app.ui.about_us'|trans|upper }}</strong>
<i class="ic-arrow-down"></i>
</button>
</h4>
</div>
<div id="aboutUs" class="collapse" aria-labelledby="headingAboutUs" data-parent="#footerAccordion">
<div class="card-body">
<div class="d-flex flex-column">
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Despre-noi'})}}">{{ 'app.ui.about_us'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'servicii-firme'})}}">{{ 'app.ui.company_services'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Rovinieta-online'})}}">{{ 'app.ui.rovignette_online'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Vignete-europa'})}}">{{ 'app.ui.vignette_europe'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'publicitate'})}}">{{ 'app.ui.ads'|trans }}</a>
{% if isTicketing is defined and isTicketing == "true"%}
{% else %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'locatii-scala-pay'})}}">{{ 'app.ui.scala_pay_locations'|trans }}</a>
{% endif %}
<br>
{% if isTicketing is defined and isTicketing == "true"%}
<p class="text-muted">{{'app.ui.scala_assistance_ticketing'|trans}} {{'app.ui.srl'|trans}}</p>
<p class="text-muted" >R.C: {{trade_register_number_ticketing}},<br> C.U.I: {{cif_ticketing}}</p>
{% else %}
<p class="text-muted">{{'app.ui.scala_assistance'|trans}} {{'app.ui.srl'|trans}}</p>
<p class="text-muted" >R.C: {{trade_register_number}},<br> C.U.I: {{cif}}</p>
{% endif %}
</div>
</div>
</div>
</div>
<div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
<div class="card-header" id="headingLegislation">
<h4 class="text-primary mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#legislation" aria-expanded="false" aria-controls="collapseTwo">
<strong>{{ 'app.ui.legislation'|trans|upper }}</strong>
<i class="ic-arrow-down"></i>
</button>
</h4>
</div>
<div id="legislation" class="collapse" aria-labelledby="headingLegislation" data-parent="#footerAccordion">
<div class="card-body">
<div class="d-flex flex-column">
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'descarca-rovinieta'})}}">{{ 'app.ui.download_vignette'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii'})}}">{{ 'app.ui.terms_and_conditions'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'securitate'})}}">{{ 'app.ui.security'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'protectia-datelor'})}}">{{ 'app.ui.gdpr'|trans }}</a>
<a class="text-muted" href="https://www.anpc.gov.ro/">{{ 'app.ui.consumer_protection'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'certificare-iso'})}}">{{ 'app.ui.iso_9001'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-cookies'})}}">{{ 'app.ui.cookie'|trans }}</a>
{% if isTicketing is defined and isTicketing == "true"%}
{% else %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii-procedura-de-solutionare-a-petitiilor'})}}">{{ 'app.ui.baar_rca'|trans }}</a>
{% endif %}
<div class="mt-2 d-flex align-items-center justify-content-lg-between flex-nowrap">
<a class="mr-2" href="https://anpc.ro/ce-este-sal/" title="sal" target="_blank">
<img class="img-fluid legal-instance-btn" src="{{ asset('assets/shop/images/icons/sal-pictograma.png') }}"/>
</a>
<a href="https://ec.europa.eu/consumers/odr/main/index.cfm?event=main.home2.show&lng=RO" title="sol" target="_blank">
<img class="img-fluid legal-instance-btn" src="{{ asset('assets/shop/images/icons/sol-pictograma.png') }}"/>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="card col-lg-3 col-md-4 col-sm-12 col-12 mb-1 mb-md-0 pl-0 pr-0">
<div class="card-header" id="headingUsefulInfo">
<h4 class="text-primary mb-0">
<button class="btn btn-link" data-toggle="collapse" data-target="#usefulInfo" aria-expanded="false" aria-controls="collapseThree">
<strong>{{ 'app.ui.useful_info'|trans }}</strong>
<i class="ic-arrow-down"></i>
</button>
</h4>
</div>
<div id="usefulInfo" class="collapse" aria-labelledby="headingUsefulInfo" data-parent="#footerAccordion">
<div class="card-body">
<div class="d-flex flex-column">
{% if app.request.locale|slice(0, 2) == 'ro'%}<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show_faq')}}">{{ 'app.ui.faq'|trans }}</a> {% endif %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'rovinieta-pret'})}}">{{ 'app.ui.how_much_vignette'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Legislatie'})}}">{{ 'app.ui.legislation'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'Alerte-de-expirare'})}}">{{ 'app.ui.vignette_alert'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'webmaster'})}}">{{ 'app.ui.webmaster'|trans }}</a>
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'cariera'})}}">{{ 'app.ui.carrier'|trans }}</a>
{% if isTicketing is defined and isTicketing == "true"%}
{% else %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'clienti-rau-platnici'})}}">{{ 'app.ui.client_black_list'|trans }}</a>
{% endif %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'informari-si-articole'})}}">{{ 'app.ui.informations_and_articles'|trans }}</a>
{% if isTicketing is defined and isTicketing == "true"%}
{% else %}
<a class="text-muted" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'arhiva-comunicate-de-presa'})}}">{{ 'app.ui.press_releases_archive'|trans }}</a>
{% endif %}
<p class="text-white">{{ 'app.ui.exchange_rate'|trans }}: 1 EURO - {{ exchange_rate.exchangeRateRonEur }} LEI</p>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-12 col-sm-12 col-12 mt-md-3 d-none d-md-block">
<form id="formSubscribeToNewsletter" method="post" action="{{ path('app_shop_subscribe_to_newsletter') }}">
<div id="mc_embed_signup_scroll">
<div class="row">
<div class="col-12">
<h4 class="font-weight-bolder text-white mb-2">
{{'app.ui.news'|trans}}
</h4>
<h6 class="mb-2 text-white">
{{'app.ui.newsletter_subscribe'|trans|raw}}
</h6>
</div>
</div>
<div class="mc-field-group row mb-5 mt-2">
<div class="col-12">
<input type="email" style="background-color: #E2E2E2;" value="" name="email" class="required email form-control my-3 w-100" placeholder="{{ 'app.ui.email_address'|trans }}">
</div>
</div>
<div class="row">
<div class="col-12 ml-2">
<input type="submit" value="{{'app.ui.subscribe_wish'|trans}}" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary w-100" style="margin-left: -5px; margin-top: -10px; border:none;">
</div>
</div>
</div>
</form>
</div>
{{ sonata_block_render_event('sylius.shop.layout.after_footer') }}
<hr class="d-none d-md-block" style="width: 100%; background-color: gray; height: 2px"/>
</div>
<div id="secondFooterRow" class="row">
<div class="col-12 col-lg-5 mb-2 d-flex align-items-center justify-content-center justify-content-lg-start">
{% if isTicketing is defined and isTicketing == "true"%}
<span class="text-muted small">
© Copyright {{ "now"|date("Y") }} {{'app.ui.scala_assistance_ticketing'|trans}} {{'app.ui.srl'|trans}}. {{ 'app.ui.reserved_rights'|trans }}
</span>
{% else %}
<span class="text-muted small">
© Copyright {{ "now"|date("Y") }} {{'app.ui.scala_assistance'|trans}}. {{ 'app.ui.reserved_rights'|trans }}
</span>
{% endif %}
</div>
<div class="col-12 col-lg-4 mb-2 align-items-center justify-content-center justify-content-lg-start d-none d-md-flex">
<a class="text-muted small mr-2" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'termeni-si-conditii'})}}">{{ 'app.ui.terms_of_use'|trans }}</a>
<a class="text-muted small mr-2" href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-confidentialitate'})}}">{{ 'app.ui.privacy_policy'|trans }}</a>
<a class="text-muted small" href="{{ path('app_contact') }}">{{ 'app.ui.contact'|trans }}</a>
</div>
{% if isTicketing is defined and isTicketing == "true"%}
{% else %}
<div class="col-12 col-lg-3 mb-2 d-flex align-items-center justify-content-center justify-content-lg-start">
<div>
<a href="https://www.facebook.com/Roviniete.ro/" title="facebook" target="_blank">
<i class="ic-facebook-round-grey mr-2"></i>
</a>
</div>
<div>
<a href="https://www.linkedin.com/company/scala-assistance" title="linkedin" target="_blank">
<i class="ic-linkedin-round-grey mr-2"></i>
</a>
</div>
<div>
<a href="https://twitter.com/#!/rovinieta" title="twitter" target="_blank">
<i class="ic-twitter-round-grey"></i>
</a>
</div>
</div>
{% endif %}
</div>
<div class="row mb-2 align-items-center text-center d-flex">
<div class="col-6 mobile-footer-btn d-none">
<button class="btn btn-footer-white w-100">
<a href="{{path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'politica-cookies'})}}">Cookies</a>
</button>
</div>
<div class="col-6 mobile-footer-btn d-none">
<button class="btn btn-footer-white w-100" id="btnDesktopVersion">
{{'app.ui.desktop_version'|trans}}
</button>
</div>
<div class="col-12 desktop-footer-btn d-none d-">
<button class="btn btn-footer-white w-100 text-muted" id="btnMobileVersion">
{{'app.ui.mobile_version'|trans}}
</button>
</div>
</div>
</footer>
</div>
<script src="/bundles/fosjsrouting/js/router.js"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
<script>
$(window).resize(function (){
if(window.innerWidth > 768) {
$('#footerAccordion').collapse({'toggle': true});
$('#footerAccordion .btn-link').removeClass('collapsed').attr('disabled', true);
} else {
$('#footerAccordion').collapse({'toggle': true});
$('#footerAccordion .btn-link').addClass('collapsed').attr('disabled', false);
}
});
$(document).ready(function () {
let appVersion = sessionStorage.getItem('appVersion');
if(appVersion) {
if(window.innerWidth < 768) {
if (appVersion === 'desktop') {
$('meta[name=viewport]').attr('content','width=1024px')
$('.desktop-footer-btn').removeClass('d-none').show();
$('.mobile-footer-btn').addClass('d-none').hide();
} else if (appVersion === 'mobile') {
$('meta[name=viewport]').attr('content', 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no');
$('.mobile-footer-btn').removeClass('d-none').show();
$('.desktop-footer-btn').addClass('d-none').hide();
}
}
} else {
if(window.innerWidth < 768) {
sessionStorage.setItem('appVersion', 'mobile');
$('.mobile-footer-btn').removeClass('d-none').show();
$('.desktop-footer-btn').addClass('d-none').hide();
}
}
if(window.innerWidth > 768) {
$('#footerAccordion').collapse({'toggle': true});
$('#footerAccordion .btn-link').removeClass('collapsed').attr('disabled', true);
} else {
$('#footerAccordion').collapse({'toggle': true});
$('#footerAccordion .btn-link').addClass('collapsed').attr('disabled', false);
}
});
$(document).on('click', '#btnDesktopVersion', function () {
let url = Routing.generate('app_shop_switch_desktop');
$.ajax({
url: url,
type: 'GET',
dataType: 'json',
async: true,
success: function(data) {
// $('meta[name=viewport]').attr('content','width=1024px')
sessionStorage.setItem('appVersion', 'desktop');
location.reload();
},
error : function() {
}
});
});
$(document).on('click', '#btnMobileVersion', function () {
let url = Routing.generate('app_shop_switch_desktop');
$.ajax({
url: url,
type: 'GET',
dataType: 'json',
async: true,
success: function(data) {
// $('meta[name=viewport]').attr('content','width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no')
sessionStorage.setItem('appVersion', 'mobile');
location.reload();
},
error : function() {
}
});
});
</script>