Project

General

Profile

Anomalie #618

Type de contribution non sélectionné

Added by Johan Cwiklinski over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Category:
IHM
Target version:
-
Start date:
06/07/2013
Due date:
% Done:

0%

Estimated time:
Version utilisée:
Vote:

Description

Lors de la seconde étape de l'ajout d'une nouvelle contribution, le type de contribution n'est pas sélectionne

Associated revisions

Revision a04f5f6b (diff)
Added by Johan Cwiklinski over 6 years ago

Contribution type was not correctly selected on second step; fixes #618

History

#1

Updated by Johan Cwiklinski over 6 years ago

  • Subject changed from Type de contribution non sélectionne to Type de contribution non sélectionné
#2

Updated by Johan Cwiklinski over 6 years ago

  • Status changed from Nouveau to In Progress

Le correctif :

diff --git a/galette/templates/default/ajouter_contribution.tpl b/galette/templates/default/ajouter_contribution.tpl
index a09db8c..85758a1 100644
--- a/galette/templates/default/ajouter_contribution.tpl
+++ b/galette/templates/default/ajouter_contribution.tpl
@@ -55,7 +55,7 @@
                     <label for="id_type_cotis" class="bline">{_T string="Contribution type:"}</label>
                     <select name="id_type_cotis" id="id_type_cotis" 
                         {if $type_selected eq 0}onchange="form.submit()"{/if}{if $required.id_type_cotis eq 1} required{/if}>
-                        {if isset($contribution->type)}
+                        {if $contribution->type}
                             {assign var="selectedid" value=$contribution->type->id}
                         {else}
                             {assign var="selectedid" value=null}

#3

Updated by Johan Cwiklinski over 6 years ago

  • Status changed from In Progress to Fermé

Also available in: Atom PDF