<commit_before><?php use_helper('Float'); ?>
<fieldset id="history_sv12">
    <legend>Déclaration SV12 en cours de Saisie</legend>
        <table class="table_recap">
        <thead>
        <tr>
            <th>Campagne - Version </th>
            <th>Volume total raisins</th>
            <th>Volume total mouts</th>
            <th>Total</th>
            <th></th>
        </tr>
        </thead>
        <tbody>
            <?php foreach ($list as $item): ?> 
            <tr>
                <td><?php echo sprintf("%s-%s", $item->periode, ($item->version) ? $item->version : 'M00'); ?></td>
                <td>
                    <?php echoFloat($item->totaux->volume_raisins) ?>
                </td>
                <td>
                    <?php echoFloat($item->totaux->volume_mouts) ?>
                </td>
                <td>
                    <?php echoFloat($item->totaux->volume_raisins + $item->totaux->volume_mouts) ?>
                </td>
                <td>
                    <?php if(in_array($item->valide->statut, array(SV12Client::STATUT_VALIDE, SV12Client::STATUT_VALIDE_PARTIEL))): ?>
                        <a href="<?php echo url_for(array('sf_route' => 'sv12_visualisation', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>">Visualiser</a>
                    <?php else: ?>
                        <a href="<?php echo url_for(array('sf_route' => 'sv12_update', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>">Continuer</a>
                    <?php endif; ?> 
                </td>
            </tr>
            <?php endforeach; ?>   
        </tbody>
        </table>
</fieldset><commit_msg>mise en forme de la liste<commit_after><?php use_helper('Float'); ?>
<fieldset id="history_sv12">
    <legend>Déclaration SV12 en cours de Saisie</legend>
        <table class="table_recap">
        <thead>
        <tr>
            <th>Campagne</th>
            <th>Etat</th>
            <th>Volume total raisins</th>
            <th>Volume total mouts</th>
            <th>Total</th>
            <th></th>
        </tr>
        </thead>
        <tbody>
            <?php foreach ($list as $item): ?> 
            <tr>
                <td>
                    <?php if(in_array($item->valide->statut, array(SV12Client::STATUT_VALIDE, SV12Client::STATUT_VALIDE_PARTIEL))): ?>
                        <a href="<?php echo url_for(array('sf_route' => 'sv12_visualisation', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>"><?php echo sprintf("%s(-%s)", $item->periode, ($item->version) ? $item->version : 'M00'); ?></a>
                    <?php else: ?>
                        <a href="<?php echo url_for(array('sf_route' => 'sv12_update', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>"><?php echo sprintf("%s(-%s)", $item->periode, ($item->version) ? $item->version : 'M00'); ?></a>
                    <?php endif; ?> 
                </td>
                <td>
                    <?php if($item->valide->statut == SV12Client::STATUT_VALIDE): ?>
                        <p><span class="statut_valide">Validé</span></p>
                    <?php elseif($item->valide->statut == SV12Client::STATUT_VALIDE_PARTIEL): ?>
                        <p><span class="statut_valide">Validé&nbsp;partiellement</span></p>
                    <?php else: ?>
                        <p><span class="statut_suspendu">Brouillon</span></p>
                    <?php endif; ?>
                </td>
                <td>
                    <?php echoFloat($item->totaux->volume_raisins) ?>
                </td>
                <td>
                    <?php echoFloat($item->totaux->volume_mouts) ?>
                </td>
                <td>
                    <?php echoFloat($item->totaux->volume_raisins + $item->totaux->volume_mouts) ?>
                </td>
                <td>
                    <?php if(in_array($item->valide->statut, array(SV12Client::STATUT_VALIDE, SV12Client::STATUT_VALIDE_PARTIEL))): ?>
                        <a class="btn_majeur btn_noir" href="<?php echo url_for(array('sf_route' => 'sv12_visualisation', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>">Visualiser</a>
                    <?php else: ?>
                        <a class="btn_majeur btn_vert" href="<?php echo url_for(array('sf_route' => 'sv12_update', 'identifiant' => $item->identifiant, 'periode_version' => SV12Client::getInstance()->buildPeriodeAndVersion($item->periode, $item->version))) ?>">Continuer</a>
                    <?php endif; ?>
                </td>
            </tr>
            <?php endforeach; ?>   
        </tbody>
        </table>
</fieldset>
{'fraction_non_alphanumeric': 0.1771777690185258, 'fraction_numerical': 0.01064249113125739, 'mean_word_length': 1.9505813953488371, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 210, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4635039', 'n_tokens_mistral': 1604, 'n_tokens_neox': 1532, 'n_words': 249}