<commit_before><?php
use_helper('Vrac');
?>
<div style="margin: 10px;">
<p><form>
<input name="identifiant" value="<?php echo (isset($identifiant)) ? $identifiant : '' ; ?>"/> <input type="submit" value="recherche"/>
</form></p>
</div>
<style>
.odd {background-color: #BBBBBB;}
td{padding: 0px 10px;}
</style>
<table>    
    <thead>
        <tr class="odd">
            <th>Statut</th>
            <th>N° Contrat</th>
            <th>Acheteur</th>
            <th>Vendeur</th>
            <th>Mandataire</th>
            <th>Type</th>
            <th>Produit</th>
            <th>Vol. com.</th>
            <th>Vol. enlv.</th>
        </tr>
    </thead>
    <tbody>
        <?php $cpt = 1;
foreach ($vracs->rows as $value) {    $cpt *= -1;
            $elt = $value->getRawValue()->value;
        ?>
        <tr<?php if($cpt > 0) echo ' class="odd"'; ?>>
            <td>
                
                <?php 
                      $statusImg = statusImg($elt[0]);
                      if($elt[0])
                      { ?>
                        <img alt="<?php echo $statusImg->alt; ?>"
                            src="<?php echo $statusImg->src; ?>" />
                <?php } ?>
            </td>
	      <td><?php $vracid = preg_replace('/VRAC-/', '', $elt[1]); echo link_to($vracid, '@vrac_termine?numero_contrat='.$vracid); ?></td>
	      <td><?php echo ($elt[2]) ? link_to($elt[3], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[2])) : ''; ?></td>
	      <td><?php echo ($elt[4]) ? link_to($elt[5], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[4])) : ''; ?></td>
	      <td><?php echo ($elt[6]) ? link_to($elt[7], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[6])) : ''; ?></td>
              <td><?php echo ($elt[8])? typeProduit($elt[8]) : ''; ?></td>
	      <td><?php echo ($elt[9])? ConfigurationClient::getCurrent()->get($elt[9])->libelleProduit() : ''; ?></td><commit_msg>changement de l'affichage des soussigné dans les contratVrac (1 seul case de tableau)<commit_after><?php
use_helper('Vrac');
?>
<div style="margin: 10px;">
<p><form>
<input name="identifiant" value="<?php echo (isset($identifiant)) ? $identifiant : '' ; ?>"/> <input type="submit" value="recherche"/>
</form></p>
</div>
<style>
.odd {background-color: #BBBBBB;}
td{padding: 0px 10px;}
</style>
<table>    
    <thead>
        <tr class="odd">
            <th>Statut</th>
            <th>N° Contrat</th>
            <th>Soussignés</th>            
            <th>Type</th>
            <th>Produit</th>
            <th>Vol. com.</th>
            <th>Vol. enlv.</th>
        </tr>
    </thead>
    <tbody>
        <?php $cpt = 1;
foreach ($vracs->rows as $value) {    $cpt *= -1;
            $elt = $value->getRawValue()->value;
        ?>
        <tr<?php if($cpt > 0) echo ' class="odd"'; ?>>
            <td>
                
                <?php 
                      $statusImg = statusImg($elt[0]);
                      if($elt[0])
                      { ?>
                        <img alt="<?php echo $statusImg->alt; ?>"
                            src="<?php echo $statusImg->src; ?>" />
                <?php } ?>
            </td>
	      <td><?php $vracid = preg_replace('/VRAC-/', '', $elt[1]); echo link_to($vracid, '@vrac_termine?numero_contrat='.$vracid); ?></td>
              <td>
                     <ul>  
                    <li>
                      <?php echo ($elt[2]) ? link_to($elt[3], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[2])) : ''; ?>
                    </li>
                    <li>
                      <?php echo ($elt[4]) ? link_to($elt[5], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[4])) : ''; ?>
                    </li>
                    <li>
                      <?php echo ($elt[6]) ? link_to($elt[7], 'vrac/rechercheSoussigne?identifiant='.preg_replace('/ETABLISSEMENT-/', '', $elt[6])) : ''; ?>
                    </li>
                  </ul>
              </td>
              <td><?php echo ($elt[8])? typeProduit($elt[8]) : ''; ?></td>
	      <td><?php echo ($elt[9])? ConfigurationClient::getCurrent()->get($elt[9])->libelleProduit() : ''; ?></td>
{'fraction_non_alphanumeric': 0.2235459004905396, 'fraction_numerical': 0.011445923849567857, 'mean_word_length': 1.8489687292082502, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4812211', 'n_tokens_mistral': 1506, 'n_tokens_neox': 1478, 'n_words': 242}