redundant urls
This commit is contained in:
parent
c44e618042
commit
3338586605
3 changed files with 3 additions and 63 deletions
|
|
@ -1,10 +0,0 @@
|
||||||
const monthSelector = document.getElementById('month-selector');
|
|
||||||
const tableBody = document.getElementById('table-body');
|
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", (event) => {
|
|
||||||
displayMonthLineItems(monthSelector.value);
|
|
||||||
monthSelector.addEventListener('change', (e) => {
|
|
||||||
displayMonthLineItems(e.target.value);
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
@ -14,9 +14,6 @@
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="{{url_for('line_items_by_month')}}">Line Items By Month</a>
|
<a class="nav-link" href="{{url_for('line_items_by_month')}}">Line Items By Month</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item active">
|
|
||||||
<a class="nav-link" href="{{url_for('monthly_budget_summary')}}">Monthly Budget Summary</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{url_for('vendors')}}">Vendors</a>
|
<a class="nav-link" href="{{url_for('vendors')}}">Vendors</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -24,9 +21,9 @@
|
||||||
<a class="nav-link" href="{{url_for('budget_categories')}}">Budget Categories</a>
|
<a class="nav-link" href="{{url_for('budget_categories')}}">Budget Categories</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#">Contact</a>
|
<a class="nav-link" href="{{url_for('budget_monthly_analysis')}}">Budget Monthly Analysis</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item dropdown">
|
<!-- <li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
More
|
More
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -36,7 +33,7 @@
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a class="dropdown-item" href="#">Something else here</a>
|
<a class="dropdown-item" href="#">Something else here</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li> -->
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
|
|
@ -1,47 +0,0 @@
|
||||||
{% extends 'base.html' %}
|
|
||||||
{% block title %}Monthly Budget Summary{% endblock title %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<main>
|
|
||||||
<div class="container mt-5">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-header bg-primary text-white">
|
|
||||||
Monthly Budget Summary
|
|
||||||
<br/>
|
|
||||||
<label for="month-selector">Choose a month:</label>
|
|
||||||
|
|
||||||
<select name="month-selector" id="month-selector">
|
|
||||||
{% for month in all_months %}
|
|
||||||
<option value="{{month}}">{{month}}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-bordered">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col">ID</th>
|
|
||||||
<th scope="col">Parent LineItem ID</th>
|
|
||||||
<th scope="col">Amount</th>
|
|
||||||
<th scope="col">Currency Type</th>
|
|
||||||
<th scope="col">Vendor</th>
|
|
||||||
<th scope="col">Date</th>
|
|
||||||
<th scope="col">Confirmation Code</th>
|
|
||||||
<th scope="col">Note</th>
|
|
||||||
<th scope="col">Reassign Vendor</th>
|
|
||||||
<th scope="col">Split Line?</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody id="table-body">
|
|
||||||
<tr><td>Loading...</td></tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<script src="{{url_for('.static', filename='monthly_budget_summary.js')}}"></script>
|
|
||||||
|
|
||||||
{% endblock content %}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue