{% extends 'base.html.twig' %}
{% block title %}Home{% endblock %}
{% block body %}
<!-- Page Header-->
<header class="page-header">
<div class="container-fluid">
<h2 class="no-margin-bottom">overzicht</h2>
</div>
</header>
<!-- Info Section-->
<section class="feeds">
<div class="container-fluid">
<div class="row">
<!-- opkomende facturen -->
<div class="col-lg-4">
<div class="opkomende-facturen card">
<div class="card-header d-flex align-items-center">
<h2 class="h3">opkomende facturen</h2>
</div>
<div class="card-body no-padding">
<table class="table">
<thead>
<tr>
<th scope="col">klant</th>
<th scope="col">datum</th>
<th scope="col"> </th>
</tr>
</thead>
<tbody>
{% for upcomingInvoice in upcomingInvoices %}
<tr>
<td>{{ upcomingInvoice.customer }}</td>
<td>{{ upcomingInvoice.date|date("d/m/Y") }}</td>
<td><i class="fas fa-check-circle"></i></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<!-- inlog -->
<div class="col-lg-4">
<div class="inloggen card">
<div class="card-header d-flex align-items-center">
<h2 class="h3">handige inloggegevens</h2>
</div>
<div class="card-body no-padding">
<table class="table">
<thead>
<tr>
<th scope="col"> </th>
<th scope="col">gebruiker</th>
<th scope="col">wachtwoord</th>
<th scope="col"> </th>
</tr>
</thead>
<tbody>
{% for loginCredential in loginCredentials %}
<tr>
<td>{{ loginCredential.externalSite }}</td>
<td>{{ loginCredential.user }}</td>
<td>{{ loginCredential.password }}</td>
<td><i class="fas fa-external-link-alt"></i></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<!-- bouwputten -->
<div class="col-lg-4">
<div class="bouwputten card">
<div class="card-header d-flex align-items-center">
<h2 class="h3">bouwputten</h2>
</div>
<div class="card-body no-padding">
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">klant</th>
<th scope="col"> </th>
</tr>
</thead>
<tbody>
{% for buildingSite in buildingSites %}
<tr>
<td>{{ buildingSite.number}}</td>
<td>
<form class="form-inline">
<input type="text" class="form-control mb-2 mr-sm-2" id="inlineFormInputName2" placeholder="nog beschikbaar" value="{{ buildingSite.content }}">
</form>
</td>
<td><i class="fas fa-check-circle"></i></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}