Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
9960deea
Commit
9960deea
authored
2 years ago
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change twig tav env check
parent
4aaf9a64
1 merge request
!8
3574 payment from presta screen
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
+1
-4
MlcGlobalsExtension.php
src/Twig/MlcGlobalsExtension.php
+0
-3
admin_prestataire.html.twig
templates/themes/kohinos/block/admin_prestataire.html.twig
+1
-1
No files found.
src/Twig/MlcGlobalsExtension.php
View file @
9960deea
...
...
@@ -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)) {
...
...
This diff is collapsed.
Click to expand it.
templates/themes/kohinos/block/admin_prestataire.html.twig
View file @
9960deea
{%
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
%}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment