mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
visual consolidation
This commit is contained in:
parent
e6f6a936e0
commit
44c10c45cd
@ -10,6 +10,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<table class='table table-striped'>
|
<table class='table table-striped'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>{% trans "Title" %}</td>
|
<td>{% trans "Title" %}</td>
|
||||||
|
@ -43,6 +43,7 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
<col width='25'>
|
||||||
{% if company.website %}
|
{% if company.website %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-link'></span></td>
|
<td><span class='fas fa-link'></span></td>
|
||||||
|
@ -9,14 +9,18 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<table class='table table-striped'>
|
<table class='table table-striped'>
|
||||||
<tr>
|
<col width='25'>
|
||||||
<td>{% trans "Customer" %}</td>
|
<col>
|
||||||
<td>{% include 'yesnolabel.html' with value=company.is_customer %}</td>
|
<tr>
|
||||||
</tr>
|
<td><span class='fas fa-user-tag'></span></td>
|
||||||
<tr>
|
<td>{% trans "Customer" %}</td>
|
||||||
<td>{% trans "Supplier" %}</td>
|
<td>{% include 'yesnolabel.html' with value=company.is_customer %}</td>
|
||||||
<td>{% include 'yesnolabel.html' with value=company.is_supplier %}</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
|
<td><span class='fas fa-industry'></span></td>
|
||||||
|
<td>{% trans "Supplier" %}</td>
|
||||||
|
<td>{% include 'yesnolabel.html' with value=company.is_supplier %}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -60,6 +60,7 @@ InvenTree | {{ order }}
|
|||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<h4>{% trans "Purchase Order Details" %}</h4>
|
<h4>{% trans "Purchase Order Details" %}</h4>
|
||||||
<table class='table'>
|
<table class='table'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-industry'></span></td>
|
<td><span class='fas fa-industry'></span></td>
|
||||||
<td>{% trans "Supplier" %}</td>
|
<td>{% trans "Supplier" %}</td>
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
{% if category %}
|
{% if category %}
|
||||||
<h3>{% trans "Category Details" %}</h3>
|
<h3>{% trans "Category Details" %}</h3>
|
||||||
<table class='table table-condensed table-striped'>
|
<table class='table table-condensed table-striped'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-sitemap'></span></td>
|
<td><span class='fas fa-sitemap'></span></td>
|
||||||
<td>{% trans "Category Path" %}</td>
|
<td>{% trans "Category Path" %}</td>
|
||||||
@ -71,6 +72,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<h3>{% trans "Category Details" %}</h3>
|
<h3>{% trans "Category Details" %}</h3>
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-sitemap'></span></td>
|
<td><span class='fas fa-sitemap'></span></td>
|
||||||
<td>{% trans "Part Categories" %}</td>
|
<td>{% trans "Part Categories" %}</td>
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<table class='table table-striped'>
|
<table class='table table-striped'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td><b>{% trans "Part name" %}</b></td>
|
<td><b>{% trans "Part name" %}</b></td>
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
<table class='table table-condensed'>
|
<table class='table table-condensed'>
|
||||||
|
<col width='25'>
|
||||||
{% if part.IPN %}
|
{% if part.IPN %}
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-shapes'></span></td>
|
<td><span class='fas fa-shapes'></span></td>
|
||||||
<td>Part</td>
|
<td>Part</td>
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
{% if location %}
|
{% if location %}
|
||||||
<h3>{% trans "Location Details" %}</h3>
|
<h3>{% trans "Location Details" %}</h3>
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-sitemap'></span></td>
|
<td><span class='fas fa-sitemap'></span></td>
|
||||||
<td>{% trans "Location Path" %}</td>
|
<td>{% trans "Location Path" %}</td>
|
||||||
@ -60,6 +61,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<h3>{% trans "Stock Details" %}</h3>
|
<h3>{% trans "Stock Details" %}</h3>
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
|
<col width='25'>
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-map-marker-alt'></span></td>
|
<td><span class='fas fa-map-marker-alt'></span></td>
|
||||||
<td>{% trans "Stock Locations" %}</td>
|
<td>{% trans "Stock Locations" %}</td>
|
||||||
|
@ -24,10 +24,16 @@ InvenTree | Index
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
|
|
||||||
|
console.log("abcde?");
|
||||||
|
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
$("#to-build-table").bootstrapTable();
|
//TODO: These calls to bootstrapTable() are failing, for some reason?
|
||||||
$("#to-order-table").bootstrapTable();
|
//$("#to-build-table").bootstrapTable();
|
||||||
$("#starred-parts-table").bootstrapTable();
|
//$("#to-order-table").bootstrapTable();
|
||||||
|
//$("#starred-parts-table").bootstrapTable();
|
||||||
|
|
||||||
|
console.log("Got to here...");
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -1,11 +1,11 @@
|
|||||||
<table class='table table-striped table-condensed' id='{{ table_id }}'>
|
<table class='table table-striped table-condensed' id='{{ table_id }}'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Part</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>Part</th>
|
||||||
<th>Description</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>Description</th>
|
||||||
<th>In Stock</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>In Stock</th>
|
||||||
<th>On Order</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>On Order</th>
|
||||||
<th>Allocted</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>Allocted</th>
|
||||||
<th>Net Stock</th>
|
<th data-field='part' data-sortable='true' data-searchable='true'>Net Stock</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for part in parts %}
|
{% for part in parts %}
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user