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
6
Merge Requests
6
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
d54d8555
Commit
d54d8555
authored
Aug 01, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add erro message for presta in reconversion block if has cotisation ended
parent
38a0b9eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
reconversion.html.twig
templates/themes/kohinos/presta/block/reconversion.html.twig
+4
-1
No files found.
templates/themes/kohinos/presta/block/reconversion.html.twig
View file @
d54d8555
{%
extends
'@kohinos/block/onetransaction.html.twig'
%}
{# DISABLE ALL TRANSACTIONS IF USER HAS NO COTISATION VALID #}
{
%
block
blocktoggle
%}{%
if
isCotisationValid
(
app.user
)
%}
collapse
{%
endif
%}{%
endblock
blocktoggle
%
}
{
#
{
% block blocktoggle %}
{
% if isCotisationValid(app.user) %}collapse
{
% endif %}
{
% endblock blocktoggle %} #
}
{%
block
blocktitle
%}
<i
class=
"fa fa-external-link fa-external-link-alt mr-4"
></i>
{{
'Reconversion'
|
trans
}}
...
...
@@ -22,5 +22,7 @@
{{
form_row
(
form.reference
)
}}
{%
endif
%}
{{
form_end
(
form
)
}}
{%
else
%}
<p
class=
'text-danger'
>
Votre cotisation dout être renouvelėe avant de pouvoir faire cette opération !
</p>
{%
endif
%}
{%
endblock
blockcontent
%}
\ No newline at end of file
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