<commit_before>    <?php $url_post = (isset($massive) && $massive)? url_for('facture_generation') : ""; ?>

<form method="post" action="<?php echo $url_post; ?>" role="generationForm" class="form-horizontal">
        <?php echo $generationForm->renderHiddenFields(); ?>
        <?php echo $generationForm->renderGlobalErrors(); ?>
        <div class="form-group <?php if ($generationForm["modele"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["modele"]->renderError() ?>
            <?php echo $generationForm["modele"]->renderLabel("Type de facture", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-7">
                <?php echo $generationForm["modele"]->render(); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["date_facturation"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["date_facturation"]->renderError(); ?>
            <?php echo $generationForm["date_facturation"]->renderLabel("Date de facturation", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4 date-picker">
                    <?php echo $generationForm["date_facturation"]->render(array("class" => "form-control", "placeholder" => "Date de facturation")); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["date_mouvement"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["date_mouvement"]->renderError(); ?>
            <?php echo $generationForm["date_mouvement"]->renderLabel("Prise en compte des mouvements jusqu'au", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4 date-picker">
                    <?php echo $generationForm["date_mouvement"]->render(array("class" => "form-control", "placeholder" => "Prise en compte des mouvements jusqu'au")); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["message_communication"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["message_communication"]->renderError(); ?>
            <?php echo $generationForm["message_communication"]->renderLabel("Seuil minimum", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4">
                <div class="input-group">
                    <?php echo $generationForm["seuil"]->render(); ?>
                    <span class="input-group-addon">€</span>
                </div>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["message_communication"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["message_communication"]->renderError(); ?>
            <?php echo $generationForm["message_communication"]->renderLabel("Cadre de communication", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-5">

                    <?php echo $generationForm["message_communication"]->render(array("class" => "form-control")); ?>

            </div>
        </div>
        <div class="form-group">
            <?php if(isset($massive) && !$massive): ?>
            <div class="col-xs-6">
                <a href="<?php echo url_for("facture_etablissement",array('identifiant' => $identifiant.'01')); ?>" class="btn btn-default">Retour à la facturation</a>

            </div>
            <div class="col-xs-6 text-right">
                <button class="btn btn-success" type="submit" >Générer les factures</button><commit_msg>precision du ht pour le seuil ds le formulaire de generation de facture<commit_after>    <?php $url_post = (isset($massive) && $massive)? url_for('facture_generation') : ""; ?>

<form method="post" action="<?php echo $url_post; ?>" role="generationForm" class="form-horizontal">
        <?php echo $generationForm->renderHiddenFields(); ?>
        <?php echo $generationForm->renderGlobalErrors(); ?>
        <div class="form-group <?php if ($generationForm["modele"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["modele"]->renderError() ?>
            <?php echo $generationForm["modele"]->renderLabel("Type de facture", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-7">
                <?php echo $generationForm["modele"]->render(); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["date_facturation"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["date_facturation"]->renderError(); ?>
            <?php echo $generationForm["date_facturation"]->renderLabel("Date de facturation", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4 date-picker">
                    <?php echo $generationForm["date_facturation"]->render(array("class" => "form-control", "placeholder" => "Date de facturation")); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["date_mouvement"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["date_mouvement"]->renderError(); ?>
            <?php echo $generationForm["date_mouvement"]->renderLabel("Prise en compte des mouvements jusqu'au", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4 date-picker">
                    <?php echo $generationForm["date_mouvement"]->render(array("class" => "form-control", "placeholder" => "Prise en compte des mouvements jusqu'au")); ?>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["message_communication"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["message_communication"]->renderError(); ?>
            <?php echo $generationForm["message_communication"]->renderLabel("Seuil minimum", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-4">
                <div class="input-group">
                    <?php echo $generationForm["seuil"]->render(); ?>
                    <span class="input-group-addon"><strong>€ HT</strong></span>
                </div>
            </div>
        </div>
        <div class="form-group <?php if ($generationForm["message_communication"]->hasError()): ?>has-error<?php endif; ?>">
            <?php echo $generationForm["message_communication"]->renderError(); ?>
            <?php echo $generationForm["message_communication"]->renderLabel("Cadre de communication", array("class" => "col-xs-4 control-label")); ?>
            <div class="col-xs-5">

                    <?php echo $generationForm["message_communication"]->render(array("class" => "form-control")); ?>

            </div>
        </div>
        <div class="form-group">
            <?php if(isset($massive) && !$massive): ?>
            <div class="col-xs-6">
                <a href="<?php echo url_for("facture_etablissement",array('identifiant' => $identifiant.'01')); ?>" class="btn btn-default">Retour à la facturation</a>

            </div>
            <div class="col-xs-6 text-right">
                <button class="btn btn-success" type="submit" >Générer les factures</button>
{'fraction_non_alphanumeric': 0.19361525704809288, 'fraction_numerical': 0.003869541182974019, 'mean_word_length': 2.9654794520547947, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 199, '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': '682925', 'n_tokens_mistral': 2112, 'n_tokens_neox': 2026, 'n_words': 402}