123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <div class="content-add01">
- <div class="heading01"><h1>Ajout d'une adhésion</h1></div>
- </div>
- <form action="<?php //echo url_for('@katao_member_adhesion_create?userid='.$userid) ?>" method="post">
- <?php echo $form->renderGlobalErrors() ?>
- <?php echo $form['katao_user_id'] ?>
- <?php echo $form['katao_user_id']->renderError() ?>
- <table>
- <tfoot>
- <tr>
- <td colspan="2">
- <br /><input type="submit" value="Ajouter" /> ou <a href="<?php echo url_for('@katao_member_show?id='.$memberid) ?>">annuler</a>
- </td>
- </tr>
- </tfoot>
- <thead>
- </thead>
- <tbody>
- <?php echo $form->renderGlobalErrors() ?>
- <tr>
- <th align="left"><?php echo $form['year']->renderLabel() ?></th>
- <td><?php echo $form['year'] ?>
- <?php echo $form['year']->renderError() ?>
- </td>
- </tr>
- <tr>
- <th align="left"><?php echo $form['amount']->renderLabel() ?></th>
- <td><?php echo $form['amount'] ?>
- <?php echo $form['amount']->renderError() ?>
- </td>
- </tr>
- <tr valign="top">
- <td colspan="2" align="left"><br /><u><?php echo $form['type']->renderLabel() ?></u></td>
- </tr>
- <tr>
- <td><?php echo $form['type'] ?>
- <?php echo $form['type']->renderError() ?>
- </td>
- </tr>
- <tr valign="top">
- <td colspan="2" align="left"><br /><u><?php echo $form['payment_kind']->renderLabel() ?></u></td>
- </tr>
- <tr>
- <td><?php echo $form['payment_kind'] ?>
- <?php echo $form['payment_kind']->renderError() ?>
- </td>
- </tr>
- <tr id="cheque_numero_tr">
- <th><?php echo $form['check_no']->renderLabel() ?></th>
- <td>
- <?php echo $form['check_no'] ?>
- <?php echo $form['check_no']->renderError() ?>
- </td>
- </tr>
- </tbody>
- </table>
- </form>
- <script language="Javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
- <script language="Javascript">
- $().ready(function(){
- if($('input[name="form_subscription[payment_kind]"]').val() == '2'){
- $('#cheque_numero_tr').show();
- } else {
- $('#cheque_numero_tr').hide();
- }
- });
- $('input[name="form_subscription[payment_kind]"]').change( function () {
- if( $(this).val() == '2'){
- $('#cheque_numero_tr').show();
- } else {
- $('#cheque_numero_tr').hide();
- }
- });
- </script>
|