<commit_before><?php foreach ($table_orders as $table_order): ?>
    <tr>
        <td><?php echo link_to($table_order->getId(), 'table_order_detail', $table_order) ?></td>
        <td><?php echo $table_order->getDiningTable() ?></td>
        <td><?php echo $table_order->getDateTimeObject('created_at')->format('H:i') ?></td>
        <td style="text-align: right;"><?php echo link_to(
                    '<i class="icon-'.($table_order->getIsClosed() ? 'edit' : 'lock').' icon-white"></i> '.($table_order->getIsClosed() ? 'Ouvrir' : 'Clôturer'), 
                    '/order/close/'.$table_order->getId().($all ? '/all' : '/0'), 
                    array('method' => 'get', 'class' => 'btn btn-'.($table_order->getIsClosed() ? 'primary' : 'warning')))?></td>
    </tr>
<?php endforeach; ?><commit_msg>Amélioration de la structure de génération du lien vers la clôture des commandes<commit_after><?php foreach ($table_orders as $table_order): ?>
    <tr>
        <td><?php echo link_to($table_order->getId(), 'table_order_detail', $table_order) ?></td>
        <td><?php echo $table_order->getDiningTable() ?></td>
        <td><?php echo $table_order->getDateTimeObject('created_at')->format('H:i') ?></td>
        <td style="text-align: right;"><?php echo link_to(
                    '<i class="icon-'.($table_order->getIsClosed() ? 'edit' : 'lock').' icon-white"></i> '.($table_order->getIsClosed() ? 'Ouvrir' : 'Clôturer'), 
                    '@table_order_close?id='.$table_order->getId().'&all='.($all ? 'all' : '0'), 
                    array('method' => 'get', 'class' => 'btn btn-'.($table_order->getIsClosed() ? 'primary' : 'warning')))?></td>
    </tr>
<?php endforeach; ?>
{'fraction_non_alphanumeric': 0.23281990521327015, 'fraction_numerical': 0.001184834123222749, 'mean_word_length': 3.387012987012987, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 59, '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': '1456981', 'n_tokens_mistral': 562, 'n_tokens_neox': 564, 'n_words': 104}