<commit_before><?php
/**
 * Created by PhpStorm.
 * User: marcokunz
 * Date: 03.11.17
 * Time: 14:15
 */

use view\View;
require_once("config/Autoloader.php");

?>
<div class="container">
    <div class="page-header">
        <h2 class="text-center"><strong>Rechnungen</strong>.</h2></div>
    <div class="table-responsive">
        <table class="table">
            <thead>
            <tr>
                <th>Datum</th>
                <th>Typ</th>
                <th>Betrag</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <?php

            global $rechnungen;
            foreach($rechnungen as $rechnungen): ?>

                <tr>
                    <td><?php echo $rechnungen["datum"] ?></td>
                    <td><?php echo $rechnungen["typ"] ?> </td>
                    <td><?php echo $rechnungen["betrag"] ?> </td>
                    <td>
                        <div class="btn-group btn-group-sm" role="group">
                            <a class="btn btn-default" role="button" href="rechnungen/edit?id=<?php echo $rechnungen["id"] ?>"> <i class="fa fa-edit"></i></a>
                            <button class="btn btn-default" type="button" data-target="#confirm-modal" data-toggle="modal" data-href="mieter/delete?id=<?php echo $rechnungen["id"] ?>"> <i class="glyphicon glyphicon-trash"></i></button>
                        </div>
                    </td>
                </tr>
            <?php endforeach; ?>


            </tbody>
        </table><commit_msg>update rechnungen<commit_after><?php
/**
 * Created by PhpStorm.
 * User: marcokunz
 * Date: 03.11.17
 * Time: 14:15
 */

use view\View;
require_once("config/Autoloader.php");

?>
<div class="container">
    <div class="page-header">
        <h2 class="text-center"><strong>Rechnungen</strong>.</h2></div>
    <div class="table-responsive">
        <table class="table">
            <thead>
            <tr>
                <th>Datum</th>
                <th>Typ</th>
                <th>Betrag</th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <?php

            global $rechnungen;
            foreach($rechnungen as $rechnungen): ?>

                <tr>
                    <td><?php echo $rechnungen->getDatum(); ?></td>
                    <td><?php echo $rechnungen->getTyp(); ?> </td>
                    <td><?php echo $rechnungen->getBetrag(); ?> </td>
                    <td>
                        <div class="btn-group btn-group-sm" role="group">
                            <a class="btn btn-default" role="button" href="rechnungen/edit?id=<?php echo $rechnungen["id"] ?>"> <i class="fa fa-edit"></i></a>
                            <button class="btn btn-default" type="button" data-target="#confirm-modal" data-toggle="modal" data-href="mieter/delete?id=<?php echo $rechnungen["id"] ?>"> <i class="glyphicon glyphicon-trash"></i></button>
                        </div>
                    </td>
                </tr>
            <?php endforeach; ?>


            </tbody>
        </table>
{'fraction_non_alphanumeric': 0.17815721649484537, 'fraction_numerical': 0.007731958762886598, 'mean_word_length': 1.551355792933443, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 110, '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': '4511884', 'n_tokens_mistral': 979, 'n_tokens_neox': 928, 'n_words': 170}