Commit 0427bd11 authored by Johnny Leveneur's avatar Johnny Leveneur
Browse files

modifications affichages des listes d'inscription des évènements

parent fdef2523
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
@@ -64,9 +64,9 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
    <table class="table table-condensed datatable" id="inscriptions">
        <thead>
        <tr>
            <th data-type="string"> Participant·e Date de demande</th>
            <!--        <th style="width:13rem;"> Date de demande</th>-->
            <!--        <th style="width:6rem;"> Type</th>-->
            <th data-type="string"> Participant·e</th>
            <th style="width:13rem;"> Date de demande</th>
            <th style="width:6rem;"> Type</th>
            <th style="width:6rem;"> Liste</th>
            <th style="width:13rem;"> État</th>
            <th class="action"> Action</th>
@@ -80,10 +80,10 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
                <tr id="<?php echo $inscription->getId(); ?>"
                    class="<?php if ($inscription->estHistorise()) echo "historise"; ?>">
                    <td data-order="<?php echo $participant->getDenomination(false); ?>">
                        <?php echo $participant->getDenomination() ?> <?php echo $inscription->getHistoCreation()->format('d/m/Y'); ?> </td>
                    <!--                <td> -->
                    <?php //echo $inscription->getHistoCreation()->format('d/m/Y'); ?><!--</td>-->
                    <!--                <td> --><?php //echo $participant->getTypeParticipant(); ?><!--</td>-->
                        <?php echo $participant->getDenomination() ?>
                    </td>
                    <td> <?php echo $inscription->getHistoCreation()->format('d/m/Y'); ?></td>
                    <td> <?php echo $participant->getTypeParticipant(); ?></td>
                    <td> <?php echo $inscription->getListe() ?? "Aucune"; ?> </td>
                    <td> <?php echo $this->etatinstance($inscription->getEtatActif()); ?> </td>
                    <td class="action">
@@ -214,6 +214,7 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
            <thead>
            <tr>
                <th data-type="string"> Dénomination</th>
                <th style="width:13rem;"> Date de demande</th>
                <th style="width:6rem;"> Places</th>
                <th class="action"> Action</th>
            </tr>
@@ -225,6 +226,9 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
                    <td data-order="<?php echo $inscription->getParticipantDenomination(false); ?>">
                        <?php echo $inscription->getParticipantDenomination(); ?>
                    </td>
                    <td data-order="<?php echo $inscription->getHistoCreation()->format('Y/m/d H:i:s'); ?>">
                        <?php echo $inscription->getHistoCreation()->format('d/m/Y H:i:s'); ?>
                    </td>
                    <td> <?php echo $inscription->getNombrePlacesPointees() . ' / ' . $inscription->getNombrePlacesDemandees(); ?> </td>
                    <td class="action">
                        <?php if ($canModifierInscription) : ?>
@@ -327,7 +331,7 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
            autoWidth: false,
            columnDefs: [
                {
                    "targets": 3,
                    "targets": 5,
                    "orderable": false
                },
            ],
@@ -359,10 +363,11 @@ $canModifierInscription = $this->isAllowed(EvenementielinscriptionPrivileges::ge
            autoWidth: false,
            columnDefs: [
                {
                    "targets": 2,
                    "targets": 3,
                    "orderable": false
                },
            ],
            order: [[1, 'asc']],
            "language":
                {
                    "url":