diff --git a/templates/facture_modifier.tpl b/templates/facture_modifier.tpl index 34ef178..195753d 100644 --- a/templates/facture_modifier.tpl +++ b/templates/facture_modifier.tpl @@ -58,24 +58,26 @@ Client
-
+
{if !empty($clients)}
- {input type="radio" name="base_receveur" value="membre" source=$doc label="Un·e membre"} - {input type="radio" name="base_receveur" value="client" source=$doc label="Un·e client·e"} + {input type="radio" name="base_receveur" value="membre" label="Un·e membre" default=1 source=$doc} + {input type="radio" name="base_receveur" value="client" label="Un·e client·e" source=$doc}
- {/if} -
- {input type="select" name="membre" label="Membre" options=$membres required=1 source=$doc} -
- - {if !empty($clients)} -
- {input type="select" name="client" label="Client" options=$clients required=1 source=$doc class="type_client"} -
- {/if}
+ +
+ {input type="select" name="membre" label="Membre" options=$membres required=1 source=$doc} +
+ + {if !empty($clients)} +
+ {input type="select" name="client" label="Client" options=$clients required=1 class="type_client" source=$doc} +
+ {else} + + {/if}