<!DOCTYPE html>
<html lang="de" dir="ltr" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.75, user-scalable=no">

    <title>Lieferanten Details</title>
    <script th:src="@{/js/filterTable.js}"></script>
    <link rel="stylesheet" th:href="@{/css/ecom.css}"/>
</head>

<body>
<nav th:replace="fragments/header :: header">Header</nav>
<div class="sidebar-layout content-width">
    <nav></nav>
    <div>
        <h1>Lierfant Cheap AG</h1>

        <script th:src="@{/js/back.js}"></script>
        <div class="back" data-group="intern" data-insert="true"></div>
    </div>
</div>
<main class="sidebar-layout content-width">
    <nav th:replace="fragments/intern :: sidebar"></nav>
    <div class="content-width">
        <h2>Bestellungen</h2>
        <p>
        <table id="main-table">
            <tr>
                <th colspan="9">
                    <input type="text" placeholder="Filtern" class="smaller jsFilterTable full-width"
                           data-target-id="main-table"></input>
                </th>
            </tr>
            <tr>
                <th>Bestellnummer</th>
                <th>Datum</th>
                <th>Artikel</th>
                <th>Preis/Stk (Netto)</th>
                <th>Menge</th>
                <th>Gesamtpreis (Netto)</th>
                <th>Status</th>
            </tr>
            <tr>
                <td>4545</td>
                <td>2019-18-10</td>
                <td><a th:href="@{/intern/listedArticles/45015}">Kamera</a></td>
                <td>20,00&nbsp;EUR</td>
                <td>10</td>
                <td>200,00&nbsp;EUR</td>
                <td>Unterwegs <br/><a th:href="@{/intern/warehouse/todo}" class="button smaller">Angekommen</a></td>
            </tr>
        </table>
        </p>
        <h2>Buchungen</h2>
        <div>
            <h4> Kontostand </h4>
            <h3> -100,00&nbsp;EUR </h3>
        </div>
        <p>
        <table id="main-table">
            <tr>
                <th>Zeitpunkt</th>
                <th>Betrag</th>
                <th>Von</th>
                <th>Kontostand</th>
                <th>Grund</th>
                <th>Referenz</th>
            </tr>
            <tr>
                <td>10.09.2019 13:45</td>
                <td>100,00&nbsp;EUR</td>
                <td><a th:href="@{/intern/accounting/main}">Hauptkonto</a></td>
                <td>-100,00&nbsp;EUR</td>
                <td>Lieferanten-Bestellung</td>
                <td><a th:href="@{/intern/supplierOrders/#q=4520}">2504</a></td>
            </tr>
        </table>
        </p>
    </div>
</main>
<footer th:replace="fragments/footer :: footer"></footer>
</body>

</html>
