1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <div class="content-add01">
- <div class="heading01"><h1>Modification d'une adhésion</h1></div>
- </div>
- <form action="<?php echo url_for('@katao_member_adhesion_edit?id='.$id.'&userid='.$userid) ?>" method="post">
- <?php echo $form['katao_user_id'] ?>
- <?php echo $form['katao_user_id']->renderError() ?>
- <?php echo $form['id'] ?>
- <?php echo $form['id']->renderError() ?>
- <table>
- <tfoot>
- <tr>
- <td colspan="2">
- <br /><input type="submit" value="Sauvegarder" /> ou <a href="<?php echo url_for('@katao_member_show?id='.$memberid) ?>">annuler</a>
- </td>
- </tr>
- </tfoot>
- <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>
|