u
This commit is contained in:
@@ -226,7 +226,9 @@ class ManifestFormLine extends PureComponent {
|
||||
|
||||
let val = line[id];
|
||||
if (val == null || val === '') {
|
||||
if (id === 'tax' || id === 'taxrate') {
|
||||
if (id === 'name' && this.state.cachedArticle?.name) {
|
||||
val = this.state.cachedArticle.name;
|
||||
} else if (id === 'tax' || id === 'taxrate') {
|
||||
val = line.taxrate ?? line.tax ?? '';
|
||||
} else if (id === 'net' || id === 'netprice') {
|
||||
val = line.netprice ?? line.net ?? '';
|
||||
|
||||
Reference in New Issue
Block a user