mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Replace some cog icons
This commit is contained in:
parent
5ab3c386bb
commit
d5119e1aff
@ -26,12 +26,12 @@ InvenTree | Company - {{ company.name }}
|
||||
<p>{{ company.description }}</p>
|
||||
<div class='btn-group'>
|
||||
{% if company.is_supplier %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='company-order' title='Create purchase order'>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='company-order-2' title='Create purchase order'>
|
||||
<span class='glyphicon glyphicon-shopping-cart'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='company-edit' title='Edit company information'>
|
||||
<span class='glyphicon glyphicon-cog'/>
|
||||
<span class='glyphicon glyphicon-edit'/>
|
||||
</button>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='company-delete' title='Delete company'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
@ -98,6 +98,17 @@ InvenTree | Company - {{ company.name }}
|
||||
});
|
||||
});
|
||||
|
||||
$("#company-order-2").click(function() {
|
||||
launchModalForm("{% url 'purchase-order-create' %}",
|
||||
{
|
||||
data: {
|
||||
supplier: {{ company.id }},
|
||||
},
|
||||
follow: true,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$('#company-delete').click(function() {
|
||||
launchModalForm(
|
||||
"{% url 'company-delete' company.id %}",
|
||||
|
@ -22,7 +22,7 @@
|
||||
</button>
|
||||
{% if category %}
|
||||
<button class='btn btn-default btn-glyph' id='cat-edit' title='Edit part category'>
|
||||
<span class='glyphicon glyphicon-cog'/>
|
||||
<span class='glyphicon glyphicon-edit'/>
|
||||
</button>
|
||||
<button class='btn btn-default btn-glyph' id='cat-delete' title='Delete part category'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
|
@ -27,7 +27,7 @@
|
||||
</button>
|
||||
{% endif %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='stock-edit' title='Edit stock item'>
|
||||
<span class='glyphicon glyphicon-cog'/>
|
||||
<span class='glyphicon glyphicon-edit'/>
|
||||
</button>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='stock-delete' title='Edit stock item'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<span class='glyphicon glyphicon-ok-circle'/>
|
||||
</button>
|
||||
<button class='btn btn-default btn-glyph' id='location-edit' title='Edit stock location'>
|
||||
<span class='glyphicon glyphicon-cog'/>
|
||||
<span class='glyphicon glyphicon-edit'/>
|
||||
</button>
|
||||
<button class='btn btn-default btn-glyph' id='location-delete' title='Delete stock location'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
|
Loading…
Reference in New Issue
Block a user