mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Adding icons for forms (#4381)
This commit is contained in:
parent
62455199f3
commit
a2b55314cb
@ -652,8 +652,12 @@ function initPriceBreakSet(table, options) {
|
||||
value: part_id,
|
||||
},
|
||||
quantity: {},
|
||||
price: {},
|
||||
price_currency: {},
|
||||
price: {
|
||||
icon: 'fa-dollar-sign',
|
||||
},
|
||||
price_currency: {
|
||||
icon: 'fa-coins',
|
||||
},
|
||||
},
|
||||
method: 'POST',
|
||||
title: '{% trans "Add Price Break" %}',
|
||||
@ -677,8 +681,12 @@ function initPriceBreakSet(table, options) {
|
||||
constructForm(`${pb_url}${pk}/`, {
|
||||
fields: {
|
||||
quantity: {},
|
||||
price: {},
|
||||
price_currency: {},
|
||||
price: {
|
||||
icon: 'fa-dollar-sign',
|
||||
},
|
||||
price_currency: {
|
||||
icon: 'fa-coins',
|
||||
},
|
||||
},
|
||||
title: '{% trans "Edit Price Break" %}',
|
||||
onSuccess: reloadPriceBreakTable,
|
||||
|
@ -311,7 +311,9 @@ function stockItemFields(options={}) {
|
||||
icon: 'fa-layer-group',
|
||||
},
|
||||
status: {},
|
||||
expiry_date: {},
|
||||
expiry_date: {
|
||||
icon: 'fa-calendar-alt',
|
||||
},
|
||||
purchase_price: {
|
||||
icon: 'fa-dollar-sign',
|
||||
},
|
||||
@ -324,7 +326,9 @@ function stockItemFields(options={}) {
|
||||
link: {
|
||||
icon: 'fa-link',
|
||||
},
|
||||
owner: {},
|
||||
owner: {
|
||||
icon: 'fa-user',
|
||||
},
|
||||
delete_on_deplete: {},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user