Commit 9960deea by Damien Moulard

change twig tav env check

parent 4aaf9a64
......@@ -28,9 +28,6 @@ class MlcGlobalsExtension extends AbstractExtension implements GlobalsInterface
if (!isset($arrayGlobals['KOH_MAP_ZOOM'])) {
$arrayGlobals['KOH_MAP_ZOOM'] = '6';
}
if (!isset($arrayGlobals['KOH_TAV'])) {
$arrayGlobals['KOH_TAV'] = $_ENV["TAV_ENV"];
}
// $solidoumeParam = $this->em->getRepository(SolidoumeParameter::class)->findTheOne();
// if (!empty($solidoumeParam)) {
......
{% set esoldelabel = 'Solde e-mlc'|trans %}
{% include '@kohinos/block/solde.html.twig' with {'compte': getCurrentPrestataire().emlcAccount.balance, 'soldelabel': esoldelabel, 'currency' : 'e'~(KOH_MLC_SYMBOL|default(''))} %}
{% if KOH_TAV == 1 %}
{% if tav_env == 1 %}
{% include '@kohinos/tav/block/encaisser_paiement.html.twig' %}
{% endif %}
{% if getCurrentPrestataire().mlc == false %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment