2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add "description" field to extra line items (#4815)

This commit is contained in:
Oliver
2023-05-15 11:13:38 +10:00
committed by GitHub
parent caa7b84c3e
commit 3e0b57f10a
4 changed files with 42 additions and 0 deletions

View File

@ -31,6 +31,7 @@ function extraLineFields(options={}) {
},
quantity: {},
reference: {},
description: {},
price: {
icon: 'fa-dollar-sign',
},
@ -272,6 +273,12 @@ function loadExtraLineTable(options={}) {
title: '{% trans "Reference" %}',
switchable: false,
},
{
sortable: false,
switchable: true,
field: 'description',
title: '{% trans "Description" %}',
},
{
sortable: true,
switchable: false,