Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="display table table-bordered table-striped" id="dynamic-table">
- <thead>
- <tr>
- <th>Artikelnummer</th>
- <th>Name</th>
- <th>mwst</th>
- <th>Anzahl</th>
- <th>Rabatt</th>
- </tr>
- </thead>
- <tbody>
- <?php foreach($this->articles as $key => $article) { ?>
- <tr class="gradeX">
- <td><?= htmlentities($article->id); ?></td>
- <td><?= htmlentities($article->name); ?></td>
- <td><?= htmlentities($article->mwst); ?></td>
- <td><input type="number" name="<?= htmlentities($article->id); ?>_quantity" value="">Stück</td>
- <td><input type="number" name="<?= htmlentities($article->id); ?>_discount" value="">%</td>
- </tr>
- <?php } ?>
- </tbody>
- <tfoot>
- <tr>
- <th>Artikel Nummer</th>
- <th>Name</th>
- <th>mwst</th>
- <th>Anzahl</th>
- <th>Rabatt</th>
- </tr>
- </tfoot>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement