Commit 3cdb5308 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : Liste des modifications de l'avenants (s'affiche de nouveau)

parent c4366605
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -16,18 +16,17 @@

      <div class="form-group">
        <label for="name" class="">Modifications : </label><br>
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
                  aria-expanded="false">
            Ajouter une modification <span class="caret"></span>
        <div class="dropdown">
          <button class="btn btn-default dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
            Ajouter une modification
          </button>
          <ul class="dropdown-menu">
            <li><a href="#" @click.prevent="handlerAddChange('personAdd')" :class="modificationsEnabled['personAdd'] ? '' : 'disabled'">Ajout d'une personne</a></li>
            <li><a href="#" @click.prevent="handlerAddChange('personDel')" :class="modificationsEnabled['personDel'] ? '' : 'disabled'">Suppression d'une personne</a></li>
            <li><a href="#" @click.prevent="handlerAddChange('organizationAdd')" :class="modificationsEnabled['organizationAdd'] ? '' : 'disabled'">Ajout d'une organisation</a></li>
            <li><a href="#" @click.prevent="handlerAddChange('organizationDel')" :class="modificationsEnabled['organizationDel'] ? '' : 'disabled'">Suppression d'une organisation</a></li>
            <li><a href="#" @click.prevent="handlerAddChange('changeAmount')" :class="modificationsEnabled['changeAmount'] ? '' : 'disabled'">Modification du montant</a></li>
            <li><a href="#" @click.prevent="handlerAddChange('dateEnd')" :class="modificationsEnabled['dateEnd'] ? '' : 'disabled'">Modification de la date de fin</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('personAdd')" :class="modificationsEnabled['personAdd'] ? '' : 'disabled'">Ajout d'une personne</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('personDel')" :class="modificationsEnabled['personDel'] ? '' : 'disabled'">Suppression d'une personne</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('organizationAdd')" :class="modificationsEnabled['organizationAdd'] ? '' : 'disabled'">Ajout d'une organisation</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('organizationDel')" :class="modificationsEnabled['organizationDel'] ? '' : 'disabled'">Suppression d'une organisation</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('changeAmount')" :class="modificationsEnabled['changeAmount'] ? '' : 'disabled'">Modification du montant</a></li>
            <li><a class="dropdown-item" href="#" @click.prevent="handlerAddChange('dateEnd')" :class="modificationsEnabled['dateEnd'] ? '' : 'disabled'">Modification de la date de fin</a></li>
          </ul>
        </div>
        <section class="modifications unsaved">