Inventory-Management-System/templates/inventory/inventory.html
2023-11-19 03:13:09 +07:00

89 lines
3.3 KiB
HTML

{% extends "base.html" %}
{% block content %}
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
{% include "nav.html" %}
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Main Content -->
<div id="content">
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800">Warehouse Tables</h1>
<p class="mb-4">Warehouse Table</p>
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">Warehouse</h6>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Name</th>
<th>Address</th>
<th>Stock Level</th>
<th>Number of Inventory</th>
<th>Have Freezer</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Name</th>
<th>Address</th>
<th>Stock Level</th>
<th>Number of Inventory</th>
<th>Have Freezer</th>
</tr>
</tfoot>
<tbody>
{% for warehouse in warehouse_list %}
<tr>
<td>{{ warehouse.name }}</td>
<td>{{ warehouse.address }}</td>
<td>{{ warehouse.stock_percentage|floatformat:3 }}</td>
<td>{{ warehouse.inventory_count }}</td>
<td>{{ warehouse.have_freeze }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
{% include "footer.html" %}
</body>
{% endblock content %}